summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-05-03 15:45:31 +0200
committerPauli <pauli@openssl.org>2021-05-05 09:30:29 +1000
commit029875dc5ba28f18e3067c883fb53c9ae91d6954 (patch)
treeac5d1c6188049383f09ae971fb85272b103fdd2a
parent355e1f041cde9f1b5e362f834cf4538204f53586 (diff)
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 <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15125)
-rw-r--r--include/openssl/hmac.h2
1 files changed, 1 insertions, 1 deletions
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 <openssl/evp.h>
# ifndef OPENSSL_NO_DEPRECATED_3_0
-# define HMAC_MAX_MD_CBLOCK 128 /* Deprecated */
+# define HMAC_MAX_MD_CBLOCK 200 /* Deprecated */
# endif
# ifdef __cplusplus