aboutsummaryrefslogtreecommitdiff
path: root/src/common/aes.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-20 21:20:31 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-25 10:32:00 -0500
commit8143074b3f110a41cc83335b70eb19dfe2b749b0 (patch)
tree1e77da38d9883817489fe1cbe3609a631f9917a4 /src/common/aes.h
parent3e9c86a8f964e8c6f11c57663bd4dc8998827eb5 (diff)
downloadtor-8143074b3f110a41cc83335b70eb19dfe2b749b0.tar
tor-8143074b3f110a41cc83335b70eb19dfe2b749b0.tar.gz
Use EVP for AES only when hardware accel is present
Fixes bug 4525, fix on 0.2.3.8-alpha.
Diffstat (limited to 'src/common/aes.h')
-rw-r--r--src/common/aes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/aes.h b/src/common/aes.h
index b2591942b..221e84615 100644
--- a/src/common/aes.h
+++ b/src/common/aes.h
@@ -24,5 +24,7 @@ void aes_crypt(aes_cnt_cipher_t *cipher, const char *input, size_t len,
void aes_crypt_inplace(aes_cnt_cipher_t *cipher, char *data, size_t len);
void aes_set_iv(aes_cnt_cipher_t *cipher, const char *iv);
+int evaluate_evp_for_aes(int force_value);
+
#endif