aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-16 14:49:55 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-16 14:49:55 -0400
commite908e3a332dd469af2facac0846d0dc8349a30d3 (patch)
tree45195df03a09bc0fde12760ddccc60eaa59e7f72 /src/common/crypto.h
parent919bf6ff3cfb1387f3f9ecf9ce97d8e95e330a05 (diff)
parent4a22046c86bec7165e6977024ff84e2109832417 (diff)
downloadtor-e908e3a332dd469af2facac0846d0dc8349a30d3.tar
tor-e908e3a332dd469af2facac0846d0dc8349a30d3.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Fixed trivial conflict due to headers moving into their own .h files from or.h. Conflicts: src/or/or.h
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 05185f3f1..54c7a67a3 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -122,6 +122,7 @@ size_t crypto_pk_keysize(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);
+int crypto_pk_public_exponent_ok(crypto_pk_env_t *env);
int crypto_pk_public_encrypt(crypto_pk_env_t *env, char *to, size_t tolen,
const char *from, size_t fromlen, int padding);