scalarmult: move the constants down

This commit is contained in:
Frank Denis
2015-11-04 16:46:39 +01:00
parent 2bf84bb98c
commit 26c7aa123e
@@ -1,18 +1,6 @@
#include "crypto_scalarmult.h"
size_t
crypto_scalarmult_bytes(void)
{
return crypto_scalarmult_BYTES;
}
size_t
crypto_scalarmult_scalarbytes(void)
{
return crypto_scalarmult_SCALARBYTES;
}
const char *
crypto_scalarmult_primitive(void)
{
@@ -32,3 +20,14 @@ crypto_scalarmult(unsigned char *q, const unsigned char *n,
return crypto_scalarmult_curve25519(q, n, p);
}
size_t
crypto_scalarmult_bytes(void)
{
return crypto_scalarmult_BYTES;
}
size_t
crypto_scalarmult_scalarbytes(void)
{
return crypto_scalarmult_SCALARBYTES;
}