X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_pmeth.c;fp=gost_pmeth.c;h=2f3d7119b7b6e19c12a194021822ceed5039b691;hb=c62cbdc744945d029bad90eb43cde5449bc1fa48;hp=5c07200fb6b3866c7ec7eb6d789ec392f312735b;hpb=23f3265d293c91a80988dadcb4f7e36b60dbef0a;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)