9elements / converged-security-suite

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

manifest/key.go: Also print the correct KM hash for SKL/KBL #248

Closed ArthurHeymans closed 3 years ago

ArthurHeymans commented 3 years ago

On Intel Skylake and Kabylake the exponent is not included in the KM hash in the FPF, so also print what that hash would be for those platforms. Since it is often not possible to detect this at runtime with just a KM print both hashes. It's then up to the user to use the correct one.

Signed-off-by: Arthur Heymans arthur@aheymans.xyz