Re: [PATCH v2 2/2] tests: Skip over pcrUpdateCounter byte in result comparison

2020-07-07 Thread Stefan Berger
On 7/7/20 4:19 AM, David Gibson wrote: On Tue, Jul 07, 2020 at 12:05:22AM -0400, Stefan Berger wrote: Due to a change in the TPM 2 code the pcrUpdate counter in the PCRRead response is now different, so we skip comparison of the 14th byte. Can you elaborate on this a bit, both in the code

Re: [PATCH v2 2/2] tests: Skip over pcrUpdateCounter byte in result comparison

2020-07-07 Thread David Gibson
On Tue, Jul 07, 2020 at 12:05:22AM -0400, Stefan Berger wrote: > Due to a change in the TPM 2 code the pcrUpdate counter in the > PCRRead response is now different, so we skip comparison of the > 14th byte. Can you elaborate on this a bit, both in the code comment and the commit message. > >

[PATCH v2 2/2] tests: Skip over pcrUpdateCounter byte in result comparison

2020-07-06 Thread Stefan Berger
Due to a change in the TPM 2 code the pcrUpdate counter in the PCRRead response is now different, so we skip comparison of the 14th byte. Signed-off-by: Stefan Berger --- tests/qtest/tpm-util.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/qtest/tpm-util.c