diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-05-03 15:45:31 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-05 09:30:29 +1000 |
commit | 029875dc5ba28f18e3067c883fb53c9ae91d6954 (patch) | |
tree | ac5d1c6188049383f09ae971fb85272b103fdd2a /include | |
parent | 355e1f041cde9f1b5e362f834cf4538204f53586 (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)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/hmac.h | 2 |
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 |