Function report |
Source Code:security\integrity\platform_certs\load_uefi.c |
Create Date:2022-07-28 19:56:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Get a certificate list blob from the named EFI variable.
Proto:static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, unsigned long *size, efi_status_t *status)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| efi_char16_t * | name | |
| efi_guid_t * | guid | |
| unsigned long * | size | |
| efi_status_t * | status |
| 40 | lsize = 4 |
| 45 | If status == EFI_NOT_FOUND Then Return NULL |
| 48 | If status != EFI_BUFFER_TOO_SMALL Then |
| 53 | db = Allocation memory |
| 54 | If Not db Then Return NULL |
| 58 | If status != EFI_SUCCESS Then |
| 65 | Return db |
| 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. |
| 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 |