From 029875dc5ba28f18e3067c883fb53c9ae91d6954 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 3 May 2021 15:45:31 +0200 Subject: [PATCH] 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) --- include/openssl/hmac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openssl/hmac.h b/include/openssl/hmac.h index c5b4e670ac..c954b3767d 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