| /openbmc/pldm/libpldmresponder/test/ |
| H A D | mocked_bios.hpp | 9 class MockBIOSStringTable : public pldm::responder::bios::BIOSStringTable 19 void checkHeader(const pldm::responder::bios::Table& attrEntry, in checkHeader() 20 const pldm::responder::bios::Table& attrValueEntry) in checkHeader() 22 auto attrHeader = pldm::responder::bios::table::attribute::decodeHeader( in checkHeader() 25 pldm::responder::bios::table::attribute_value::decodeHeader( in checkHeader() 32 void checkEntry(pldm::responder::bios::Table& entry, in checkEntry() 33 pldm::responder::bios::Table& expectedEntry) in checkEntry() 50 void checkConstructEntry(pldm::responder::bios::BIOSAttribute& attribute, in checkConstructEntry() 51 pldm::responder::bios::BIOSStringTable& stringTable, in checkConstructEntry() 52 pldm::responder::bios::Table& expectedAttrEntry, in checkConstructEntry() [all …]
|
| H A D | libpldmresponder_fru_test.cpp | 14 using namespace pldm::responder::fru_parser; in TEST() 83 using namespace pldm::responder; in TEST() 84 using namespace pldm::responder::fru_parser; in TEST() 85 using namespace pldm::responder::dbus; in TEST() 118 pldm::responder::FruImpl mockedFruHandler( in TEST() 158 using namespace pldm::responder::dbus; in TEST() 171 pldm::responder::FruImpl mockedFruHandler( in TEST()
|
| /openbmc/pldm/libpldmresponder/ |
| H A D | fru_parser.hpp | 14 namespace responder namespace 48 std::tuple<pldm::responder::dbus::Service, pldm::responder::dbus::RootPath, 49 pldm::responder::dbus::Interfaces>; 51 pldm::responder::dbus::Interface, pldm::responder::dbus::Property, 52 pldm::responder::dbus::PropertyType, pldm::responder::fru::FieldType>; 55 std::tuple<pldm::responder::fru::RecordType, 56 pldm::responder::fru::EncodingType, std::vector<FieldInfo>>; 100 const pldm::responder::dbus::Interface& intf) const in getRecordInfo() 105 pldm::responder::dbus::EntityType getEntityType( in getEntityType() 106 const pldm::responder::dbus::Interface& intf) const in getEntityType() [all …]
|
| H A D | pdr.hpp | 11 namespace responder namespace 24 void getRepoByType(const pldm::responder::pdr_utils::Repo& inRepo, 25 pldm::responder::pdr_utils::Repo& outRepo, 26 pldm::responder::pdr_utils::Type pdrType); 38 const pldm::responder::pdr_utils::RepoInterface& pdrRepo, 39 pldm::responder::pdr_utils::RecordHandle recordHandle, 40 pldm::responder::pdr_utils::PdrEntry& pdrEntry); 43 } // namespace responder
|
| H A D | platform_state_sensor.hpp | 21 namespace responder namespace 37 const std::map<pldm::responder::pdr_utils::State, in getStateSensorEventState() 68 * @tparam[in] Handler - pldm::responder::platform::Handler 71 * pldm::responder::platform::Handler 88 using namespace pldm::responder::pdr; in getStateSensorReadingsHandler() 100 pldm::responder::pdr_utils::Repo stateSensorPDRs(stateSensorPdrRepo.get()); in getStateSensorReadingsHandler() 108 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in getStateSensorReadingsHandler() 148 sensorId, pldm::responder::pdr_utils::TypeId::PLDM_SENSOR_ID); in getStateSensorReadingsHandler() 156 pldm::responder::pdr_utils::EventStates sensorCacheforSensor{}; in getStateSensorReadingsHandler() 210 } // namespace responder
|
| H A D | platform_state_effecter.hpp | 20 namespace responder namespace 27 * @tparam[in] Handler - pldm::responder::platform::Handler 30 * pldm::responder::platform::Handler 42 using namespace pldm::responder::pdr; in setStateEffecterStatesHandler() 57 pldm::responder::pdr_utils::Repo stateEffecterPDRs( in setStateEffecterStatesHandler() 67 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in setStateEffecterStatesHandler() 132 const pldm::responder::pdr_utils::StatestoDbusVal& dbusValToMap = in setStateEffecterStatesHandler() 173 } // namespace responder
|
| H A D | pdr_state_sensor.hpp | 13 namespace responder namespace 123 pldm::responder::pdr_utils::DbusMappings dbusMappings{}; in generateStateSensorPDR() 124 pldm::responder::pdr_utils::DbusValMaps dbusValMaps{}; in generateStateSensorPDR() 139 pldm::responder::pdr_utils::PossibleValues stateValues; in generateStateSensorPDR() 156 pldm::responder::pdr_utils::StatestoDbusVal dbusIdToValMap{}; in generateStateSensorPDR() 165 dbusIdToValMap = pldm::responder::pdr_utils::populateMapping( in generateStateSensorPDR() 187 pldm::responder::pdr_utils::TypeId::PLDM_SENSOR_ID); in generateStateSensorPDR() 188 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in generateStateSensorPDR() 197 } // namespace responder
|
| H A D | pdr_state_effecter.hpp | 14 namespace responder namespace 112 pldm::responder::pdr_utils::DbusMappings dbusMappings{}; in generateStateEffecterPDR() 113 pldm::responder::pdr_utils::DbusValMaps dbusValMaps{}; in generateStateEffecterPDR() 127 pldm::responder::pdr_utils::PossibleValues stateValues; in generateStateEffecterPDR() 145 pldm::responder::pdr_utils::StatestoDbusVal dbusIdToValMap{}; in generateStateEffecterPDR() 154 dbusIdToValMap = pldm::responder::pdr_utils::populateMapping( in generateStateEffecterPDR() 173 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in generateStateEffecterPDR() 182 } // namespace responder
|
| H A D | base.hpp | 12 using namespace pldm::responder; 16 namespace responder namespace 92 pldm::responder::oem_platform::Handler* handler) in setOemPlatformHandler() 104 pldm::responder::oem_platform::Handler* oemPlatformHandler = nullptr; 111 } // namespace responder
|
| H A D | bios.hpp | 22 namespace responder namespace 43 pldm::responder::platform_config::Handler* platformConfigHandler, 44 pldm::responder::bios::Callback requestPLDMServiceName); 95 pldm::responder::oem_bios::Handler* oemBiosHandler = nullptr; 101 inline void setOemBiosHandler(pldm::responder::oem_bios::Handler* handler) in setOemBiosHandler() 143 } // namespace responder
|
| H A D | pdr.cpp | 8 namespace responder namespace 13 using namespace pldm::responder::pdr_utils; 52 } // namespace responder
|
| H A D | platform.hpp | 27 namespace responder namespace 59 pldm::responder::platform_config::Handler* platformConfigHandler, in Handler() 163 pldm::responder::pdr_utils::TypeId typeId = 164 pldm::responder::pdr_utils::TypeId::PLDM_EFFECTER_ID); 178 pldm::responder::pdr_utils::TypeId typeId = 179 pldm::responder::pdr_utils::TypeId::PLDM_EFFECTER_ID) const; 199 pldm::responder::pdr_utils::Repo& repo); 207 pldm::responder::pdr_utils::Repo& repo); 219 pldm::responder::oem_platform::Handler* handler) in setOemPlatformHandler() 348 using namespace pldm::responder::pdr; in setStateEffecterStatesHandler() [all …]
|
| H A D | fru.hpp | 21 namespace responder namespace 147 inline const pldm::responder::dbus::AssociatedEntityMap& 158 pldm::responder::oem_platform::Handler* handler) in setOemPlatformHandler() 217 inline void setOemFruHandler(pldm::responder::oem_fru::Handler* handler) in setOemFruHandler() 245 pldm::responder::oem_fru::Handler* oemFruHandler = nullptr; 249 pldm::responder::oem_platform::Handler* oemPlatformHandler; 273 uint32_t addHotPlugRecord(pldm::responder::pdr_utils::PdrEntry pdrEntry); 354 const pldm::responder::dbus::AssociatedEntityMap& getAssociateEntityMap() in getAssociateEntityMap() 364 void setOemPlatformHandler(pldm::responder::oem_platform::Handler* handler) in setOemPlatformHandler() 392 void setOemFruHandler(pldm::responder::oem_fru::Handler* handler) in setOemFruHandler() [all …]
|
| /openbmc/pldm/pldmd/ |
| H A D | oem_ibm.hpp | 61 sdeventplus::Event& event, responder::Invoker& invoker, in OemIBM() 63 responder::platform::Handler* platformHandler, in OemIBM() 64 responder::fru::Handler* fruHandler, in OemIBM() 65 responder::base::Handler* baseHandler, in OemIBM() 66 responder::bios::Handler* biosHandler, in OemIBM() 105 codeUpdate = std::make_unique<pldm::responder::CodeUpdate>(dBusIntf); in createCodeUpdate() 113 std::make_unique<pldm::responder::SlotHandler>(event, repo); in createSlotHandler() 132 std::make_unique<responder::oem_ibm_bios::Handler>(); in createOemIbmBiosHandler() 139 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in createOemIbmPlatformHandler() 146 oemFruHandler = std::make_unique<responder::oem_ibm_fru::Handler>(repo); in createOemFruHandler() [all …]
|
| /openbmc/pldm/oem/meta/ |
| H A D | oem_meta.cpp | 11 pldm::responder::Invoker& invoker, in OemMETA() 12 pldm::responder::platform::Handler* platformHandler) in OemMETA() 18 std::make_unique<pldm::responder::oem_meta::FileIOHandler>(dbusHandler); in OemMETA() 23 pldm::responder::platform::Handler* platformHandler) in registerOemEventHandler() 35 pldm::responder::Invoker& invoker, in registerOemHandler() 36 std::unique_ptr<pldm::responder::oem_meta::FileIOHandler> fileIOHandler) in registerOemHandler()
|
| H A D | oem_meta.hpp | 34 pldm::responder::Invoker& invoker, 35 pldm::responder::platform::Handler* platformHandler); 39 pldm::responder::platform::Handler* platformHandler); 42 pldm::responder::Invoker& invoker, 43 std::unique_ptr<pldm::responder::oem_meta::FileIOHandler>
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | file_io_type_lid.hpp | 15 namespace responder namespace 63 pldm::responder::oem_ibm_platform::Handler* oemIbmPlatformHandler = in constructLIDPath() 64 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in constructLIDPath() 105 pldm::responder::oem_ibm_platform::Handler* oemIbmPlatformHandler = in writeFromMemory() 106 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in writeFromMemory() 150 pldm::responder::oem_ibm_platform::Handler* in writeFromMemory() 152 pldm::responder::oem_ibm_platform::Handler*>( in writeFromMemory() 156 using namespace pldm::responder::oem_ibm_platform; in writeFromMemory() 188 pldm::responder::oem_ibm_platform::Handler* oemIbmPlatformHandler = in write() 189 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in write() [all …]
|
| H A D | oem_ibm_handler.cpp | 23 namespace responder namespace 27 int pldm::responder::oem_ibm_platform::Handler:: 71 int pldm::responder::oem_ibm_platform::Handler:: 237 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllCodeUpdateEffecterPDR() 301 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllSlotEnableEffecterPDR() 352 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllCodeUpdateSensorPDR() 411 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllSlotEnableSensorPDR() 418 void pldm::responder::oem_ibm_platform::Handler::buildOEMPDR( in buildOEMPDR() 470 void pldm::responder::oem_ibm_platform::Handler::setPlatformHandler( in setPlatformHandler() 471 pldm::responder in setPlatformHandler() [all...] |
| /openbmc/entity-manager/schemas/ |
| H A D | spdm_endpoint.json | 5 "title": "SPDM TCP responder configuration", 6 "description": "The configuration used to add remote SPDM responder to the system", 11 "description": "Hostname or IP of remote SPDM TCP responder", 15 … "description": "Network port SPDM TCP responder is listening on per DSP0287_1.0.0",
|
| /openbmc/libpldm/tests/ |
| H A D | responder.cpp | 2 #include "responder.c" 6 TEST(Responder, track_untrack_one) in TEST() argument 23 TEST(Responder, untrack_none) in TEST() argument 32 TEST(Responder, track_one_untrack_bad) in TEST() argument 54 TEST(Responder, track_untrack_two) in TEST() argument
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
| H A D | ComponentIntegrity.v1_3_2.json | 213 … "description": "Integrity information about the SPDM Responder as reported by an SPDM Requester.", 214 …ion": "This property shall contain integrity information about the SPDM Responder identified by th… 229 …s property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentI… 371 … SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder.", 372 …Responder. This action shall not be present if the `ComponentIntegrityType` property does not con… 384 …random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 390 …ssumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 423 "description": "The SPDM signed measurement from an SPDM Responder.", 424 …longDescription": "This object shall contain the SPDM signed measurements from an SPDM Responder.", 448 …he hashing algorithm negotiated between the SPDM Requester and the SPDM Responder. The allowable … [all …]
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
| H A D | ComponentIntegrity.v1_3_2.json | 213 … "description": "Integrity information about the SPDM Responder as reported by an SPDM Requester.", 214 …ion": "This property shall contain integrity information about the SPDM Responder identified by th… 229 …s property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentI… 371 … SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder.", 372 …Responder. This action shall not be present if the `ComponentIntegrityType` property does not con… 384 …random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 390 …ssumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 423 "description": "The SPDM signed measurement from an SPDM Responder.", 424 …longDescription": "This object shall contain the SPDM signed measurements from an SPDM Responder.", 448 …he hashing algorithm negotiated between the SPDM Requester and the SPDM Responder. The allowable … [all …]
|
| /openbmc/qemu/docs/specs/ |
| H A D | spdm.rst | 9 QEMU supports connecting to a SPDM responder implementation. This allows an 10 external application to emulate the SPDM responder logic for an SPDM device. 21 You can use `SPDM Utils`_ to emulate a responder. This is the simplest method. 38 SPDM responder. 64 -subj "/CN=DMTF libspdm ECP384 responder cert" 77 The responder can then be launched with
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
| H A D | ComponentIntegrity_v1.xml | 64 <Annotation Term="OData.Description" String="This action generates an SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder."/> 65 <Annotation Term="OData.LongDescription" String="This action shall generate a cryptographic signed statement over the given nonce and measurements corresponding to the SPDM Responder. This action shall not be present if the `ComponentIntegrityType` property does not contain the value `SPDM`. The SPDM Requester shall issue one or more SPDM 'GET_MEASUREMENTS' requests for each of the requested measurement indices to the SPDM Responder. When the SPDM 'GET_MEASUREMENTS' requests are made for version 1.2, the parameter 'RawBitStreamRequested' shall contain `0`. The SPDM Requester shall provide the nonce for the action to the SPDM Responder in the last SPDM 'GET_MEASUREMENTS' request. The SPDM Requester shall request a signature in the last SPDM 'GET_MEASUREMENTS' request."/> 69 <Annotation Term="OData.LongDescription" String="This parameter shall contain a 32-byte hex-encoded string that is signed with the measurements. If not provided by the client, the SPDM Requester shall generate the nonce. The value should be unique and generated using a random or a pseudo-random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET_MEASUREMENTS' request."/> 74 <Annotation Term="OData.LongDescription" String="This parameter shall contain the SPDM slot identifier for the certificate containing the private key to generate the signature over the measurements. If not provided by the client, the value shall be assumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET_MEASUREMENTS' request."/> 149 <Annotation Term="OData.LongDescription" String="This value of this property shall contain a link to the resource whose integrity information is reported in this resource. If `ComponentIntegrityType` contains `SPDM`, this property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentIntegrityType` contains `TPM`, this property shall contain a URI with RFC6901-defined JSON fragment notation to a member of the TrustedModules array in a ComputerSystem resource that represents the TPM or a resource of type `TrustedComponent` that represents the TPM."/> 163 <Annotation Term="OData.Description" String="Integrity information about the SPDM Responder as reported by an SPDM Requester."/> 164 <Annotation Term="OData.LongDescription" String="This property shall contain integrity information about the SPDM Responder identified by the `TargetComponentURI` property as reported by an SPDM Requester. This property shall be present if `ComponentIntegrityType` contains `SPDM` and if `ComponentIntegrityEnabled` contains `true`. For other cases, this property shall be absent."/> 239 <Annotation Term="OData.Description" String="Integrity information about an SPDM Responder a [all...] |
| /openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
| H A D | ComponentIntegrity_v1.xml | 64 …SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder."/> 65 …Responder. This action shall not be present if the `ComponentIntegrityType` property does not con… 69 …random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 74 …ssumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 149 …s property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentI… 163 …n Term="OData.Description" String="Integrity information about the SPDM Responder as reported by a… 164 …tring="This property shall contain integrity information about the SPDM Responder identified by th… 239 …<Annotation Term="OData.Description" String="Integrity information about an SPDM Responder as repo… 240 …" String="This object shall contain integrity information about an SPDM Responder as reported by a… 244 …a link to the resource representing the SPDM Responder that is reporting the integrity of the SPDM… [all …]
|