[PATCH 0/8] tpm: Various minor fixes and enhancements
Simon Glass
sjg at chromium.org
Tue Mar 1 01:11:17 CET 2022
This series contains some minor enhancements for the TPM code to make it
work with Chromium OS verified boot.
Simon Glass (8):
tpm: Export the TPM-version functions
tpm: Require a digest source when extending the PCR
tpm: Correct the permissions command in TPMv1
tpm: Correct the define-space command in TPMv2
tpm: sandbox: Allow init of TPM in a different phase
tpm: Allow reporting the internal state
tpm: Implement state command for Cr50
tpm: Allow commiting non-volatile data
cmd/tpm-common.c | 20 ++++++
cmd/tpm-user-utils.h | 2 +
cmd/tpm-v1.c | 3 +-
cmd/tpm-v2.c | 3 +
cmd/tpm_test.c | 5 +-
drivers/tpm/cr50_i2c.c | 117 +++++++++++++++++++++++++++++++++
drivers/tpm/tpm-uclass.c | 10 +++
drivers/tpm/tpm2_tis_sandbox.c | 17 ++++-
include/tpm-common.h | 20 ++++++
include/tpm-v2.h | 68 +++++++++++++++++++
include/tpm_api.h | 18 ++++-
lib/tpm-v1.c | 5 +-
lib/tpm-v2.c | 64 ++++++++++++++++--
lib/tpm_api.c | 102 ++++++++++++++--------------
test/dm/Makefile | 1 +
test/dm/tpm.c | 34 ++++++++++
16 files changed, 419 insertions(+), 70 deletions(-)
create mode 100644 test/dm/tpm.c
--
2.35.1.574.g5d30c73bfb-goog
More information about the U-Boot
mailing list