diff options
author | Michael Brown | 2016-07-28 17:18:23 +0200 |
---|---|---|
committer | Michael Brown | 2016-07-29 02:12:58 +0200 |
commit | eb7188d04b30dcbc47ac1af621b738cc0923ae38 (patch) | |
tree | fda7f01787ea5ef826befac6be1cf7af55659053 /src/include/ipxe/errfile.h | |
parent | [image] Add image_asn1() to extract ASN.1 objects from image (diff) | |
download | ipxe-eb7188d04b30dcbc47ac1af621b738cc0923ae38.tar.gz ipxe-eb7188d04b30dcbc47ac1af621b738cc0923ae38.tar.xz ipxe-eb7188d04b30dcbc47ac1af621b738cc0923ae38.zip |
[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/errfile.h')
-rw-r--r-- | src/include/ipxe/errfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index f743dae6..61e208a5 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -276,6 +276,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define ERRFILE_embedded ( ERRFILE_IMAGE | 0x00050000 ) #define ERRFILE_pnm ( ERRFILE_IMAGE | 0x00060000 ) #define ERRFILE_png ( ERRFILE_IMAGE | 0x00070000 ) +#define ERRFILE_der ( ERRFILE_IMAGE | 0x00080000 ) #define ERRFILE_asn1 ( ERRFILE_OTHER | 0x00000000 ) #define ERRFILE_chap ( ERRFILE_OTHER | 0x00010000 ) |