diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2020-04-14 11:51:40 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-04-16 08:12:46 +0200 |
commit | be6296d05b072f312a20587cf2de8e4456bcb8ff (patch) | |
tree | 9cc9caa67e25b6bdef2f345f0b621c192ce4ea9f /include | |
parent | 593e17d673abe8e903412e6d55b2eb54b159b096 (diff) | |
download | u-boot-be6296d05b072f312a20587cf2de8e4456bcb8ff.tar.gz u-boot-be6296d05b072f312a20587cf2de8e4456bcb8ff.tar.xz u-boot-be6296d05b072f312a20587cf2de8e4456bcb8ff.zip |
efi_loader: add signature database parser
efi_signature_parse_sigdb() is a helper function will be used to parse
signature database variable and instantiate a signature store structure
in later patches.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_loader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 8cf85d2fb7..fea2ead02e 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -750,6 +750,9 @@ bool efi_signature_verify_with_sigdb(struct efi_image_regions *regs, efi_status_t efi_image_region_add(struct efi_image_regions *regs, const void *start, const void *end, int nocheck); + +void efi_sigstore_free(struct efi_signature_store *sigstore); +struct efi_signature_store *efi_sigstore_parse_sigdb(u16 *name); #endif /* CONFIG_EFI_SECURE_BOOT */ #else /* CONFIG_IS_ENABLED(EFI_LOADER) */ |