From c62cbdc744945d029bad90eb43cde5449bc1fa48 Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Tue, 11 Sep 2018 15:49:59 +0300 Subject: [PATCH] Default size of imitovstavka adjusted --- gost_pmeth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5