Include the PCRs 0 and 17 in the selection
PCR_Allocate might need the DRTM_PCR and the HCRTM_PCR.
If DRTM and HCRTM are not defined, this does no harm to the test.
Signed-off-by: Schwarzmeier Ricardo (IFAG CCS ESS D SW A) <Ricardo.Schwarzmeier@infineon.com>
diff --git a/test/integration/esys-pcr-basic.int.c b/test/integration/esys-pcr-basic.int.c
index c3ca2aa..2410fe3 100644
--- a/test/integration/esys-pcr-basic.int.c
+++ b/test/integration/esys-pcr-basic.int.c
@@ -70,11 +70,11 @@
.pcrSelections = {
{ .hash = TPM2_ALG_SHA1,
.sizeofSelect = 3,
- .pcrSelect = { 00, 00, 01},
+ .pcrSelect = { 01, 00, 03},
},
{ .hash = TPM2_ALG_SHA256,
.sizeofSelect = 3,
- .pcrSelect = { 00, 00, 01}
+ .pcrSelect = { 01, 00, 03}
},
}
};