Closed trynity closed 2 years ago
Going to add the ability to have multiple event types for the same measurement per @rihter007's feedback
@rihter007, @trynity : Just a thought: May be we should use different MeasurementID for this case?
@rihter007, @trynity : Just a thought: May be we should use different MeasurementID for this case?
I remembered we had a discussion about it back in August. The reason behind supporting both of them is that both values fit the docs as @trynity mentioned. So, as we desire to support generic behaviour, we should make this measurementID be aligned with both options
@xaionaro @rihter007 Adjusted the approach now to allow multiple event types for a measurement, let me know if it should be further refined, I'm not quite sure how to do it in a more intelligent way (Such as detect the TCG spec version somehow)
Will address the nits in a follow-up PR
On AMD Platforms, this particular measurement can be EV_EFI_PLATFORM_FIRMWARE_BLOB2 with the newer TCG 1.5 spec.
Ideally, we should be able to tell which version of the TCG spec is being used for the firmware, but this can be done right now in order to unblock.