SHA512-HMAC bug fix and hash function self-test support
This commit is contained in:
+2
-1
@@ -76,7 +76,8 @@ struct hmac_ctx {
|
||||
const struct hash_desc *h; /* underlying hash function */
|
||||
size_t hmac_digest_size; /* copy of h->hash_digest_size */
|
||||
union hash_ctx hash_ctx; /* ctx for hash function */
|
||||
u_char buf1[HMAC_BUFSIZE], buf2[HMAC_BUFSIZE];
|
||||
u_char buf1[MAX_HASH_BLOCK_SIZE];
|
||||
u_char buf2[MAX_HASH_BLOCK_SIZE];
|
||||
};
|
||||
|
||||
extern void hmac_init(
|
||||
|
||||
Reference in New Issue
Block a user