memzero az in crypto_signed_detached. via Stanford SCS.

This commit is contained in:
Frank Denis 2014-08-15 13:21:09 -07:00
parent 2947ea863d
commit d3403d1e01

View File

@ -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) {