summaryrefslogtreecommitdiffstats
path: root/crypto/hmac
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-05-31 13:28:23 +0000
committerAndy Polyakov <appro@openssl.org>2004-05-31 13:28:23 +0000
commit057cfaf2f88756f7a6029a318a86f0bd44efc652 (patch)
tree5f6b6acef79709b1d10b1c721bbc24cafca7e1e7 /crypto/hmac
parent914d36ba19fa07c5264c3285497e5bb8e7c8255b (diff)
Extend HMAC_MAX_MD_CBLOCK to accomodate SHA-512.
Diffstat (limited to 'crypto/hmac')
-rw-r--r--crypto/hmac/hmac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h
index 251c95fade..719fc408ac 100644
--- a/crypto/hmac/hmac.h
+++ b/crypto/hmac/hmac.h
@@ -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" {