projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
355e1f0
)
Bump HMAC_MAX_MD_CBLOCK to 200 due to SHA-3
author
Tomas Mraz
<tomas@openssl.org>
Mon, 3 May 2021 13:45:31 +0000
(15:45 +0200)
committer
Pauli
<pauli@openssl.org>
Tue, 4 May 2021 23:30:29 +0000
(09:30 +1000)
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)
include/openssl/hmac.h
patch
|
blob
|
history
diff --git
a/include/openssl/hmac.h
b/include/openssl/hmac.h
index c5b4e670acaede8f7715b5947cff359cd738c1e9..c954b3767de85fb758436377aefd4ca0428d344d 100644
(file)
--- 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