summaryrefslogtreecommitdiff
path: root/lib/tpm-v2.c
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@linaro.org>2021-11-29 10:39:44 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-11-30 11:23:49 +0300
commit34287efdaf6ed186a64445f65227b5407a1dcd63 (patch)
tree4970ebd5afe25dc716afba4a2a36a6e4b008ff49 /lib/tpm-v2.c
parent3b7bf8a9e48f0951e4060f832bba409fd406273e (diff)
downloadu-boot-34287efdaf6ed186a64445f65227b5407a1dcd63.tar.xz
efi_loader: Add check for event log passed from firmware
Platforms may have support to measure their initial firmware components and pass the event log to u-boot. The event log address can be passed in property tpm_event_log_addr and tpm_event_log_size of the tpm node. Platforms may choose their own specific mechanism to do so. A weak function is added to check if even log has been passed to u-boot from earlier firmware components. If available, the eventlog is parsed to check for its correctness and further event logs are appended to the passed log. 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 'lib/tpm-v2.c')
0 files changed, 0 insertions, 0 deletions