summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-09-20 20:08:47 +0000
committerNick Mathewson <nickm@torproject.org>2007-09-20 20:08:47 +0000
commitfc5dd0cdbb06aa58aeb12306a0c5d50b581c7dcf (patch)
tree2c752fa07b4b324fd466b38382e4f3d6b3fa0901 /src/common/crypto.h
parentf0634bb7ca54bf9d61ce376c821b41a21ccb4726 (diff)
downloadtor-fc5dd0cdbb06aa58aeb12306a0c5d50b581c7dcf.tar.gz
tor-fc5dd0cdbb06aa58aeb12306a0c5d50b581c7dcf.zip
r15231@catbus: nickm | 2007-09-20 16:04:30 -0400
Patch from karsten: remove cbc and make unit tests handle aes-ctr-with-iv. svn:r11538
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index b548978aaa..09cbbe704a 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -135,11 +135,6 @@ int crypto_cipher_decrypt_with_iv(crypto_cipher_env_t *env,
char *to, size_t tolen,
const char *from, size_t fromlen);
-int crypto_cipher_encrypt_cbc(const char *key, char *to, size_t tolen,
- const char *from, size_t fromlen);
-int crypto_cipher_decrypt_cbc(const char *key, char *to, size_t tolen,
- const char *from, size_t fromlen);
-
/* SHA-1 */
int crypto_digest(char *digest, const char *m, size_t len);
crypto_digest_env_t *crypto_new_digest_env(void);