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 251c95fadea8cfb04421404b130f12a9d397e11f..719fc408ace4afb2bba3090376d2d2f07a670f64 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" {