boot/measure: replace TPM PolicyPCR session with calculation
authorDan Streetman <ddstreet@ieee.org>
Fri, 5 May 2023 23:48:14 +0000 (19:48 -0400)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 27 May 2023 06:50:04 +0000 (08:50 +0200)
commitb2efe286587e11e2aa4a6c7e4a2c15da3bb58a2a
tree0f805b2a1a21093b3a28b47148563683b0274ef8
parent9e39cb28559fcc4ac7b870fb59c556f4adc80e0e
boot/measure: replace TPM PolicyPCR session with calculation

Instead of using a trial policy with a TPM to calculate the measurement hash,
this uses a function to calculate the hash with no TPM needed.
src/boot/measure.c