]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Support boot measurements
authorEddie James <eajames@linux.ibm.com>
Tue, 24 Oct 2023 15:43:49 +0000 (10:43 -0500)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 27 Oct 2023 10:14:47 +0000 (13:14 +0300)
commit97707f12fdabf5fab5942504dab711a665854942
tree3e4ecb65ecf6ddd9ea7bcf9e20353dad305d737c
parent54b96e8b2bae9b61e9e178f9f10cf1b81bcda9ad
tpm: Support boot measurements

Add TPM2 functions to support boot measurement. This includes
starting up the TPM, initializing/appending the event log, and
measuring the U-Boot version. Much of the code was used in the
EFI subsystem, so remove it there and use the common functions.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
For the API moving around from EFI -> u-boot core
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
For EFI testing
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_tcg2.h
include/tpm-v2.h
lib/Kconfig
lib/efi_loader/efi_tcg2.c
lib/tpm-v2.c