All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tpm: Add TPM2_GetTestResult command support
@ 2023-08-02  8:35 Julia Daxenberger
  2023-08-02  8:35 ` [PATCH v2 1/2] " Julia Daxenberger
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Julia Daxenberger @ 2023-08-02  8:35 UTC (permalink / raw)
  To: u-boot; +Cc: ilias.apalodimas, sjg, julia.daxenberger

Add TPM2_GetTestResult command support and change the command file and the
help accordingly. Add Python tests and sandbox driver functionality.

Currently, the tpm2_self_test function is implemented and can be called
directly. The get_test_result function enables interested parties to
retrieve the test result provided by the self test.

---
Changes in v2:
- Apply style changes suggested by Ilias Apalodimas
<ilias.apalodimas@linaro.org>
- Move test cases reliant on restart_uboot() to seperate patch in
response to Simon Glass <sjg@chromium.org>
- Change test result data to be read directly from the response
- Fix minor style issues

Julia Daxenberger (2):
tpm: Add TPM2_GetTestResult command support
tpm: Add error scenarios to get_test_result test

 cmd/tpm-v2.c                   | 60 +++++++++++++++++++++
 drivers/tpm/tpm2_tis_sandbox.c | 51 +++++++++++++++++-
 include/tpm-v2.h               | 23 ++++++++
 lib/tpm-v2.c                   | 97 ++++++++++++++++++++++++++++++++++
 test/py/tests/test_tpm2.py     | 50 ++++++++++++++++
 5 files changed, 280 insertions(+), 1 deletion(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-10  9:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-02  8:35 [PATCH v2 0/2] tpm: Add TPM2_GetTestResult command support Julia Daxenberger
2023-08-02  8:35 ` [PATCH v2 1/2] " Julia Daxenberger
2023-08-02 21:31   ` Simon Glass
2023-08-02  8:35 ` [PATCH v2 2/2] tpm: Add error scenarios to get_test_result test Julia Daxenberger
2023-08-02 21:31   ` Simon Glass
2023-08-10  9:10 ` [PATCH v2 0/2] tpm: Add TPM2_GetTestResult command support Ilias Apalodimas

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.