]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Support decryption of images via CMS envelopes
authorMichael Brown <mcb30@ipxe.org>
Fri, 23 Aug 2024 11:28:21 +0000 (12:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 29 Aug 2024 13:47:13 +0000 (14:47 +0100)
commit486b15b3c11692af4325cd7d0220cdb72ec27586
treee1da90eda839e8a387bc44dc45e5f7c2be6d2e4f
parent49404bfea99f68f4c364ea30a9ad3ea6ffb7e5f6
[crypto] Support decryption of images via CMS envelopes

Add support for decrypting images containing detached encrypted data
using a cipher key obtained from a separate CMS envelope image (in DER
or PEM format).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/cms.c
src/include/ipxe/asn1.h
src/include/ipxe/cms.h