Comment
This commit is contained in:
parent
a53fbe4d48
commit
575babb389
@ -76,7 +76,7 @@ _crypto_sign_ed25519_detached(unsigned char *sig, unsigned long long *siglen_p,
|
|||||||
|
|
||||||
crypto_hash_sha512(az, sk, 32);
|
crypto_hash_sha512(az, sk, 32);
|
||||||
#ifdef ED25519_NONDETERMINISTIC
|
#ifdef ED25519_NONDETERMINISTIC
|
||||||
_crypto_sign_ed25519_synthetic_r_hv(&hs, nonce, az);
|
_crypto_sign_ed25519_synthetic_r_hv(&hs, nonce /* Z */, az);
|
||||||
#else
|
#else
|
||||||
crypto_hash_sha512_update(&hs, az + 32, 32);
|
crypto_hash_sha512_update(&hs, az + 32, 32);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user