Searched refs:privEcKey (Results 1 – 1 of 1) sorted by relevance
1235 auto privEcKey = EC_KEY_Ptr(EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)); in ecPublicKeyGenerateCertificate() local1236 if (EC_KEY_set_private_key(privEcKey.get(), bn.get()) != 1) { in ecPublicKeyGenerateCertificate()1241 if (EVP_PKEY_set1_EC_KEY(privPkey.get(), privEcKey.get()) != 1) { in ecPublicKeyGenerateCertificate()1358 auto privEcKey = EC_KEY_Ptr(EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)); in ecdh() local1359 if (EC_KEY_set_private_key(privEcKey.get(), bn.get()) != 1) { in ecdh()1364 if (EVP_PKEY_set1_EC_KEY(privPkey.get(), privEcKey.get()) != 1) { in ecdh()