diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-06-03 11:36:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-06-03 11:36:21 -0400 |
commit | 12f9c91c06edf09d8acf40b08aece22b77258dbc (patch) | |
tree | af0ba8d5fe9ed5f420bf1d62ef4ef124725a4861 /src/common/crypto.h | |
parent | 50e4c98a5acb6d10203cc943a336abb7715414cf (diff) | |
parent | 7aa20b20bffcbc4c9b4e3eb1c874616e1cab119f (diff) | |
download | tor-12f9c91c06edf09d8acf40b08aece22b77258dbc.tar.gz tor-12f9c91c06edf09d8acf40b08aece22b77258dbc.zip |
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index f28087589e..9b4eee622b 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -119,6 +119,7 @@ int crypto_pk_write_private_key_to_filename(crypto_pk_env_t *env, int crypto_pk_check_key(crypto_pk_env_t *env); int crypto_pk_cmp_keys(crypto_pk_env_t *a, crypto_pk_env_t *b); size_t crypto_pk_keysize(crypto_pk_env_t *env); +int crypto_pk_num_bits(crypto_pk_env_t *env); crypto_pk_env_t *crypto_pk_dup_key(crypto_pk_env_t *orig); crypto_pk_env_t *crypto_pk_copy_full(crypto_pk_env_t *orig); int crypto_pk_key_is_private(const crypto_pk_env_t *key); |