Don't use the low level AES key wrap APIs in CMS
authorMatt Caswell <matt@openssl.org>
Thu, 5 Dec 2019 18:01:44 +0000 (18:01 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 6 Jan 2020 15:09:57 +0000 (15:09 +0000)
commit2852c672a8ecb02a74d0adeeb93c661b7d2d7511
treebcd91e9004bda680d0c555f54d2b1cd1a3ececdf
parentb1558c0bc895afd93170378053bae800efacee1e
Don't use the low level AES key wrap APIs in CMS

We should not be using the low level AES APIs in CMS. Instead we should
be using EVP. There was a small amount of use of the low level key
wrap APIs - so we convert that to EVP.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10580)
crypto/cms/cms_env.c