From 5b7848a34578e5819e9bb335e9da0e9d04ab921d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 20 Feb 2002 17:59:49 +0000 Subject: [PATCH] Add comfy aliases for AES in CBC mode. --- crypto/evp/c_allc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crypto/evp/c_allc.c b/crypto/evp/c_allc.c index 0fe5457425..37e6ab83a5 100644 --- a/crypto/evp/c_allc.c +++ b/crypto/evp/c_allc.c @@ -149,10 +149,16 @@ void OpenSSL_add_all_ciphers(void) #ifndef OPENSSL_NO_AES EVP_add_cipher(EVP_aes_128_ecb()); EVP_add_cipher(EVP_aes_128_cbc()); + EVP_add_cipher_alias(SN_aes_128_cbc,"AES128"); + EVP_add_cipher_alias(SN_aes_128_cbc,"aes128"); EVP_add_cipher(EVP_aes_192_ecb()); EVP_add_cipher(EVP_aes_192_cbc()); + EVP_add_cipher_alias(SN_aes_192_cbc,"AES192"); + EVP_add_cipher_alias(SN_aes_192_cbc,"aes192"); EVP_add_cipher(EVP_aes_256_ecb()); EVP_add_cipher(EVP_aes_256_cbc()); + EVP_add_cipher_alias(SN_aes_256_cbc,"AES256"); + EVP_add_cipher_alias(SN_aes_256_cbc,"aes256"); #endif PKCS12_PBE_add(); PKCS5_PBE_add(); -- 2.25.1