summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_enc.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-07-10 03:42:03 +0200
committerShane Lontis <shane.lontis@oracle.com>2019-09-20 04:33:02 +0200
commitca392b294359a8e9ca55e685b344b485d02bc93b (patch)
tree9ef95d8ecdaf77b98811f18d7e5f2be19cc72b83 /crypto/evp/evp_enc.c
parentFix missing bn_mul_mont symbol in solaris fips module (diff)
downloadopenssl-ca392b294359a8e9ca55e685b344b485d02bc93b.tar.xz
openssl-ca392b294359a8e9ca55e685b344b485d02bc93b.zip
Add aes_wrap cipher to providers
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9406)
Diffstat (limited to 'crypto/evp/evp_enc.c')
-rw-r--r--crypto/evp/evp_enc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c
index 6e509b2d13..ce1136116c 100644
--- a/crypto/evp/evp_enc.c
+++ b/crypto/evp/evp_enc.c
@@ -171,6 +171,12 @@ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
case NID_aes_256_gcm:
case NID_aes_192_gcm:
case NID_aes_128_gcm:
+ case NID_id_aes256_wrap:
+ case NID_id_aes256_wrap_pad:
+ case NID_id_aes192_wrap:
+ case NID_id_aes192_wrap_pad:
+ case NID_id_aes128_wrap:
+ case NID_id_aes128_wrap_pad:
case NID_aria_256_gcm:
case NID_aria_192_gcm:
case NID_aria_128_gcm: