From 8fbbb988471298e19078ca526aab27d95cf0d597 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 5 Oct 2013 14:11:57 -0700 Subject: [PATCH] Be consistent, keep macros and related functions next to each other. --- .../sodium/crypto_scalarmult_curve25519.h.in | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h.in b/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h.in index 1266870d..cc30155d 100644 --- a/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h.in +++ b/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h.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