Be consistent, keep macros and related functions next to each other.

This commit is contained in:
Frank Denis 2013-10-05 14:11:57 -07:00
parent 5e4e3c9ecf
commit 8fbbb98847

View File

@ -11,13 +11,18 @@
#include "export.h" #include "export.h"
#define crypto_scalarmult_curve25519_BYTES 32
#define crypto_scalarmult_curve25519_SCALARBYTES 32
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #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 SODIUM_EXPORT
int crypto_scalarmult_curve25519(unsigned char *,const unsigned char *,const unsigned char *); 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 # define crypto_scalarmult_curve25519_ref_base crypto_scalarmult_curve25519_base
#endif #endif
SODIUM_EXPORT
size_t crypto_scalarmult_curve25519_bytes(void);
SODIUM_EXPORT
size_t crypto_scalarmult_curve25519_scalarbytes(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif