libspdm icon indicating copy to clipboard operation
libspdm copied to clipboard

No selected OpaqueDataFmt should be legal

Open steven-bellock opened this issue 3 years ago • 0 comments

libspdm requires OpaqueDataFmt1 to be selected during NEGOTIATE_ALGORITHMS. See : https://github.com/DMTF/libspdm/blob/21729b5456e7075a23ca8918d0b12b3a4a0eac43/library/spdm_requester_lib/libspdm_req_negotiate_algorithms.c#L476-L481

However it should be legal to have no OpaqueData. From the specification

If the Requester or the Responder does not set a bit, then all OpaqueData fields in this specification shall be absent by setting the respective OpaqueDataLen field to a value of zero.

steven-bellock avatar Nov 11 '22 19:11 steven-bellock