]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Require a digest source when extending the PCR
authorSimon Glass <sjg@chromium.org>
Wed, 31 Aug 2022 03:05:32 +0000 (21:05 -0600)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Sat, 3 Sep 2022 13:53:58 +0000 (16:53 +0300)
commita557d258c6be49ec1253947a227189de149971df
tree0ebddc51dc00db955a9c3335a8836f1e6447383e
parent67fe8cc0016756f3479288b3f67d59a517e512d5
tpm: Require a digest source when extending the PCR

This feature is used for measured boot, so we can add a log entry to the
TCPA with some information about where the digest comes from. It is not
currently supported in the TPM drivers, but add it to the API so that
code which expects it can signal its request.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/tpm-v1.c
cmd/tpm_test.c
include/tpm_api.h
lib/tpm-v2.c
lib/tpm_api.c