diff options
| author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2021-05-26 12:09:58 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-05-28 16:17:01 +0200 |
| commit | 163a0d7e2cbdbdf26d90ac8d30c0495b814f3245 (patch) | |
| tree | e7ea6a6d79f9e4769f7fcb0c0c909992954a2423 /lib/efi_loader/Kconfig | |
| parent | 464010b0be09505aaf50ec208f996a6cf478a2dc (diff) | |
| download | u-boot-163a0d7e2cbdbdf26d90ac8d30c0495b814f3245.tar.gz u-boot-163a0d7e2cbdbdf26d90ac8d30c0495b814f3245.tar.xz u-boot-163a0d7e2cbdbdf26d90ac8d30c0495b814f3245.zip | |
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 <ilias.apalodimas@linaro.org>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Replace CONFIG_HASH_CALCULATE by CONFIG_HASH
Fix conversions between pointers and u64.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/efi_loader/Kconfig')
| -rw-r--r-- | lib/efi_loader/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index a6f38d1385..6242caceb7 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -309,6 +309,7 @@ config EFI_TCG2_PROTOCOL select SHA512_ALGO select SHA384 select SHA512 + select HASH help Provide a EFI_TCG2_PROTOCOL implementation using the TPM hardware of the platform. |
