Attached is a file against today's CVS that adds the new AES XTS modes
to the lookup table (OpenSSL_add_all_ciphers).
Regards,
Alex Hornung
Index: crypto/evp/c_allc.c
===================================================================
RCS file: /v/openssl/cvs/openssl/crypto/evp/c_allc.c,v
retrieving revision 1.16
diff -u -p -r1.16 c_allc.c
--- crypto/evp/c_allc.c 23 Feb 2010 16:48:41 -0000 1.16
+++ crypto/evp/c_allc.c 12 May 2011 18:41:34 -0000
@@ -167,6 +167,7 @@ void OpenSSL_add_all_ciphers(void)
EVP_add_cipher(EVP_aes_128_cfb8());
EVP_add_cipher(EVP_aes_128_ofb());
EVP_add_cipher(EVP_aes_128_ctr());
+ EVP_add_cipher(EVP_aes_128_xts());
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());
@@ -185,6 +186,7 @@ void OpenSSL_add_all_ciphers(void)
EVP_add_cipher(EVP_aes_256_cfb8());
EVP_add_cipher(EVP_aes_256_ofb());
EVP_add_cipher(EVP_aes_256_ctr());
+ EVP_add_cipher(EVP_aes_256_xts());
EVP_add_cipher_alias(SN_aes_256_cbc,"AES256");
EVP_add_cipher_alias(SN_aes_256_cbc,"aes256");
#endif
Index: crypto/evp/c_allc.c
===================================================================
RCS file: /v/openssl/cvs/openssl/crypto/evp/c_allc.c,v
retrieving revision 1.16
diff -u -p -r1.16 c_allc.c
--- crypto/evp/c_allc.c 23 Feb 2010 16:48:41 -0000 1.16
+++ crypto/evp/c_allc.c 12 May 2011 18:44:07 -0000
@@ -167,6 +167,7 @@ void OpenSSL_add_all_ciphers(void)
EVP_add_cipher(EVP_aes_128_cfb8());
EVP_add_cipher(EVP_aes_128_ofb());
EVP_add_cipher(EVP_aes_128_ctr());
+ EVP_add_cipher(EVP_aes_128_xts());
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());
@@ -185,6 +186,7 @@ void OpenSSL_add_all_ciphers(void)
EVP_add_cipher(EVP_aes_256_cfb8());
EVP_add_cipher(EVP_aes_256_ofb());
EVP_add_cipher(EVP_aes_256_ctr());
+ EVP_add_cipher(EVP_aes_256_xts());
EVP_add_cipher_alias(SN_aes_256_cbc,"AES256");
EVP_add_cipher_alias(SN_aes_256_cbc,"aes256");
#endif