]> Git Repo - u-boot.git/commit - lib/efi_loader/Kconfig
efi_loader: add PE/COFF image measurement
authorMasahisa Kojima <[email protected]>
Wed, 26 May 2021 03:09:58 +0000 (12:09 +0900)
committerHeinrich Schuchardt <[email protected]>
Fri, 28 May 2021 14:17:01 +0000 (16:17 +0200)
commit163a0d7e2cbdbdf26d90ac8d30c0495b814f3245
treee7ea6a6d79f9e4769f7fcb0c0c909992954a2423
parent464010b0be09505aaf50ec208f996a6cf478a2dc
efi_loader: add PE/COFF image measurement

"TCG PC Client Platform Firmware Profile Specification"
requires to measure every attempt to load and execute
a OS Loader(a UEFI application) into PCR[4].
This commit adds the PE/COFF image measurement, extends PCR,
and appends measurement into Event Log.

Acked-by: Ilias Apalodimas <[email protected]>
Tested-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Masahisa Kojima <[email protected]>
Replace CONFIG_HASH_CALCULATE by CONFIG_HASH
Fix conversions between pointers and u64.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
include/efi_loader.h
include/efi_tcg2.h
include/tpm-v2.h
lib/efi_loader/Kconfig
lib/efi_loader/efi_image_loader.c
lib/efi_loader/efi_tcg2.c
This page took 0.036057 seconds and 4 git commands to generate.