From ca392b294359a8e9ca55e685b344b485d02bc93b Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Wed, 10 Jul 2019 11:42:03 +1000 Subject: Add aes_wrap cipher to providers Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9406) --- crypto/evp/evp_enc.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/evp/evp_enc.c') 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: -- cgit v1.2.3