aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/asn1.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2024-08-09 16:33:51 +0100
committerMichael Brown <mcb30@ipxe.org>2024-08-13 12:30:51 +0100
commit3b4d0cb555a01df8b56f422d9d17522ae60e17be (patch)
treef085a0d253cfaee090554191278fabac270924c6 /src/crypto/asn1.c
parent96fb7a0a9395cec423a58069e1b49535e8ceceef (diff)
downloadipxe-3b4d0cb555a01df8b56f422d9d17522ae60e17be.tar.gz
[crypto] Pass image as parameter to CMS functions
The cms_signature() and cms_verify() functions currently accept raw data pointers. This will not be possible for cms_decrypt(), which will need the ability to extract fragments of ASN.1 data from a potentially large image. Change cms_signature() and cms_verify() to accept an image as an input parameter, and move the responsibility for setting the image trust flag within cms_verify() since that now becomes a more natural fit. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/asn1.c')
0 files changed, 0 insertions, 0 deletions