DMTF / SPDM-Responder-Validator

BSD 3-Clause "New" or "Revised" License
9 stars 13 forks source link

question about spdm_request_size #90

Closed YangYunLong1988 closed 1 year ago

YangYunLong1988 commented 1 year ago

SPDM-Responder-Validator\library\spdm_responder_conformance_test_lib\spdm_responder_test_7_measurements.c Line 630: / ignore spdm_request.nonce / spdm_request.slot_id_param = slot_id; if (version == SPDM_MESSAGE_VERSION_10) { spdm_request_size = offsetof(spdm_get_measurements_request_t, slot_id_param); } else { spdm_request_size = sizeof(spdm_get_measurements_request_t); }

Based on SPDM spec 1.2.0 Page87, Nonce and SlotIDParam will not exist if param1=0, Could you clarify on this ?

jyao1 commented 1 year ago

agree it is a bug.