Home
last modified time | relevance | path

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

/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp99 bssl::UniquePtr<EVP_PKEY> privkey(EVP_PKEY_new()); in make_private_key() local
100 if (!privkey) { in make_private_key()
104 if(!EVP_PKEY_assign_RSA(privkey.get(), rsa.get())) { in make_private_key()
111 return privkey; in make_private_key()
114 bssl::UniquePtr<X509> make_cert(EVP_PKEY* privkey, EVP_PKEY* parent_key) { in make_cert() argument
127 X509_set_pubkey(cert.get(), privkey); in make_cert()
/system/core/adb/client/
Dauth.cpp292 std::shared_ptr<RSA> privkey = read_key_file(path); in pubkey_from_privkey() local
293 if (!privkey) { in pubkey_from_privkey()
296 return calculate_public_key(out, privkey.get()); in pubkey_from_privkey()