Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DRpcTlsTestUtils.cpp29 bssl::UniquePtr<EC_KEY> ec_key(EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)); in makeKeyPairForSelfSignedCert() local
30 if (ec_key == nullptr || !EC_KEY_generate_key(ec_key.get())) { in makeKeyPairForSelfSignedCert()
37 if (pkey == nullptr || !EVP_PKEY_set1_EC_KEY(pkey.get(), ec_key.get())) { in makeKeyPairForSelfSignedCert()