Closed tomoveu closed 3 years ago
Typical TPM 2.0 implementations have only 24 PCR registers.
Before, wolfTPM2_ReadPCR would fail with TPM_RC_VALUE if invalid value is given.
Per a user request, we modify wolfTPM2_ReadPCR, so it does not accept invalid values.
Signed-off-by: Dimitar Tomov dimi@wolfssl.com
Hi @elms, Could you please review and merge if good?
I saw that we are both on the same wolfSSL forum thread where this originated.
Typical TPM 2.0 implementations have only 24 PCR registers.
Before, wolfTPM2_ReadPCR would fail with TPM_RC_VALUE if invalid value is given.
Per a user request, we modify wolfTPM2_ReadPCR, so it does not accept invalid values.
Signed-off-by: Dimitar Tomov dimi@wolfssl.com