Skip to content

Commit

Permalink
SecurityPkg: Update spdmstub after syncing libspdm 3.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Wenxing Hou <[email protected]>
  • Loading branch information
Wenxing-hou authored and jyao1 committed Jan 29, 2024
1 parent 85d0d95 commit c158bc0
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion SecurityPkg/DeviceSecurity/SpdmLib/Include/Stub/SpdmLibStub.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ typedef enum {
SpdmDataAEADCipherSuite,
SpdmDataReqBaseAsymAlg,
SpdmDataKeySchedule,
SpdmDataOtherParamsSsupport,
SpdmDataOtherParamsSupport,
SpdmDataMelSpec,

//
// Connection State
//
Expand All @@ -127,6 +129,10 @@ typedef enum {
SpdmDataPeerPublicRootCert,
SpdmDataPeerPublicKey,
SpdmDataLocalPublicKey,
SpdmDataLocalSupportedSlotMask,
SpdmDataLocalKeyPairId,
SpdmDataLocalCertInfo,
SpdmDataLocalKeyUsageBitMask,

SpdmDataBasicMutAuthRequested,
SpdmDataMutAuthRequested,
Expand All @@ -136,7 +142,12 @@ typedef enum {
//
SpdmDataPeerUsedCertChainBuffer,
SpdmDataPeerSlotMask,
SpdmDataPeerProvisionedSlotMask = SpdmDataPeerSlotMask,
SpdmDataPeerSupportedSlotMask,
SpdmDataPeerTotalDigestBuffer,
SpdmDataPeerKeyPairId,
SpdmDataPeerCertInfo,
SpdmDataPeerKeyUsageBitMask,

//
// Pre-shared Key Hint
Expand Down Expand Up @@ -183,6 +194,14 @@ typedef enum {
SpdmDataSessionSequenceNumberReqDir,
SpdmDataMaxSessionSequenceNumber,

/* For SPDM 1.0 and 1.1, allow signature verification in big, little, or both endians. */
SpdmDataSpdmVersion1011VerifySigatureEndian,

SpdmDataSequenceNumberEndian,
SpdmDataSessionSequenceNumberEndian,

SpdmDataMultiKeyConnReq,
SpdmDataMultiKeyConnRsp,
//
// MAX
//
Expand Down

0 comments on commit c158bc0

Please sign in to comment.