mbox series

[v2,0/3] selftests: tpm2: Probe for available PCR bank

Message ID 20211124141314.1356338-1-stefanb@linux.ibm.com (mailing list archive)
Headers show
Series selftests: tpm2: Probe for available PCR bank | expand

Message

Stefan Berger Nov. 24, 2021, 2:13 p.m. UTC
This series of patches fixes two issues with TPM2 selftest.
- Probes for available PCR banks
- Resets DA lock on TPM2 to avoid subsequent test failures

It also extends the test cases with support for SHA-384 and SHA-512
PCR banks.

  Stefan

v2:
 - Clarified patch 1 description 
 - Added patch 3 with support for SHA-384 and SHA-512

Stefan Berger (3):
  selftests: tpm2: Probe for available PCR bank
  selftests: tpm2: Reset the dictionary attack lock
  selftests: tpm2: Add support for SHA-384 and SHA-512

 tools/testing/selftests/tpm2/tpm2.py       | 12 ++++++-
 tools/testing/selftests/tpm2/tpm2_tests.py | 37 +++++++++++++++++-----
 2 files changed, 40 insertions(+), 9 deletions(-)