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 
12 #include <stdint.h>
13 #include <ipxe/asn1.h>
14 #include <ipxe/image.h>
15 
16 extern int der_asn1 ( const void *data, size_t len, size_t offset,
17  struct asn1_cursor **cursor );
18 
19 extern struct image_type der_image_type __image_type ( PROBE_NORMAL );
20 
21 #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:52
An executable image type.
Definition: image.h:94
#define PROBE_NORMAL
Normal image probe priority.
Definition: image.h:155
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:20