aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2014-02-26 10:44:55 +0100
committerNick Mathewson <nickm@torproject.org>2014-02-28 08:53:13 -0500
commit3ca5fe81e33ab7848c848b683bffe12e743398f3 (patch)
treefe83b2027c4595bc64677f64f4b2fa54f5d0f3ff /src/common/crypto.h
parentbf1678603ffa66ed47c038faf309984839a98363 (diff)
downloadtor-3ca5fe81e33ab7848c848b683bffe12e743398f3.tar.gz
tor-3ca5fe81e33ab7848c848b683bffe12e743398f3.zip
Write hashed bridge fingerprint to logs and to disk.
Implements #10884.
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 3666d5f9a3..4f0f1c10c3 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -182,6 +182,7 @@ crypto_pk_t *crypto_pk_asn1_decode(const char *str, size_t len);
int crypto_pk_get_digest(crypto_pk_t *pk, char *digest_out);
int crypto_pk_get_all_digests(crypto_pk_t *pk, digests_t *digests_out);
int crypto_pk_get_fingerprint(crypto_pk_t *pk, char *fp_out,int add_space);
+int crypto_pk_get_hashed_fingerprint(crypto_pk_t *pk, char *fp_out);
/* symmetric crypto */
const char *crypto_cipher_get_key(crypto_cipher_t *env);