X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_pmeth.c;h=2f3d7119b7b6e19c12a194021822ceed5039b691;hb=ee7efcec44edd11e64b5c4ad76e72e2a7acbdf9d;hp=5c07200fb6b3866c7ec7eb6d789ec392f312735b;hpb=8268551dc4c25ce114c14e776cc0795f0ef0ec2c;p=openssl-gost%2Fengine.git diff --git a/gost_pmeth.c b/gost_pmeth.c index 5c07200..2f3d711 100644 --- a/gost_pmeth.c +++ b/gost_pmeth.c @@ -521,12 +521,12 @@ static int pkey_gost_omac_init(EVP_PKEY_CTX *ctx, size_t mac_size) static int pkey_gost_magma_mac_init(EVP_PKEY_CTX *ctx) { - return pkey_gost_omac_init(ctx, 4); + return pkey_gost_omac_init(ctx, 8); } static int pkey_gost_grasshopper_mac_init(EVP_PKEY_CTX *ctx) { - return pkey_gost_omac_init(ctx, 8); + return pkey_gost_omac_init(ctx, 16); } static void pkey_gost_mac_cleanup(EVP_PKEY_CTX *ctx)