-
Notifications
You must be signed in to change notification settings - Fork 124
1.4 Add opaque to FINISH/PSK_FINISH #3150
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
Conversation
7a2deec
to
c0876d4
Compare
Why does this need PQC? Opaque data should be completely independent of that. |
@@ -603,8 +674,15 @@ libspdm_return_t libspdm_get_response_finish(libspdm_context_t *spdm_context, si | |||
spdm_response->header.param1 = 0; | |||
spdm_response->header.param2 = 0; | |||
|
|||
ptr = (uint8_t *)spdm_response + sizeof(spdm_finish_response_t); | |||
if (libspdm_get_connection_version(spdm_context) >= SPDM_MESSAGE_VERSION_14) { |
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 doesn't the Responder generate opaque data?
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.
No OpaqueData is required in FINISH by SPDM spec. It is same as today. No additional device specific OpaqueData is required in KEY_EXCHANGE.
This is for future Auth Spec.
The new OpaqueData handling will be addressed in #2936
This does not need PQC, but this does need SPDM 1.4. |
b109570
to
56977b2
Compare
Signed-off-by: Jiewen Yao <[email protected]>
Signed-off-by: Jiewen Yao <[email protected]>
Signed-off-by: Jiewen Yao <[email protected]>
Signed-off-by: Jiewen Yao <[email protected]>
Signed-off-by: Jiewen Yao <[email protected]>
Fix #3130
NOTE: This PR is based on #3129.