diff --git a/DeviceSecurityTestPkg/SpdmDeviceSecurityDxe/SpdmDeviceSecurityDxe.c b/DeviceSecurityTestPkg/SpdmDeviceSecurityDxe/SpdmDeviceSecurityDxe.c index 6f8f6e5a1e3..6056530f6f8 100644 --- a/DeviceSecurityTestPkg/SpdmDeviceSecurityDxe/SpdmDeviceSecurityDxe.c +++ b/DeviceSecurityTestPkg/SpdmDeviceSecurityDxe/SpdmDeviceSecurityDxe.c @@ -461,7 +461,11 @@ CreateSpdmDriverContext ( Data16 = SPDM_ALGORITHMS_KEY_SCHEDULE_HMAC_HASH; SpdmSetData (SpdmContext, SpdmDataKeySchedule, &Parameter, &Data16, sizeof (Data16)); Data8 = SPDM_ALGORITHMS_OPAQUE_DATA_FORMAT_1; - SpdmSetData (SpdmContext, SpdmDataOtherParamsSsupport, &Parameter, &Data8, sizeof (Data8)); + SpdmSetData (SpdmContext, SpdmDataOtherParamsSupport, &Parameter, &Data8, sizeof (Data8)); + Data8 = SPDM_MEL_SPECIFICATION_DMTF; + SpdmSetData (SpdmContext, SpdmDataMelSpec, &Parameter, &Data8, sizeof (Data8)); + Data8 = 0x3F; + SpdmSetData (SpdmContext, SpdmDataLocalSupportedSlotMask, &Parameter, &Data8, sizeof (Data8)); IsRequrester = TRUE; SpdmReturn = SpdmSetData (SpdmContext, LIBSPDM_DATA_IS_REQUESTER, &Parameter, &IsRequrester, sizeof (IsRequrester)); if (LIBSPDM_STATUS_IS_ERROR (SpdmReturn)) { diff --git a/DeviceSecurityTestPkg/Test/PciIoPciDoeStub/PciIoPciDoeStub.c b/DeviceSecurityTestPkg/Test/PciIoPciDoeStub/PciIoPciDoeStub.c index 4f0a1ae64e8..28d6c62a1fc 100644 --- a/DeviceSecurityTestPkg/Test/PciIoPciDoeStub/PciIoPciDoeStub.c +++ b/DeviceSecurityTestPkg/Test/PciIoPciDoeStub/PciIoPciDoeStub.c @@ -1138,7 +1138,11 @@ MainEntryPoint ( Data16 = SPDM_ALGORITHMS_KEY_SCHEDULE_HMAC_HASH; SpdmSetData (SpdmContext, SpdmDataKeySchedule, &Parameter, &Data16, sizeof (Data16)); Data8 = SPDM_ALGORITHMS_OPAQUE_DATA_FORMAT_1; - SpdmSetData (SpdmContext, SpdmDataOtherParamsSsupport, &Parameter, &Data8, sizeof (Data8)); + SpdmSetData (SpdmContext, SpdmDataOtherParamsSupport, &Parameter, &Data8, sizeof (Data8)); + Data8 = SPDM_MEL_SPECIFICATION_DMTF; + SpdmSetData (SpdmContext, SpdmDataMelSpec, &Parameter, &Data8, sizeof (Data8)); + Data8 = 0x3F; + SpdmSetData (SpdmContext, SpdmDataLocalSupportedSlotMask, &Parameter, &Data8, sizeof (Data8)); InitializeSpdmTest (&mSpdmTestDeviceContext); diff --git a/DeviceSecurityTestPkg/Test/SpdmStub/SpdmStub.c b/DeviceSecurityTestPkg/Test/SpdmStub/SpdmStub.c index 9a18bc2e831..fe8c71e48eb 100644 --- a/DeviceSecurityTestPkg/Test/SpdmStub/SpdmStub.c +++ b/DeviceSecurityTestPkg/Test/SpdmStub/SpdmStub.c @@ -402,7 +402,11 @@ MainEntryPoint ( Data16 = SPDM_ALGORITHMS_KEY_SCHEDULE_HMAC_HASH; SpdmSetData (SpdmContext, SpdmDataKeySchedule, &Parameter, &Data16, sizeof (Data16)); Data8 = SPDM_ALGORITHMS_OPAQUE_DATA_FORMAT_1; - SpdmSetData (SpdmContext, SpdmDataOtherParamsSsupport, &Parameter, &Data8, sizeof (Data8)); + SpdmSetData (SpdmContext, SpdmDataOtherParamsSupport, &Parameter, &Data8, sizeof (Data8)); + Data8 = SPDM_MEL_SPECIFICATION_DMTF; + SpdmSetData (SpdmContext, SpdmDataMelSpec, &Parameter, &Data8, sizeof (Data8)); + Data8 = 0x3F; + SpdmSetData (SpdmContext, SpdmDataLocalSupportedSlotMask, &Parameter, &Data8, sizeof (Data8)); IsRequrester = FALSE; SpdmSetData (SpdmContext, LIBSPDM_DATA_IS_REQUESTER, &Parameter, &IsRequrester, sizeof (IsRequrester));