diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-12-23 09:16:26 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-23 09:16:26 -0500 |
commit | b18f533cf06188607d444daa50974a6fc836f82d (patch) | |
tree | fe13799da98f1e1ad366c95718f8f05f381fe31b /src/common/crypto_ed25519.h | |
parent | 9a901aaa01eb3c362cc84836b54307b32f44295b (diff) | |
download | tor-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.h | 5 |
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 |