mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Be consistent, keep macros and related functions next to each other.
This commit is contained in:
@@ -11,13 +11,18 @@
|
||||
|
||||
#include "export.h"
|
||||
|
||||
#define crypto_scalarmult_curve25519_BYTES 32
|
||||
#define crypto_scalarmult_curve25519_SCALARBYTES 32
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define crypto_scalarmult_curve25519_BYTES 32
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_scalarmult_curve25519_bytes(void);
|
||||
|
||||
#define crypto_scalarmult_curve25519_SCALARBYTES 32
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_scalarmult_curve25519_scalarbytes(void);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_scalarmult_curve25519(unsigned char *,const unsigned char *,const unsigned char *);
|
||||
|
||||
@@ -32,12 +37,6 @@ int crypto_scalarmult_curve25519_base(unsigned char *,const unsigned char *);
|
||||
# define crypto_scalarmult_curve25519_ref_base crypto_scalarmult_curve25519_base
|
||||
#endif
|
||||
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_scalarmult_curve25519_bytes(void);
|
||||
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_scalarmult_curve25519_scalarbytes(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user