Skip to content

selftests: tpm2: Probe for available PCR bank

Stefan Berger linux-integrity linux-kselftest lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selftests: tpm2: Probe for available PCR banktools/testing/selftests/tpm2/tpm2_tests.py+27 -83 replies
2/3selftests: tpm2: Reset the dictionary attack locktools/testing/selftests/tpm2/tpm2_tests.py+1 -00 replies
3/3selftests: tpm2: Add support for SHA-384 and SHA-512tools/testing/selftests/tpm2/tpm2.py tools/testing/selftests/tpm2/tpm2_tests.py+13 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] selftests: tpm2: Probe for available PCR bank

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(-)
Signature · 1 line
2.31.1