diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-24 11:25:10 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-08 16:47:58 -0500 |
commit | af3af494083f041c3ce9f722e4989ecd4b4e6304 (patch) | |
tree | d9f96a3ec01f4919635c3b2d044cae4241ddb52b /src/or/routerkeys.h | |
parent | c83778686839c4596504ea392854e9e95884fcfa (diff) | |
download | tor-af3af494083f041c3ce9f722e4989ecd4b4e6304.tar.gz tor-af3af494083f041c3ce9f722e4989ecd4b4e6304.zip |
Add a function to check whether a given ed id key is ours
Diffstat (limited to 'src/or/routerkeys.h')
-rw-r--r-- | src/or/routerkeys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerkeys.h b/src/or/routerkeys.h index 307a1cd234..98894cdc0b 100644 --- a/src/or/routerkeys.h +++ b/src/or/routerkeys.h @@ -45,6 +45,8 @@ const struct tor_cert_st *get_current_auth_key_cert(void); void get_master_rsa_crosscert(const uint8_t **cert_out, size_t *size_out); +int router_ed25519_id_is_me(const ed25519_public_key_t *id); + struct tor_cert_st *make_ntor_onion_key_crosscert( const curve25519_keypair_t *onion_key, const ed25519_public_key_t *master_id_key, |