Searched refs:keyBio (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-certificate-manager/ |
H A D | certificate.cpp | 555 BIOMemPtr keyBio(BIO_new(BIO_s_file()), ::BIO_free); in checkAndAppendPrivateKey() local 556 if (!keyBio) in checkAndAppendPrivateKey() 562 BIO_read_filename(keyBio.get(), filePath.c_str()); in checkAndAppendPrivateKey() 565 PEM_read_bio_PrivateKey(keyBio.get(), nullptr, nullptr, nullptr), in checkAndAppendPrivateKey() 641 BIOMemPtr keyBio(BIO_new(BIO_s_file()), ::BIO_free); in compareKeys() local 642 if (!keyBio) in compareKeys() 648 BIO_read_filename(keyBio.get(), filePath.c_str()); in compareKeys() 651 PEM_read_bio_PrivateKey(keyBio.get(), nullptr, nullptr, nullptr), in compareKeys()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | image_verify.cpp | 290 BIO_MEM_Ptr keyBio(BIO_new_mem_buf(data(), -1), &::BIO_free); in createPublicRSA() local 291 if (keyBio.get() == nullptr) in createPublicRSA() 297 return {PEM_read_bio_PUBKEY(keyBio.get(), nullptr, nullptr, nullptr), in createPublicRSA()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | image_verify.cpp | 393 BIO_MEM_Ptr keyBio(BIO_new_mem_buf(data(), -1), &::BIO_free); in createPublicRSA() local 394 if (keyBio.get() == nullptr) in createPublicRSA() 400 return {PEM_read_bio_PUBKEY(keyBio.get(), nullptr, nullptr, nullptr), in createPublicRSA()
|