Home
last modified time | relevance | path

Searched refs:pkeyFile (Results 1 – 4 of 4) sorted by relevance

/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_signature.cpp67 std::string pkeyFile = extractPath.string() + "/" + "private.pem"; in SetUp() local
68 command("openssl genrsa -out " + pkeyFile + " 4096"); in SetUp()
71 command("openssl rsa -in " + pkeyFile + " -outform PEM " + in SetUp()
77 command(opensslCmd + pkeyFile + " -out " + pnorFile + ".sig " + in SetUp()
80 command(opensslCmd + pkeyFile + " -out " + manifestFile + ".sig " + in SetUp()
82 command(opensslCmd + pkeyFile + " -out " + pubkeyFile + ".sig " + in SetUp()
/openbmc/phosphor-bmc-code-mgmt/test/
H A Dutest.cpp239 std::string pkeyFile = extractPath.string() + "/" + "private.pem"; in SetUp() local
240 command("openssl genrsa -out " + pkeyFile + " 4096"); in SetUp()
243 command("openssl rsa -in " + pkeyFile + " -outform PEM " + in SetUp()
247 command(opensslCmd + pkeyFile + " -out " + kernelFile + ".sig " + in SetUp()
252 command(opensslCmd + pkeyFile + " -out " + rofsFile + ".sig " + in SetUp()
254 command(opensslCmd + pkeyFile + " -out " + rwfsFile + ".sig " + in SetUp()
256 command(opensslCmd + pkeyFile + " -out " + ubootFile + ".sig " + in SetUp()
258 command(opensslCmd + pkeyFile + " -out " + pubkeyFile + ".sig " + in SetUp()
266 command(opensslCmd + pkeyFile + " -out " + fullFile + ".sig " + in SetUp()
343 std::string pkeyFile = extractPath.string() + "/" + "private.pem"; in TEST_F() local
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dimage_verify.cpp151 std::filesystem::path pkeyFile(imageDirPath / PUBLICKEY_FILE_NAME); in systemLevelVerify() local
152 std::filesystem::path pkeyFileSig(pkeyFile); in systemLevelVerify()
182 valid = verifyFile(pkeyFile, pkeyFileSig, keyHashPair.second, in systemLevelVerify()
/openbmc/phosphor-bmc-code-mgmt/
H A Dimage_verify.cpp253 fs::path pkeyFile(imageDirPath / PUBLICKEY_FILE_NAME); in systemLevelVerify() local
254 fs::path pkeyFileSig(pkeyFile); in systemLevelVerify()
283 valid = verifyFile(pkeyFile, pkeyFileSig, keyHashPair.second, in systemLevelVerify()