|
iPXE
|
DER image format. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| int | der_asn1 (const void *data, size_t len, size_t offset, struct asn1_cursor **cursor) |
| Extract ASN.1 object from DER data. More... | |
| struct image_type der_image_type | __image_type (PROBE_NORMAL) |
DER image format.
Definition in file der.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| int der_asn1 | ( | const void * | data, |
| size_t | len, | ||
| size_t | offset, | ||
| struct asn1_cursor ** | cursor | ||
| ) |
Extract ASN.1 object from DER data.
| data | DER data |
| len | Length of DER data |
| offset | Offset within data |
| cursor | ASN.1 cursor to fill in |
| next | Offset to next object, or negative error |
The caller is responsible for eventually calling free() on the allocated ASN.1 cursor.
Definition at line 52 of file der.c.
References asn1_shrink_any(), assert(), data, ENOMEM, len, malloc(), memcpy(), offset, and raw.
Referenced by der_image_asn1(), and efisig_asn1().
| struct image_type der_image_type __image_type | ( | PROBE_NORMAL | ) |
1.8.15