Extend HMAC_MAX_MD_CBLOCK to accomodate SHA-512.
[openssl.git] / 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" {