|
iPXE
|
PEM-encoded ASN.1 data. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| int | efisig_asn1 (const void *data, size_t len, size_t offset, struct asn1_cursor **cursor) |
| Extract ASN.1 object from EFI signature list. More... | |
| struct image_type efisig_image_type | __image_type (PROBE_NORMAL) |
PEM-encoded ASN.1 data.
Definition in file efi_siglist.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| int efisig_asn1 | ( | const void * | data, |
| size_t | len, | ||
| size_t | offset, | ||
| struct asn1_cursor ** | cursor | ||
| ) |
Extract ASN.1 object from EFI signature list.
| data | EFI signature list |
| len | Length of EFI signature list |
| offset | Offset within image |
| cursor | ASN.1 cursor to fill in |
| next | Offset to next image, or negative error |
The caller is responsible for eventually calling free() on the allocated ASN.1 cursor.
Definition at line 142 of file efi_siglist.c.
References image_type::asn1, ASN1_SEQUENCE, data, DBGC, DBGC2, der_asn1(), efisig_find(), EINVAL, free, len, next, offset, offsetof, pem_asn1(), rc, EFI_SIGNATURE_DATA::SignatureData, EFI_SIGNATURE_LIST::SignatureSize, strerror(), and typeof().
Referenced by efi_cacert(), and efisig_image_asn1().
| struct image_type efisig_image_type __image_type | ( | PROBE_NORMAL | ) |
1.8.15