Extend HMAC_MAX_MD_CBLOCK to accomodate SHA-512.
authorAndy Polyakov <appro@openssl.org>
Mon, 31 May 2004 13:28:23 +0000 (13:28 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 31 May 2004 13:28:23 +0000 (13:28 +0000)
crypto/hmac/hmac.h

index 251c95f..719fc40 100644 (file)
@@ -66,7 +66,7 @@
 
 #include <openssl/evp.h>
 
-#define HMAC_MAX_MD_CBLOCK     64
+#define HMAC_MAX_MD_CBLOCK     128     /* largest known is SHA512 */
 
 #ifdef  __cplusplus
 extern "C" {