From be94de0b86a7ac68bfe5949e113ad08fd444f374 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Sun, 23 Aug 2015 15:31:58 +0300 Subject: Added CBC mode for gost and contril command to set size of MAC (from 1 to 8 bytes) --- e_gost_err.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'e_gost_err.c') diff --git a/e_gost_err.c b/e_gost_err.c index c641c60..376d18b 100644 --- a/e_gost_err.c +++ b/e_gost_err.c @@ -139,6 +139,8 @@ static ERR_STRING_DATA GOST_str_reasons[] = { {ERR_REASON(GOST_R_INVALID_DIGEST_TYPE), "invalid digest type"}, {ERR_REASON(GOST_R_INVALID_IV_LENGTH), "invalid iv length"}, {ERR_REASON(GOST_R_INVALID_MAC_KEY_LENGTH), "invalid mac key length"}, + {ERR_REASON(GOST_R_INVALID_MAC_KEY_SIZE) ,"invalid mac key size"}, + {ERR_REASON(GOST_R_INVALID_MAC_SIZE) ,"invalid mac size"}, {ERR_REASON(GOST_R_INVALID_PARAMSET), "invalid paramset"}, {ERR_REASON(GOST_R_KEY_IS_NOT_INITALIZED), "key is not initalized"}, {ERR_REASON(GOST_R_KEY_IS_NOT_INITIALIZED), "key is not initialized"}, -- cgit v1.1