diff options
author | lloyd <[email protected]> | 2010-07-22 01:58:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-07-22 01:58:37 +0000 |
commit | 15e071575d90bdf21565192109491e05fefb594b (patch) | |
tree | cef17898642659a3de2967141f998ff2460f74da /src/engine | |
parent | 0e98fe628b0377ecedfbac734d5e17fc799b8a2e (diff) |
Add support for Camellia in OpenSSL engine
Diffstat (limited to 'src/engine')
-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 98a5b6963..560ca66a8 100644 --- a/src/engine/openssl/ossl_bc.cpp +++ b/src/engine/openssl/ossl_bc.cpp @@ -199,6 +199,12 @@ OpenSSL_Engine::find_block_cipher(const SCAN_Name& request, HANDLE_EVP_CIPHER_KEYLEN("CAST-128", EVP_cast5_ecb(), 1, 16, 1); #endif +#if !defined(OPENSSL_NO_CAMELLIA) + HANDLE_EVP_CIPHER("Camellia-128", EVP_camellia_128_ecb()); + HANDLE_EVP_CIPHER("Camellia-192", EVP_camellia_192_ecb()); + HANDLE_EVP_CIPHER("Camellia-256", EVP_camellia_256_ecb()); +#endif + #if !defined(OPENSSL_NO_RC2) HANDLE_EVP_CIPHER_KEYLEN("RC2", EVP_rc2_ecb(), 1, 32, 1); #endif |