summaryrefslogtreecommitdiffstats
path: root/crypto/evp/c_allc.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-05-31 13:08:53 +0000
committerRichard Levitte <levitte@openssl.org>2002-05-31 13:08:53 +0000
commitbd54d55c1da428e7d3e5bb6bdff7bfc0f10d7586 (patch)
treec1f82efe9aebf7eea9acb562f49afb5aa3cf2c97 /crypto/evp/c_allc.c
parent09c70c3261e5a574294035afc601f4554766ff50 (diff)
Declare the CFB and OFB modes for AES, and prepare for a declaration
of CTR mode.
Diffstat (limited to 'crypto/evp/c_allc.c')
-rw-r--r--crypto/evp/c_allc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/evp/c_allc.c b/crypto/evp/c_allc.c
index 37e6ab83a5..341a958fd4 100644
--- a/crypto/evp/c_allc.c
+++ b/crypto/evp/c_allc.c
@@ -149,14 +149,29 @@ 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(EVP_aes_128_cfb());
+ EVP_add_cipher(EVP_aes_128_ofb());
+#if 0
+ EVP_add_cipher(EVP_aes_128_ctr());
+#endif
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(EVP_aes_192_cfb());
+ EVP_add_cipher(EVP_aes_192_ofb());
+#if 0
+ EVP_add_cipher(EVP_aes_192_ctr());
+#endif
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(EVP_aes_256_cfb());
+ EVP_add_cipher(EVP_aes_256_ofb());
+#if 0
+ EVP_add_cipher(EVP_aes_256_ctr());
+#endif
EVP_add_cipher_alias(SN_aes_256_cbc,"AES256");
EVP_add_cipher_alias(SN_aes_256_cbc,"aes256");
#endif