[v2,0/2] PE/COFF measurement support

Message ID 20210427130811.11121-1-masahisa.kojima@linaro.org
Headers show
Series
  • PE/COFF measurement support
Related show

Message

Masahisa Kojima April 27, 2021, 1:08 p.m.
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 (2):
  efi_loader: expose efi_image_parse() even if UEFI Secure Boot is
    disabled
  efi_loader: add PE/COFF image measurement

 include/efi_loader.h              |   6 +
 include/efi_tcg2.h                |   9 ++
 include/tpm-v2.h                  |  18 +++
 lib/efi_loader/Kconfig            |   9 ++
 lib/efi_loader/Makefile           |   2 +-
 lib/efi_loader/efi_image_loader.c | 132 +++++++++++++++----
 lib/efi_loader/efi_signature.c    |  67 +---------
 lib/efi_loader/efi_tcg2.c         | 207 ++++++++++++++++++++++++++++--
 lib/efi_loader/efi_var_common.c   |   3 +
 9 files changed, 354 insertions(+), 99 deletions(-)

-- 
2.17.1