[openssl] master update

Dr. Paul Dale pauli at openssl.org
Tue May 4 23:30:53 UTC 2021


The branch master has been updated
       via  029875dc5ba28f18e3067c883fb53c9ae91d6954 (commit)
      from  355e1f041cde9f1b5e362f834cf4538204f53586 (commit)


- Log -----------------------------------------------------------------
commit 029875dc5ba28f18e3067c883fb53c9ae91d6954
Author: Tomas Mraz <tomas at openssl.org>
Date:   Mon May 3 15:45:31 2021 +0200

    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 at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/15125)

-----------------------------------------------------------------------

Summary of changes:
 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 <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


More information about the openssl-commits mailing list