efi_loader: signature: make efi_hash_regions more generic
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 8 Jul 2020 05:01:55 +0000 (14:01 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 Jul 2020 21:14:15 +0000 (23:14 +0200)
commit1e64d0b5a4ca8de67e79f332dd4d51a243f51eb8
treeba07ea0acf19b04e08b717d141741bc4acae672d
parent36b2f9da5ccd38581c80098b0cad6dd1a9224705
efi_loader: signature: make efi_hash_regions more generic

There are a couple of occurrences of hash calculations in which a new
efi_hash_regions will be commonly used.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
lib/efi_loader/efi_signature.c