From: Simon Glass <sjg@chromium.org>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Simon Glass <sjg@chromium.org>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Masahisa Kojima <masahisa.kojima@linaro.org>,
Mathew McBride <matt@traverse.com.au>,
Ruchika Gupta <ruchika.gupta@linaro.org>,
Sughosh Ganu <sughosh.ganu@linaro.org>
Subject: [PATCH v2 0/7] tpm: Various minor fixes and enhancements
Date: Sat, 13 Aug 2022 13:56:32 -0600 [thread overview]
Message-ID: <20220813195639.1824765-1-sjg@chromium.org> (raw)
This series contains some minor enhancements for the TPM code to make it
work with Chromium OS verified boot.
Changes in v2:
- Drop limits on the TPM hash size
- Update commit message
- Use constants instead of open-coded values
Simon Glass (7):
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 committing 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 | 8 ++-
lib/tpm-v1.c | 5 +-
lib/tpm-v2.c | 68 +++++++++++++++++--
lib/tpm_api.c | 10 +--
test/dm/Makefile | 1 +
test/dm/tpm.c | 34 ++++++++++
16 files changed, 370 insertions(+), 21 deletions(-)
create mode 100644 test/dm/tpm.c
--
2.37.1.595.g718a3a8f04-goog
next reply other threads:[~2022-08-13 19:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-13 19:56 Simon Glass [this message]
2022-08-13 19:56 ` [PATCH v2 1/7] tpm: Require a digest source when extending the PCR Simon Glass
2022-08-14 5:42 ` Heinrich Schuchardt
2022-08-13 19:56 ` [PATCH v2 2/7] tpm: Correct the permissions command in TPMv1 Simon Glass
2022-08-16 13:58 ` Ilias Apalodimas
2022-08-17 18:53 ` Simon Glass
2022-08-13 19:56 ` [PATCH v2 3/7] tpm: Correct the define-space command in TPMv2 Simon Glass
2022-08-13 19:56 ` [PATCH v2 4/7] tpm: sandbox: Allow init of TPM in a different phase Simon Glass
2022-08-13 19:56 ` [PATCH v2 5/7] tpm: Allow reporting the internal state Simon Glass
2022-08-13 19:56 ` [PATCH v2 6/7] tpm: Implement state command for Cr50 Simon Glass
2022-08-16 12:43 ` Ilias Apalodimas
2022-08-17 18:53 ` Simon Glass
2022-08-18 7:29 ` Ilias Apalodimas
2022-08-19 13:46 ` Simon Glass
2022-08-22 6:00 ` Ilias Apalodimas
2022-08-22 16:39 ` Simon Glass
2022-08-13 19:56 ` [PATCH v2 7/7] tpm: Allow committing non-volatile data Simon Glass
2022-08-16 13:09 ` Ilias Apalodimas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220813195639.1824765-1-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=ilias.apalodimas@linaro.org \
--cc=masahisa.kojima@linaro.org \
--cc=matt@traverse.com.au \
--cc=ruchika.gupta@linaro.org \
--cc=sughosh.ganu@linaro.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.