mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
In prototypes, use pointers, not arrays for consistency
This commit is contained in:
parent
59bd82edab
commit
4cba5ff49b
@ -88,7 +88,7 @@ crypto_core_ed25519_scalar_invert(unsigned char *recip, const unsigned char *s)
|
|||||||
|
|
||||||
void
|
void
|
||||||
crypto_core_ed25519_scalar_reduce(unsigned char *r,
|
crypto_core_ed25519_scalar_reduce(unsigned char *r,
|
||||||
const unsigned char s[crypto_core_ed25519_NONREDUCEDSCALARBYTES])
|
const unsigned char *s)
|
||||||
{
|
{
|
||||||
unsigned char t[crypto_core_ed25519_NONREDUCEDSCALARBYTES];
|
unsigned char t[crypto_core_ed25519_NONREDUCEDSCALARBYTES];
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ void crypto_core_ed25519_scalar_random(unsigned char *r)
|
|||||||
__attribute__ ((nonnull));
|
__attribute__ ((nonnull));
|
||||||
|
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_core_ed25519_scalar_invert(unsigned char *recip, const unsigned char s[64])
|
int crypto_core_ed25519_scalar_invert(unsigned char *recip, const unsigned char *s)
|
||||||
__attribute__ ((nonnull));
|
__attribute__ ((nonnull));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -55,7 +55,7 @@ int crypto_core_ed25519_scalar_invert(unsigned char *recip, const unsigned char
|
|||||||
* uniformity of `r` over `L`.
|
* uniformity of `r` over `L`.
|
||||||
*/
|
*/
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
void crypto_core_ed25519_scalar_reduce(unsigned char *r, const unsigned char s[64])
|
void crypto_core_ed25519_scalar_reduce(unsigned char *r, const unsigned char *s)
|
||||||
__attribute__ ((nonnull));
|
__attribute__ ((nonnull));
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user