if using SHA-512 but not SHA-384, fix so that HMAC still works
This commit is contained in:
parent
786e4d9462
commit
bf69de7054
@ -58,6 +58,9 @@ enum {
|
||||
MD5 = 0,
|
||||
#endif
|
||||
#if defined(CYASSL_SHA512)
|
||||
#ifndef CYASSL_SHA384
|
||||
SHA384 = 5,
|
||||
#endif
|
||||
INNER_HASH_SIZE = SHA512_DIGEST_SIZE,
|
||||
HMAC_BLOCK_SIZE = SHA512_BLOCK_SIZE
|
||||
#elif defined(CYASSL_SHA384)
|
||||
|
Loading…
Reference in New Issue
Block a user