Home
last modified time | relevance | path

Searched refs:mdString (Results 1 – 5 of 5) sorted by relevance

/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_version.cpp25 char mdString[EVP_MAX_MD_SIZE * 2 + 1]; in TEST() local
28 snprintf(&mdString[i * 2], 3, "%02x", (unsigned int)digest[i]); in TEST()
30 std::string hexId = std::string(mdString); in TEST()
/openbmc/openpower-pnor-code-mgmt/
H A Dversion.cpp47 char mdString[9]; in getId() local
48 snprintf(mdString, sizeof(mdString), "%02x%02x%02x%02x", in getId()
52 return mdString; in getId()
/openbmc/phosphor-bmc-code-mgmt/
H A Dversion.cpp121 char mdString[9]; in getId() local
122 snprintf(mdString, sizeof(mdString), "%02x%02x%02x%02x", in getId()
126 return mdString; in getId()
/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.cpp150 char mdString[9]; in getVersionId() local
151 snprintf(mdString, sizeof(mdString), "%02x%02x%02x%02x", in getVersionId()
155 return mdString; in getVersionId()
/openbmc/phosphor-bmc-code-mgmt/test/
H A Dutest.cpp145 char mdString[EVP_MAX_MD_SIZE * 2 + 1]; in TEST_F() local
148 snprintf(&mdString[static_cast<size_t>(i) * 2], 3, "%02x", in TEST_F()
151 std::string hexId = std::string(mdString); in TEST_F()