aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-13 14:32:51 -0400
committerNick Mathewson <nickm@torproject.org>2011-10-10 23:14:02 -0400
commitdcf69a9e12d013563575e50b7d6f547832f92f66 (patch)
treebec4a9f8a4cb793661af12cd481d4e2acb930c34 /src/common/crypto.h
parentbc2d9357f523d87385229087cb13253874f070f0 (diff)
downloadtor-dcf69a9e12d013563575e50b7d6f547832f92f66.tar
tor-dcf69a9e12d013563575e50b7d6f547832f92f66.tar.gz
New function to get all digests of a public key
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 9b4eee622..d50d9f906 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -150,6 +150,7 @@ int crypto_pk_private_hybrid_decrypt(crypto_pk_env_t *env, char *to,
int crypto_pk_asn1_encode(crypto_pk_env_t *pk, char *dest, size_t dest_len);
crypto_pk_env_t *crypto_pk_asn1_decode(const char *str, size_t len);
int crypto_pk_get_digest(crypto_pk_env_t *pk, char *digest_out);
+int crypto_pk_get_all_digests(crypto_pk_env_t *pk, digests_t *digests_out);
int crypto_pk_get_fingerprint(crypto_pk_env_t *pk, char *fp_out,int add_space);
int crypto_pk_check_fingerprint_syntax(const char *s);