Add a guideline
This commit is contained in:
parent
b4617940f3
commit
2916230061
@ -46,6 +46,10 @@ SODIUM_EXPORT
|
||||
int crypto_core_ed25519_scalar_invert(unsigned char *recip, const unsigned char s[64])
|
||||
__attribute__ ((nonnull));
|
||||
|
||||
/*
|
||||
* The interval `s` is sampled from should be at least 317 bits to ensure almost
|
||||
* uniformity of `r` over `L`.
|
||||
*/
|
||||
SODIUM_EXPORT
|
||||
void crypto_core_ed25519_scalar_reduce(unsigned char *r, const unsigned char s[64])
|
||||
__attribute__ ((nonnull));
|
||||
|
Loading…
Reference in New Issue
Block a user