Searched refs:privEcKey (Results 1 – 1 of 1) sorted by relevance
1327 auto privEcKey = EC_KEY_Ptr(EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)); in ecPublicKeyGenerateCertificate() local1328 if (EC_KEY_set_private_key(privEcKey.get(), bn.get()) != 1) { in ecPublicKeyGenerateCertificate()1333 if (EVP_PKEY_set1_EC_KEY(privPkey.get(), privEcKey.get()) != 1) { in ecPublicKeyGenerateCertificate()1450 auto privEcKey = EC_KEY_Ptr(EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)); in ecdh() local1451 if (EC_KEY_set_private_key(privEcKey.get(), bn.get()) != 1) { in ecdh()1456 if (EVP_PKEY_set1_EC_KEY(privPkey.get(), privEcKey.get()) != 1) { in ecdh()