[PATCH v2 1/2] tpm: Add TPM2_GetTestResult command support
Simon Glass
sjg at chromium.org
Wed Aug 2 23:31:25 CEST 2023
On Wed, 2 Aug 2023 at 02:35, Julia Daxenberger
<julia.daxenberger at infineon.com> wrote:
>
> Add TPM2_GetTestResult command support and change the command file and the
> help accordingly. Add Python tests and sandbox driver functionality.
>
> The TPM2_GetTestResult command is performed after the TPM2_SelfTest command
> and returns manufacturer-specific information regarding the results of the
> self-test and an indication of the test status.
>
> Signed-off-by: Julia Daxenberger <julia.daxenberger at infineon.com>
> ---
> Changes in v2:
> - Apply style changes suggested by Ilias Apalodimas
> <ilias.apalodimas at linaro.org>
> - Move test cases reliant on restart_uboot() to separate patch in
> response to Simon Glass <sjg at chromium.org>
> - Change test result data to be read directly from the response
> - Fix minor style issues
>
> 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 | 22 ++++++++
> 5 files changed, 252 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list