aboutsummaryrefslogtreecommitdiff
path: root/lib/ed25519/src/sc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ed25519/src/sc.c')
-rw-r--r--lib/ed25519/src/sc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ed25519/src/sc.c b/lib/ed25519/src/sc.c
index ca5bad2..a883907 100644
--- a/lib/ed25519/src/sc.c
+++ b/lib/ed25519/src/sc.c
@@ -1,6 +1,9 @@
#include "fixedint.h"
#include "sc.h"
+#ifndef ED25519_LOAD_BYTES
+#define ED25519_LOAD_BYTES
+
static uint64_t load_3(const unsigned char *in) {
uint64_t result;
@@ -22,6 +25,8 @@ static uint64_t load_4(const unsigned char *in) {
return result;
}
+#endif
+
/*
Input:
s[0]+256*s[1]+...+256^63*s[63] = s