From: Andy Polyakov <appro@openssl.org>
Date: Mon, 14 Nov 2011 21:13:35 +0000 (+0000)
Subject: c_allc.c: add XTS ciphers [from HEAD].
X-Git-Tag: OpenSSL_1_0_1-beta1~74
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d807d4c21f39437986dfc61904634e40fe1c64b1;p=oweals%2Fopenssl.git

c_allc.c: add XTS ciphers [from HEAD].
---

diff --git a/crypto/evp/c_allc.c b/crypto/evp/c_allc.c
index 8765cfbf92..2a45d435e5 100644
--- a/crypto/evp/c_allc.c
+++ b/crypto/evp/c_allc.c
@@ -171,6 +171,7 @@ void OpenSSL_add_all_ciphers(void)
 	EVP_add_cipher(EVP_aes_128_ofb());
 	EVP_add_cipher(EVP_aes_128_ctr());
 	EVP_add_cipher(EVP_aes_128_gcm());
+	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());
@@ -191,6 +192,7 @@ void OpenSSL_add_all_ciphers(void)
 	EVP_add_cipher(EVP_aes_256_ofb());
 	EVP_add_cipher(EVP_aes_256_ctr());
 	EVP_add_cipher(EVP_aes_256_gcm());
+	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");
 #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1)