9elements / converged-security-suite

Converged Security Suite for Intel & AMD platform security features
https://www.9esec.io
BSD 3-Clause "New" or "Revised" License
56 stars 15 forks source link

Handle misaligned TPM EventLog propertly #338

Closed xaionaro closed 1 year ago

xaionaro commented 2 years ago

Please review this PR on per-commit basis.

Here I do multiple improvements into TPM EventLog reproducing code. Sometimes we see TPM EventLog which is not aligned with expected PCR0 measurements. And we want to explain precisely what is wrong with the EventLog. In this PR I'm doing this thing.

xaionaro commented 2 years ago

@ChriMarMe : JFYI: one more big commit added to this PR.

xaionaro commented 2 years ago

Rebased.