Skip to content

Libspdm implementation query #837

Answered by jyao1
PoojaGaur1708 asked this question in Q&A
Discussion options

You must be logged in to vote

I feel you should use *message = &m_send_receive_buffer[10];, since your MCTP message starts at byte 10.

However, why there is 0x7 in the middle?

data[10] :0x5
data[11] :0x7 //No. of SPDM bytes received
data[12] :0x10 //spdm data

@PoojaGaur1708 , you are NOT following https://www.dmtf.org/sites/default/files/standards/documents/DSP0275_1.0.0.pdf.

Please read the spec. the length field should be absent.

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alokprasad
Comment options

Comment options

You must be logged in to vote
1 reply
@PoojaGaur1708
Comment options

Comment options

You must be logged in to vote
1 reply
@PoojaGaur1708
Comment options

Comment options

You must be logged in to vote
1 reply
@PoojaGaur1708
Comment options

Answer selected by jyao1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants