]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Allow for parsing of DER data separate from DER images
authorMichael Brown <mcb30@ipxe.org>
Tue, 11 Mar 2025 11:55:15 +0000 (11:55 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 11 Mar 2025 12:36:23 +0000 (12:36 +0000)
commit26a8fed710900be439e7548308ecca910a9b683c
tree18f9e91bc3e735cc432f61a0d0713db617dd91ba
parent011c778f06fbfa315f8749f39df016d8865422c6
[crypto] Allow for parsing of DER data separate from DER images

We currently provide pem_asn1() to allow for parsing of PEM data that
is not necessarily contained in an image.  Provide an equivalent
function der_asn1() to allow for similar parsing of DER data.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/image/der.c
src/include/ipxe/der.h