summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-02-20 17:59:49 +0000
committerRichard Levitte <levitte@openssl.org>2002-02-20 17:59:49 +0000
commit5b7848a34578e5819e9bb335e9da0e9d04ab921d (patch)
tree608d7fdd96dcce9cd2a64aeb5dc3736ca29ce8bd /crypto/evp
parent915c6a21baf18e74f450032b17cc708ee0daf618 (diff)
Add comfy aliases for AES in CBC mode.
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/c_allc.c6
1 files changed, 6 insertions, 0 deletions
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();