aboutsummaryrefslogtreecommitdiff
path: root/src/common/aes.h
diff options
context:
space:
mode:
authorMalek <malek@mit.edu>2016-02-06 12:05:32 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-06 13:38:11 -0500
commita9cd291753b022aab1a07525f19e113c9da2cd0e (patch)
tree71284b6334030e30d66f273388828c72aa8e8558 /src/common/aes.h
parent1f5cdf2b6c72ae89eea630a2c4693273ff1aee6c (diff)
downloadtor-a9cd291753b022aab1a07525f19e113c9da2cd0e.tar.gz
tor-a9cd291753b022aab1a07525f19e113c9da2cd0e.zip
Removed aes_crypt, left only aes_crypt_inplace. Removed should_use_openssl_CTR, was used for openssl 1.0.0 bug.
Diffstat (limited to 'src/common/aes.h')
-rw-r--r--src/common/aes.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/aes.h b/src/common/aes.h
index 5500db7d0c..c1e5c53fcc 100644
--- a/src/common/aes.h
+++ b/src/common/aes.h
@@ -17,12 +17,9 @@ typedef struct aes_cnt_cipher aes_cnt_cipher_t;
aes_cnt_cipher_t* aes_new_cipher(const char *key, const char *iv);
void aes_cipher_free(aes_cnt_cipher_t *cipher);
-void aes_crypt(aes_cnt_cipher_t *cipher, const char *input, size_t len,
- char *output);
void aes_crypt_inplace(aes_cnt_cipher_t *cipher, char *data, size_t len);
int evaluate_evp_for_aes(int force_value);
int evaluate_ctr_for_aes(void);
#endif
-