summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2020-04-14 05:51:40 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-04-16 09:12:46 +0300
commitbe6296d05b072f312a20587cf2de8e4456bcb8ff (patch)
tree9cc9caa67e25b6bdef2f345f0b621c192ce4ea9f /include/efi_loader.h
parent593e17d673abe8e903412e6d55b2eb54b159b096 (diff)
downloadu-boot-be6296d05b072f312a20587cf2de8e4456bcb8ff.tar.xz
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/efi_loader.h')
-rw-r--r--include/efi_loader.h3
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) */