]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Measure the loaded DTB
authorEtienne Carriere <etienne.carriere@linaro.org>
Thu, 16 Feb 2023 16:29:48 +0000 (17:29 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 19 Feb 2023 20:15:15 +0000 (21:15 +0100)
commite90ab4a7f46a40bd55cf067bce91fd6b05e6436f
tree9a178c2030488c7a67cd99e44beb2b7305724f20
parentc6722a43414330bb1c48facecee1dbc3daf5b12f
efi_loader: Measure the loaded DTB

Measures the DTB passed to the EFI application upon new boolean config
switch CONFIG_EFI_TCG2_PROTOCOL_MEASURE_DTB. For platforms where the
content of the DTB passed to the OS can change across reboots, there is
not point measuring it hence the config switch to allow platform to not
embed this feature.

Co-developed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/bootefi.c
include/efi_loader.h
include/efi_tcg2.h
include/tpm-v2.h
lib/efi_loader/Kconfig
lib/efi_loader/efi_tcg2.c