OpaqueData
format should be different between SPDM 1.1.2 and SPDM 1.2.1
#2462
Labels
bug
Something isn't working
OpaqueData
format should be different between SPDM 1.1.2 and SPDM 1.2.1.In DSP0274_1.1.2.pdf.
1.1 Refer to the paragraph 256
Successful CHALLENGE_AUTH response message format
1.2 Refer to the paragraph 327
Successful MEASUREMENTS response message format
In DSP0274_1.2.1.pdf.
2.1 Refer to the paragraph 353
Table 36 — Successful CHALLENGE_AUTH response message format
2.2 Refer to the paragraph 417
Table 43 — Successful MEASUREMENTS response message format
But the code always generate the
OpaqueData
Free-form inlibspdm_challenge_opaque_data
,libspdm_encap_challenge_opaque_data
andlibspdm_measurement_opaque_data
, ignore the SPDM version and the selected opaque data format inOtherParamsSelection
.libspdm/os_stub/spdm_device_secret_lib_sample/lib.c
Lines 1232 to 1274 in 955350e
libspdm/os_stub/spdm_device_secret_lib_sample/lib.c
Lines 1207 to 1228 in 955350e
The text was updated successfully, but these errors were encountered: