libtpms/tests
Stefan Berger ad95a32cf2 tpm2: fix PCRBelongsTCBGroup for PCClient (bugfix)
Fix PCRBelongsTCBGroup by adjusting the set of PCRs that belong to the TCB
Group. The effect of this is that PCR changes to PCR 16 (for example) do
not change the pcrUpdateCounter anymore. The effect *should not* have any
negative side effects when using the TPM.

We also need to update the test cases that now show a different
pcrUpdateCounter in the responses. Also 'swtpm' test cases need
to be fixed to expect the changed result.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-06-29 08:48:45 -04:00
..
corpus-execute-command tests: add an initial corpus for fuzzing 2018-06-15 18:07:49 -04:00
base64decode.c Add a test case for the TPMLIB_DecodeBlob API 2014-01-08 11:43:37 -05:00
base64decode.sh scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:33:34 +00:00
common tests: Add simple test case reading PCRs and writing state file 2018-12-17 19:52:32 -05:00
freebl_sha1flattensize.c Fix support for ARM64 2014-06-30 15:04:15 -04:00
fuzz.c tests: Fix missing semicolon in test case 2019-01-06 15:58:02 -05:00
Makefile.am tests: Add a test program to run the TPM 2 self tests 2019-05-10 09:42:35 -04:00
nvram_offsets.c tpm2: adapt NVRAM offsets and check structure sizes 2018-06-15 18:07:49 -04:00
run-fuzzer.sh tests: Wrap the fuzzer test in a script 2018-12-10 09:17:25 -05:00
tpm2_pcr_read.c tpm2: fix PCRBelongsTCBGroup for PCClient (bugfix) 2020-06-29 08:48:45 -04:00
tpm2_pcr_read.sh tests: Add simple test case reading PCRs and writing state file 2018-12-17 19:52:32 -05:00
tpm2_selftest.c tests: Add a test program to run the TPM 2 self tests 2019-05-10 09:42:35 -04:00
tpm2_selftest.sh tests: Add a test program to run the TPM 2 self tests 2019-05-10 09:42:35 -04:00