diff options
author | Ruchika Gupta <ruchika.gupta@linaro.org> | 2021-11-29 10:39:46 +0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-11-30 11:23:49 +0300 |
commit | c0d9bb0b4a747a7ec481b2369391ca8f53e50bc9 (patch) | |
tree | a6d0c08733eb50431342d440152754baf19fba2e /fs/btrfs | |
parent | 2957a1e22407a84a2cc7c4ea5a8136af1d0278d9 (diff) | |
download | u-boot-c0d9bb0b4a747a7ec481b2369391ca8f53e50bc9.tar.xz |
efi_loader: Extend PCR's for firmware measurements
Firmwares before U-Boot may be capable of doing tpm measurements
and passing them to U-Boot in the form of eventlog. However there
may be scenarios where the firmwares don't have TPM driver and
are not capable of extending the measurements in the PCRs.
Based on TCG spec, if previous firnware has extended PCR's, PCR0
would not be 0. So, read the PCR0 to determine if the PCR's need
to be extended as eventlog is parsed or not.
Signed-off-by: Ruchika Gupta <ruchika.gupta@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions