DMTF / spdm-emu

BSD 3-Clause "New" or "Revised" License
32 stars 44 forks source link

need to have better way to demonstrate how to do 1-by-1 measurement calculation. #346

Closed jyao1 closed 5 months ago

jyao1 commented 6 months ago

In SPDM 1.2 spec, the L1/L2 will be reset in case of MEASUREMENT error. That impacts 1-by-1 calculation.

If a device supports Measurement 1 and Measurement 3, then our current mechanism will cause Measurement 1 NOT included in final transcript, because Measurement 2 is missing.

One way to resolve this is to use 2 round calculation: We need to collect list at first, then do precise calculation in second round to ensure all data is covered in transcript.