aboutsummaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/crypto_verify_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/ed25519/ref10/crypto_verify_32.h')
-rw-r--r--src/ext/ed25519/ref10/crypto_verify_32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ext/ed25519/ref10/crypto_verify_32.h b/src/ext/ed25519/ref10/crypto_verify_32.h
new file mode 100644
index 0000000000..0f63efc7a3
--- /dev/null
+++ b/src/ext/ed25519/ref10/crypto_verify_32.h
@@ -0,0 +1,5 @@
+/* Added for Tor. */
+#include "di_ops.h"
+#define crypto_verify_32(a,b) \
+ (! tor_memeq((a), (b), 32))
+