summaryrefslogtreecommitdiff
path: root/src/feature/relay/router.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-29 15:05:05 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-29 15:05:05 -0400
commit94605f08fb89ea79409225362d2fa0f8a07435d7 (patch)
tree8905ef80ef6daec743eb1fd8f63c38e3ab98f3d5 /src/feature/relay/router.h
parent810152b20f6d773172e1f28ab72a1d4b2fda2d82 (diff)
parent6c0c08bbb506f47bf97bba82e4421592f71455d7 (diff)
downloadtor-94605f08fb89ea79409225362d2fa0f8a07435d7.tar.gz
tor-94605f08fb89ea79409225362d2fa0f8a07435d7.zip
Merge branch 'ticket27246_035_01_squashed'
Diffstat (limited to 'src/feature/relay/router.h')
-rw-r--r--src/feature/relay/router.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/relay/router.h b/src/feature/relay/router.h
index 51ac365798..cf0d27a456 100644
--- a/src/feature/relay/router.h
+++ b/src/feature/relay/router.h
@@ -45,6 +45,10 @@ void v3_authority_check_key_expiry(void);
int get_onion_key_lifetime(void);
int get_onion_key_grace_period(void);
+crypto_pk_t *router_get_rsa_onion_pkey(const char *pkey, size_t pkey_len);
+void router_set_rsa_onion_pkey(const crypto_pk_t *pk, char **onion_pkey_out,
+ size_t *onion_pkey_len);
+
di_digest256_map_t *construct_ntor_key_map(void);
void ntor_key_map_free_(di_digest256_map_t *map);
#define ntor_key_map_free(map) \