summaryrefslogtreecommitdiff
path: root/src/ext/ed25519/donna/ed25519-randombytes-custom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/ed25519/donna/ed25519-randombytes-custom.h')
-rw-r--r--src/ext/ed25519/donna/ed25519-randombytes-custom.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ext/ed25519/donna/ed25519-randombytes-custom.h b/src/ext/ed25519/donna/ed25519-randombytes-custom.h
new file mode 100644
index 0000000000..9f5106340c
--- /dev/null
+++ b/src/ext/ed25519/donna/ed25519-randombytes-custom.h
@@ -0,0 +1,8 @@
+/*
+ a custom randombytes must implement:
+
+ void ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len);
+
+ ed25519_randombytes_unsafe is used by the batch verification function
+ to create random scalars
+*/