diff --git a/src/libsodium/crypto_sign/ed25519/ref10/sign.c b/src/libsodium/crypto_sign/ed25519/ref10/sign.c index 6ea94fff..61354684 100644 --- a/src/libsodium/crypto_sign/ed25519/ref10/sign.c +++ b/src/libsodium/crypto_sign/ed25519/ref10/sign.c @@ -64,6 +64,7 @@ _crypto_sign_ed25519_detached(unsigned char *sig, unsigned long long *siglen_p, sc_muladd(sig + 32, hram, az, nonce); sodium_memzero(az, sizeof az); + sodium_memzero(nonce, sizeof nonce); if (siglen_p != NULL) { *siglen_p = 64U;