Why data_transfer_size and max_spdm_msg_size must be equal when chunk capabilities are disabled? #2427
Answered
by
steven-bellock
ssunder-xilinx
asked this question in
Q&A
-
May I know why the responder generating the SPDM_ERROR_CODE_INVALID_REQUEST error when the chunk capabilities are disabled and data_transfer_size and max_spdm_msg_size are not equal? external/product/libspdm/library/spdm_responder_lib/libspdm_rsp_capabilities.c
Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
steven-bellock
Nov 7, 2023
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ssunder-xilinx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was clarified in 1.3 and will eventually be clarified in 1.2.2 when that gets published.
On the flip-side, if the Requester does not support chunking then what does it mean to have
DataTransferSize != MaxSPDMmsgSize
?DataTransferSize
is the size of the transmission buffer.MaxSPDMmsgSize
is the size of the backing buffer into which chunks are re-assembled. If chunking is not supported then the two buffers, and their sizes, are the same.