Function report |
Source Code:security\integrity\platform_certs\efi_parser.c |
Create Date:2022-07-28 19:57:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_efi_signature_list - Parse an EFI signature list for certificates*@source: The source of the key*@data: The data blob to parse*@size: The size of the data blob*@get_handler_for_guid: Get the handler func for the sig type (or NULL)
Proto:int __init parse_efi_signature_list(const char *source, const void *data, size_t size, efi_element_handler_t (*get_handler_for_guid)(const efi_guid_t *))
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | source | |
const void * | data | |
size_t | size | |
efi_element_handler_t (* | get_handler_for_guid |
43 | offs = 0 |
56 | pr_devel("LIST[%04x] guid=%pUl ls=%x hs=%x ss=%x\n", offs, b, signature_list_size, signature_header_size, signature_size) |
61 | lsize = signature_list_size |
63 | esize = signature_size |
81 | handler = get_handler_for_guid( & signature_type) |
82 | If Not handler Then |
107 | Return 0 |
Name | Describe |
---|---|
load_uefi_certs | Load the certs contained in the UEFI databases into the platform trusted* keyring and the UEFI blacklisted X.509 cert SHA256 hashes into the blacklist* keyring. |
load_powerpc_certs | Load the certs contained in the keys databases into the platform trusted* keyring and the blacklisted X.509 cert SHA256 hashes into the blacklist* keyring. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |