summaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/crypto_sign.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/ed25519/ref10/crypto_sign.h')
-rw-r--r--src/ext/ed25519/ref10/crypto_sign.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ext/ed25519/ref10/crypto_sign.h b/src/ext/ed25519/ref10/crypto_sign.h
new file mode 100644
index 0000000000..549626793a
--- /dev/null
+++ b/src/ext/ed25519/ref10/crypto_sign.h
@@ -0,0 +1,9 @@
+/* Added for Tor */
+#define crypto_sign ed25519_ref10_sign
+#define crypto_sign_keypair ed25519_ref10_keygen
+#define crypto_sign_seckey ed25519_ref10_seckey
+#define crypto_sign_seckey_expand ed25519_ref10_seckey_expand
+#define crypto_sign_pubkey ed25519_ref10_pubkey
+#define crypto_sign_open ed25519_ref10_open
+
+#include "ed25519_ref10.h"