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.
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.