memzero az in crypto_signed_detached. via Stanford SCS.
This commit is contained in:
parent
2947ea863d
commit
d3403d1e01
@ -45,6 +45,7 @@ crypto_sign_detached(unsigned char *sig, unsigned long long *siglen,
|
||||
sc_reduce(hram);
|
||||
sc_muladd(sig + 32, hram, az, nonce);
|
||||
|
||||
sodium_memzero(az, sizeof az);
|
||||
sodium_memzero(nonce, sizeof nonce);
|
||||
|
||||
if (siglen != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user