From: Dmitry Belyavskiy Date: Tue, 11 Sep 2018 12:49:59 +0000 (+0300) Subject: Default size of imitovstavka adjusted X-Git-Tag: v3.0.0~345 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=c62cbdc744945d029bad90eb43cde5449bc1fa48;hp=23f3265d293c91a80988dadcb4f7e36b60dbef0a;p=openssl-gost%2Fengine.git Default size of imitovstavka adjusted --- 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)