summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_enc.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-09-14 01:27:49 +0200
committerShane Lontis <shane.lontis@oracle.com>2019-09-14 01:27:49 +0200
commit3a9f26f3308c5b3e59ec0e589310fd137b0399f6 (patch)
tree7eee906072dbc4679fbb2007ab8bf14f4ee91637 /crypto/evp/evp_enc.c
parentFix S390X bad size_t that causes memory trash in legacy ciphers (diff)
downloadopenssl-3a9f26f3308c5b3e59ec0e589310fd137b0399f6.tar.xz
openssl-3a9f26f3308c5b3e59ec0e589310fd137b0399f6.zip
Add aes_xts cipher to providers
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9327)
Diffstat (limited to 'crypto/evp/evp_enc.c')
-rw-r--r--crypto/evp/evp_enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c
index 466a03dbf3..6d657f76cd 100644
--- a/crypto/evp/evp_enc.c
+++ b/crypto/evp/evp_enc.c
@@ -163,6 +163,8 @@ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
case NID_aes_256_ctr:
case NID_aes_192_ctr:
case NID_aes_128_ctr:
+ case NID_aes_128_xts:
+ case NID_aes_256_xts:
case NID_aes_256_gcm:
case NID_aes_192_gcm:
case NID_aes_128_gcm: