diff options
author | lloyd <[email protected]> | 2008-11-24 23:05:14 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-24 23:05:14 +0000 |
commit | 9b871d16921870c6249dca1cfd87797d25bce538 (patch) | |
tree | bcb4514b3ec23527ec0f7c0f0986bd4a5c500508 | |
parent | 00c15b46540dcff126367c115471317bc19d4fa8 (diff) |
Disable using OpenSSL's AES - it is causing crashes for an unknown reason.
Backtrace is deep inside EVP. Valgrind says it is writing after the end of
the allocated buffer. Other ciphers (all 64-bit blocks) are fine. I do not
know if the problem is 64/128 bit or some other reason.
-rw-r--r-- | src/engine/openssl/ossl_bc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/openssl/ossl_bc.cpp b/src/engine/openssl/ossl_bc.cpp index a9110f008..9b9a3c8a7 100644 --- a/src/engine/openssl/ossl_bc.cpp +++ b/src/engine/openssl/ossl_bc.cpp @@ -172,9 +172,15 @@ OpenSSL_Engine::find_block_cipher(const SCAN_Name& request, if(request.algo_name() == NAME && request.arg_count() == 0) \ return new EVP_BlockCipher(EVP, NAME, MIN, MAX, MOD); +#if 0 + /* + Using OpenSSL's AES causes crashes inside EVP on x86-64 with OpenSSL 0.9.8g + cause is unknown + */ HANDLE_EVP_CIPHER("AES-128", EVP_aes_128_ecb()); HANDLE_EVP_CIPHER("AES-192", EVP_aes_192_ecb()); HANDLE_EVP_CIPHER("AES-256", EVP_aes_256_ecb()); +#endif HANDLE_EVP_CIPHER("DES", EVP_des_ecb()); HANDLE_EVP_CIPHER_KEYLEN("TripleDES", EVP_des_ede3_ecb(), 16, 24, 8); |