diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-20 21:20:31 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-25 10:32:00 -0500 |
commit | 8143074b3f110a41cc83335b70eb19dfe2b749b0 (patch) | |
tree | 1e77da38d9883817489fe1cbe3609a631f9917a4 /src/common/aes.h | |
parent | 3e9c86a8f964e8c6f11c57663bd4dc8998827eb5 (diff) | |
download | tor-8143074b3f110a41cc83335b70eb19dfe2b749b0.tar.gz tor-8143074b3f110a41cc83335b70eb19dfe2b749b0.zip |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/aes.h b/src/common/aes.h index b2591942bc..221e846155 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 |