-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test case 7.5 for MEASUREMENTS. #118
Conversation
7f46d09
to
80d1efd
Compare
doc/7.Measurements.md
Outdated
@@ -277,6 +277,8 @@ Assertion 7.5.2: | |||
Assertion 7.5.3: | |||
if (SpdmMeasurementBlock[i].Measurement.DMTFSpecMeasurementValueType.bit_7 = 0) then (SpdmMeasurementBlock[i].Measurement.DMTFSpecMeasurementValueSize == HashSize) | |||
|
|||
Assertion 7.5.4: | |||
When DMTFSpecMeasurementValueType[6:0]=0x5 , DMTFSpecMeasurementValueType[7] shall be set to 1b . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Please leave a blank line. Follow the same style.
-
Please use the same style for description, such as AAA == BBB, if CCC, or if () then (AAA == BBB)
-
Please describe this is for 1.2 only, with same style as others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. i have modified
please show the test result. |
9f972e1
to
240c505
Compare
{SPDM_RESPONDER_TEST_CASE_MEASUREMENTS_SPDM_MEASUREMENT_BLOCK, | ||
"spdm_test_case_measurements_success_measurements_block", | ||
spdm_test_case_measurements_success_measurement_block, | ||
spdm_test_case_measurements_setup_measurement_block, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use spdm_test_case_measurements_setup_version_any?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I modified these questions
library/spdm_responder_conformance_test_lib/spdm_responder_test_7_measurements.c
Outdated
Show resolved
Hide resolved
library/spdm_responder_conformance_test_lib/spdm_responder_test_7_measurements.c
Outdated
Show resolved
Hide resolved
library/spdm_responder_conformance_test_lib/spdm_responder_test_7_measurements.c
Outdated
Show resolved
Hide resolved
library/spdm_responder_conformance_test_lib/spdm_responder_test_7_measurements.c
Outdated
Show resolved
Hide resolved
Signed-off-by: Xiaohanjlll <[email protected]>
240c505
to
f0c864a
Compare
fix: #117
fix: #112