-
Notifications
You must be signed in to change notification settings - Fork 108
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
ChunkSeqNo
should not wrap
#2875
Comments
Good finding. Read the spec, the LargeMessageSize is present when ChunkSeqNo is 0. But it is not considered on wrap case. I think we should prevent wrap from happening. |
The SPDM Working Group confirmed that it does not wrap. This will be made more explicit in the specification. |
I'll take this. |
@Li-Aaron if the Responder is sending a message and it's too large for |
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
Fix DMTF#2875 Signed-off-by: Aaron Li <[email protected]>
I believe a reading of the Large SPDM message transfer mechanism implies that
ChunkSeqNo
should not wrap. Ie, if the message is too large for65536
chunks then it should not be sent. However libspdm assumes wrapping, for examplelibspdm/library/spdm_responder_lib/libspdm_rsp_chunk_get.c
Line 157 in 30014a8
I filed https://github.com/DMTF/SPDM-WG/issues/3703 to increase the size of
ChunkSeqNo
so that we don't have to think about this for SPDM 1.4 and greater.The text was updated successfully, but these errors were encountered: