iPXE
der.h
Go to the documentation of this file.
1 #ifndef _IPXE_DER_H
2 #define _IPXE_DER_H
3 
4 /** @file
5  *
6  * DER image format
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 FILE_SECBOOT ( PERMITTED );
12 
13 #include <stdint.h>
14 #include <ipxe/asn1.h>
15 #include <ipxe/image.h>
16 
17 extern int der_asn1 ( const void *data, size_t len, size_t offset,
18  struct asn1_cursor **cursor );
19 
20 extern struct image_type der_image_type __image_type ( PROBE_NORMAL );
21 
22 #endif /* _IPXE_DER_H */
struct image_type der_image_type __image_type(PROBE_NORMAL)
int der_asn1(const void *data, size_t len, size_t offset, struct asn1_cursor **cursor)
Extract ASN.1 object from DER data.
Definition: der.c:53
FILE_SECBOOT(PERMITTED)
An executable image type.
Definition: image.h:95
#define PROBE_NORMAL
Normal image probe priority.
Definition: image.h:156
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Executable images.
ASN.1 encoding.
ring len
Length.
Definition: dwmac.h:231
uint8_t data[48]
Additional event data.
Definition: ena.h:22
uint16_t offset
Offset to command line.
Definition: bzimage.h:8
An ASN.1 object cursor.
Definition: asn1.h:21