mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 10:37:24 -07:00
Update hmac_hmacsha512.c
This commit is contained in:
parent
d8e870cb43
commit
958323b8bc
@ -66,6 +66,7 @@ crypto_auth_hmacsha512_init(crypto_auth_hmacsha512_state *state,
|
|||||||
}
|
}
|
||||||
crypto_hash_sha512_update(&state->octx, pad, 128);
|
crypto_hash_sha512_update(&state->octx, pad, 128);
|
||||||
|
|
||||||
|
sodium_memzero((void *) pad, sizeof pad);
|
||||||
sodium_memzero((void *) khash, sizeof khash);
|
sodium_memzero((void *) khash, sizeof khash);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user