Home
last modified time | relevance | path

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

/openbmc/phosphor-certificate-manager/
H A Dcerts_manager.cpp588 EVPPkeyPtr pKey(nullptr, ::EVP_PKEY_free); in generateCSRHelper() local
595 pKey = getRSAKeyPair(keyBitLength); in generateCSRHelper()
597 pKey = generateECKeyPair(keyCurveId); in generateCSRHelper()
607 ret = X509_REQ_set_pubkey(x509Req.get(), pKey.get()); in generateCSRHelper()
616 writePrivateKey(pKey, defaultPrivateKeyFileName); in generateCSRHelper()
619 ret = X509_REQ_sign(x509Req.get(), pKey.get(), EVP_sha256()); in generateCSRHelper()
678 EVPPkeyPtr pKey(EVP_PKEY_new(), ::EVP_PKEY_free); in generateRSAKeyPair() local
679 ret = EVP_PKEY_assign_RSA(pKey.get(), rsa.get()); in generateRSAKeyPair()
688 return pKey; in generateRSAKeyPair()
710 EVP_PKEY* pKey = nullptr; in generateRSAKeyPair() local
[all …]
H A Dcerts_manager.hpp241 const std::unique_ptr<EVP_PKEY, decltype(&::EVP_PKEY_free)>& pKey,
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_data_json.cpp260 PyObject *pName, *pModule, *eType, *eValue, *eTraceback, *pKey; in getPythonJSON() local
296 pKey = PyUnicode_FromString(funcToCall.c_str()); in getPythonJSON()
297 std::unique_ptr<PyObject, decltype(&pyDecRef)> keyPtr(pKey, &pyDecRef); in getPythonJSON()
300 if (!PyDict_Contains(pDict, pKey)) in getPythonJSON()
H A Dsrc.cpp164 PyObject* pKey = PyUnicode_FromString(funcToCall.c_str()); in getPythonJSON() local
165 std::unique_ptr<PyObject, decltype(&pyDecRef)> keyPtr(pKey, &pyDecRef); in getPythonJSON()
168 if (!PyDict_Contains(pDict, pKey)) in getPythonJSON()
/openbmc/bmcweb/src/
H A Dssl_key_handler.cpp375 EVP_PKEY* pKey = nullptr; in createEcKey() local
409 if (EVP_PKEY_keygen(ctx.get(), &pKey) <= 0) in createEcKey()
414 return pKey; in createEcKey()