mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
[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>
This commit is contained in:
@@ -188,6 +188,9 @@ REQUIRE_OBJECT ( pnm );
|
||||
#ifdef IMAGE_PNG
|
||||
REQUIRE_OBJECT ( png );
|
||||
#endif
|
||||
#ifdef IMAGE_DER
|
||||
REQUIRE_OBJECT ( der );
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Drag in all requested commands
|
||||
|
||||
@@ -112,6 +112,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
//#define IMAGE_SDI /* SDI image support */
|
||||
//#define IMAGE_PNM /* PNM image support */
|
||||
//#define IMAGE_PNG /* PNG image support */
|
||||
//#define IMAGE_DER /* DER image support */
|
||||
|
||||
/*
|
||||
* Command-line commands to include
|
||||
|
||||
Reference in New Issue
Block a user