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