aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto_ed25519.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-23 09:16:26 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-23 09:16:26 -0500
commitb18f533cf06188607d444daa50974a6fc836f82d (patch)
treefe13799da98f1e1ad366c95718f8f05f381fe31b /src/common/crypto_ed25519.h
parent9a901aaa01eb3c362cc84836b54307b32f44295b (diff)
downloadtor-b18f533cf06188607d444daa50974a6fc836f82d.tar.gz
tor-b18f533cf06188607d444daa50974a6fc836f82d.zip
Always test both ed25519 backends.
Part of #16794
Diffstat (limited to 'src/common/crypto_ed25519.h')
-rw-r--r--src/common/crypto_ed25519.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/crypto_ed25519.h b/src/common/crypto_ed25519.h
index bdac12eb27..4fa7ea11cf 100644
--- a/src/common/crypto_ed25519.h
+++ b/src/common/crypto_ed25519.h
@@ -111,5 +111,10 @@ int ed25519_pubkey_eq(const ed25519_public_key_t *key1,
void ed25519_set_impl_params(int use_donna);
void ed25519_init(void);
+#ifdef TOR_UNIT_TESTS
+void crypto_ed25519_testing_force_impl(const char *name);
+void crypto_ed25519_testing_restore_impl(void);
+#endif
+
#endif