[PATCH v2 1/1] efi_selftest: add selftest for EFI_TCG2_PROTOCOL and Measured Boot
Simon Glass
sjg at chromium.org
Fri Nov 5 03:02:35 CET 2021
Hi,
On Thu, 4 Nov 2021 at 04:43, Masahisa Kojima <masahisa.kojima at linaro.org> wrote:
>
> This commit adds the missing EFI_TCG2_PROTOCOL selftest
> and Measured Boot selftest in lib/efi_selftest.
>
> This selftest includes PE/COFF image measurement test,
> some PCR values are different in each architecture.
> With that, this commit also adds the pre-build efi application
> for PE/COFF image measurement test for 32-bit arm, arm64,
> ia32, x86_64, riscv32 and riscv64.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima at linaro.org>
> ---
> lib/efi_selftest/efi_miniapp_tcg2_arm.h | 152 ++++
> lib/efi_selftest/efi_miniapp_tcg2_arm64.h | 207 +++++
> lib/efi_selftest/efi_miniapp_tcg2_ia32.h | 177 ++++
> lib/efi_selftest/efi_miniapp_tcg2_riscv32.h | 173 ++++
> lib/efi_selftest/efi_miniapp_tcg2_riscv64.h | 189 ++++
> lib/efi_selftest/efi_miniapp_tcg2_x86_64.h | 178 ++++
> lib/efi_selftest/efi_selftest_tcg2.c | 941 +++++++++++++++++++-
> 7 files changed, 2016 insertions(+), 1 deletion(-)
> create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_arm.h
> create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_arm64.h
> create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_ia32.h
> create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_riscv32.h
> create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_riscv64.h
> create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_x86_64.h
I assume this was generated somehow. Can you add the script to docs or
something like that?
Regards,
Simon
More information about the U-Boot
mailing list