efi_loader: Re-factor code to build the signature store from efi signature list
The efi_sigstore_parse_sigdb function reads the uefi authenticated variable, stored in the signature database format and builds the signature store structure. Factor out the code for building the signature store. This can then be used by the capsule authentication routine to build the signature store even when the signature database is not stored as an uefi authenticated variable Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
201b8068f3
commit
b4f20a5d83
@@ -813,6 +813,8 @@ efi_status_t efi_image_region_add(struct efi_image_regions *regs,
|
||||
int nocheck);
|
||||
|
||||
void efi_sigstore_free(struct efi_signature_store *sigstore);
|
||||
struct efi_signature_store *efi_build_signature_store(void *sig_list,
|
||||
efi_uintn_t size);
|
||||
struct efi_signature_store *efi_sigstore_parse_sigdb(u16 *name);
|
||||
|
||||
bool efi_secure_boot_enabled(void);
|
||||
|
||||
Reference in New Issue
Block a user