diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-11-24 00:22:31 +0100 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-11-24 22:13:44 +0100 |
commit | 8a726dd0dd28c4550a7f6f7d9aa5f72507d4716b (patch) | |
tree | aff61b52c21fb9bcd8faa1bd5242cbb09f060a13 /src/or/router.h | |
parent | 42bda231ee10db0136cf2ffb56a38ce290891794 (diff) | |
download | tor-8a726dd0dd28c4550a7f6f7d9aa5f72507d4716b.tar.gz tor-8a726dd0dd28c4550a7f6f7d9aa5f72507d4716b.zip |
Implement dynamic prime reading and storing to disk.
Diffstat (limited to 'src/or/router.h')
-rw-r--r-- | src/or/router.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/router.h b/src/or/router.h index f9d156cb09..41ff139936 100644 --- a/src/or/router.h +++ b/src/or/router.h @@ -28,6 +28,10 @@ void dup_onion_keys(crypto_pk_env_t **key, crypto_pk_env_t **last); void rotate_onion_key(void); crypto_pk_env_t *init_key_from_file(const char *fname, int generate, int severity); + +BIGNUM *router_get_stored_dynamic_prime(void); +int router_store_dynamic_prime(const BIGNUM *dynamic_prime); + void v3_authority_check_key_expiry(void); int init_keys(void); |