From b330140659eab02c31236dd1925e1c573d503a03 Mon Sep 17 00:00:00 2001 From: AKASHI Takahiro Date: Tue, 5 Jul 2022 14:48:12 +0900 Subject: efi_loader: signature: export efi_hash_regions() This function is used to calculate a message digest as part of authentication process in a later patch. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi_signature.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/efi_loader/efi_signature.c b/lib/efi_loader/efi_signature.c index ddac751d128..742d8919402 100644 --- a/lib/efi_loader/efi_signature.c +++ b/lib/efi_loader/efi_signature.c @@ -125,8 +125,8 @@ struct pkcs7_message *efi_parse_pkcs7_header(const void *buf, * * Return: true on success, false on error */ -static bool efi_hash_regions(struct image_region *regs, int count, - void **hash, const char *hash_algo, int *len) +bool efi_hash_regions(struct image_region *regs, int count, + void **hash, const char *hash_algo, int *len) { int ret, hash_len; -- cgit v1.3.1