diff options
author | Michael Brown <mcb30@ipxe.org> | 2016-07-28 16:18:23 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-07-29 01:12:58 +0100 |
commit | eb7188d04b30dcbc47ac1af621b738cc0923ae38 (patch) | |
tree | fda7f01787ea5ef826befac6be1cf7af55659053 /src/include/ipxe/der.h | |
parent | ef50608029d9f5821dd4567ee8d9aa78294e3091 (diff) | |
download | ipxe-eb7188d04b30dcbc47ac1af621b738cc0923ae38.tar.gz |
[crypto] Add DER image format
Add DER-encoded ASN.1 as an image format. There is no fixed signature
for DER files. We treat an image as DER if it comprises a single
valid SEQUENCE object covering the entire length of the image.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/der.h')
-rw-r--r-- | src/include/ipxe/der.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/ipxe/der.h b/src/include/ipxe/der.h new file mode 100644 index 000000000..c63bd9751 --- /dev/null +++ b/src/include/ipxe/der.h @@ -0,0 +1,16 @@ +#ifndef _IPXE_DER_H +#define _IPXE_DER_H + +/** @file + * + * DER image format + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +#include <ipxe/image.h> + +extern struct image_type der_image_type __image_type ( PROBE_NORMAL ); + +#endif /* _IPXE_DER_H */ |