summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2012-09-15 03:52:13 -0700
committerNick Mathewson <nickm@torproject.org>2012-09-17 11:02:53 -0400
commit62babcaf0a88edb081529977981cf8865b32ea21 (patch)
treebeef615e21bb0f58b37559f791f04eac230fa538 /src/common/crypto.h
parentf3916a685594a6e0e4f4a215a57f5aea34c8570c (diff)
downloadtor-62babcaf0a88edb081529977981cf8865b32ea21.tar.gz
tor-62babcaf0a88edb081529977981cf8865b32ea21.zip
Implement and use crypto_pk_eq_keys
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 456a61173f..e8248508fc 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -148,6 +148,7 @@ int crypto_pk_write_private_key_to_filename(crypto_pk_t *env,
int crypto_pk_check_key(crypto_pk_t *env);
int crypto_pk_cmp_keys(crypto_pk_t *a, crypto_pk_t *b);
+int crypto_pk_eq_keys(crypto_pk_t *a, crypto_pk_t *b);
size_t crypto_pk_keysize(crypto_pk_t *env);
int crypto_pk_num_bits(crypto_pk_t *env);
crypto_pk_t *crypto_pk_dup_key(crypto_pk_t *orig);