iPXE
include
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 */
__image_type
struct image_type der_image_type __image_type(PROBE_NORMAL)
der_asn1
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
image_type
An executable image type.
Definition:
image.h:94
PROBE_NORMAL
#define PROBE_NORMAL
Normal image probe priority.
Definition:
image.h:155
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
image.h
Executable images.
asn1.h
ASN.1 encoding.
len
ring len
Length.
Definition:
dwmac.h:231
data
uint8_t data[48]
Additional event data.
Definition:
ena.h:22
stdint.h
offset
uint16_t offset
Offset to command line.
Definition:
bzimage.h:8
asn1_cursor
An ASN.1 object cursor.
Definition:
asn1.h:20
Generated by
1.8.15