jyao1 / openspdm

This openspdm is a sample implementation for the DMTF SPDM specification.
Other
20 stars 22 forks source link

Add check for MeasurementSpecSel in measurement record block #140

Closed jyao1 closed 3 years ago

jyao1 commented 3 years ago

See #137, test case feedback 4.

TestSpdmRequesterGetMeasurement fail due to one of the following reasons: MeasurementSpecification is not validated (as specified in line 331 Measurement block format) (test cases 19, 20, 21) The aforementioned tests are commented in the attached patch.

We may add check to see if the format matches the negotiated MeasurementSpecSel.

jyao1 commented 3 years ago

Fixed a3a7d9e891d1849eb5bb9d15b467ad1f08dbf58c