1 comment:
Patch Set #2, Line 259: static const uint8_t pcr0_unchanged_policy[] = {
I want to use tlcl_define_space in my code and done some tests.
I used
`tpm2_policypcr -S session.dat -L "sha256:0" -F pcr.dat`
that generates a digest that looks similar:
policy-digest: 0x09 3C EB 41 18 1D 47 80 88 62 D7 94 62 68 EE 6A 17 A1 0E 3D 1B 79 B3 23 51 BC 56 E4 BE AC EF F0
For me it looks like the parser that was used to generate pcr0_unchanged_policy "shifted" the digest by 4 bit instead of 8.
Are you sure the digest in coreboot is correct?
To view, visit change 15635. To unsubscribe, or for help writing mail filters, visit settings.