From dcf69a9e12d013563575e50b7d6f547832f92f66 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 13 Sep 2011 14:32:51 -0400 Subject: New function to get all digests of a public key --- src/common/crypto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/crypto.h') 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); -- cgit v1.2.3