Skip to content

Conversation

@Li-Aaron
Copy link
Contributor

fix #3402

@Li-Aaron Li-Aaron marked this pull request as ready for review January 23, 2026 11:27
* Opaque data should be less than 1024 bytes.
* On output, the size of the opaque data.
*/
libspdm_return_t libspdm_start_session_ex_part2(void *spdm_context, bool use_psk,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • use_psk
  • slot_id
  • req_slot_id_param

should be stored in the session_info context and removed from the API.

Comment on lines 596 to 599
* @param requester_opaque_data A buffer to hold the requester opaque data, if not NULL.
* If not NULL, this function will not generate any opaque data,
* including secured message versions.
* @param requester_opaque_data_size The size of the opaque data, if requester_opaque_data is not NULL.
* @param responder_opaque_data A buffer to hold the responder opaque data, if not NULL.
* @param responder_opaque_data_size On input, the size of the opaque data buffer.
* Opaque data should be less than 1024 bytes.
* On output, the size of the opaque data.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These parameters are only used for SPDM 1.4 and later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Requester to input opaque data for finish and psk_finish

3 participants