Browse Source

Add a guideline

coverity_scan
Frank Denis 6 years ago
parent
commit
2916230061
  1. 4
      src/libsodium/include/sodium/crypto_core_ed25519.h

4
src/libsodium/include/sodium/crypto_core_ed25519.h

@ -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…
Cancel
Save