From: Masahisa Kojima Date: Fri, 14 May 2021 09:53:34 +0900 Subject: [PATCH v8 0/3] PE/COFF measurement support Message-ID: <20210514005337.5243-1-masahisa.kojima@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch series add the PE/COFF measurement support. Extending PCR and Event Log is tested with fTPM running as a OP-TEE TA. Unit test will be added in the separate series. Masahisa Kojima (3): lib: introduce HASH_CALCULATE option efi_loader: expose efi_image_parse() even if UEFI Secure Boot is disabled efi_loader: add PE/COFF image measurement common/Kconfig.boot | 1 + include/efi_loader.h | 6 + include/efi_tcg2.h | 9 ++ include/tpm-v2.h | 18 +++ lib/Kconfig | 3 + lib/Makefile | 2 +- lib/efi_loader/Kconfig | 8 ++ lib/efi_loader/Makefile | 2 +- lib/efi_loader/efi_image_loader.c | 123 +++++++++++++++--- lib/efi_loader/efi_signature.c | 67 +--------- lib/efi_loader/efi_tcg2.c | 207 ++++++++++++++++++++++++++++-- lib/efi_loader/efi_var_common.c | 3 + 12 files changed, 356 insertions(+), 93 deletions(-) -- 2.17.1