From: Tomas Mraz Date: Mon, 3 May 2021 13:45:31 +0000 (+0200) Subject: Bump HMAC_MAX_MD_CBLOCK to 200 due to SHA-3 X-Git-Tag: openssl-3.0.0-alpha16~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=029875dc5ba28f18e3067c883fb53c9ae91d6954;p=thirdparty%2Fopenssl.git Bump HMAC_MAX_MD_CBLOCK to 200 due to SHA-3 The maximum (theoretical) block size of SHA3 is 200 bytes. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15125) --- diff --git a/include/openssl/hmac.h b/include/openssl/hmac.h index c5b4e670aca..c954b3767de 100644 --- a/include/openssl/hmac.h +++ b/include/openssl/hmac.h @@ -21,7 +21,7 @@ # include # ifndef OPENSSL_NO_DEPRECATED_3_0 -# define HMAC_MAX_MD_CBLOCK 128 /* Deprecated */ +# define HMAC_MAX_MD_CBLOCK 200 /* Deprecated */ # endif # ifdef __cplusplus