Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/km_openssl/
Dopenssl_utils.h94 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* evp_pkey);
96 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* evp_pkey, KeymasterKeyBlob* key_blob);
/system/core/adb/daemon/
Dauth.cpp295 bssl::UniquePtr<EVP_PKEY> evp_pkey(X509_get_pubkey(cert)); in adbd_tls_verify_cert() local
296 if (evp_pkey == nullptr) { in adbd_tls_verify_cert()
320 if (EVP_PKEY_cmp(known_evp.get(), evp_pkey.get())) { in adbd_tls_verify_cert()
/system/core/adb/client/
Dauth.cpp544 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new()); in adb_tls_set_certificate() local
545 CHECK(EVP_PKEY_set1_RSA(evp_pkey.get(), rsa_priv_key->second.get())); in adb_tls_set_certificate()
546 auto x509 = GenerateX509Certificate(evp_pkey.get()); in adb_tls_set_certificate()
548 auto evp_str = Key::ToPEMString(evp_pkey.get()); in adb_tls_set_certificate()
/system/core/adb/tls/
Dtls_connection.cpp376 auto evp_pkey = TlsConnectionImpl::EvpPkeyFromPEM(priv_key); in SetCertAndKey() local
377 if (x509_cert == nullptr || evp_pkey == nullptr) { in SetCertAndKey()
384 if (!SSL_set_chain_and_key(ssl, cert_chain.data(), cert_chain.size(), evp_pkey.get(), in SetCertAndKey()
/system/core/adb/
Dtransport.cpp498 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new()); in DoTlsHandshake() local
499 if (!EVP_PKEY_set1_RSA(evp_pkey.get(), key)) { in DoTlsHandshake()
503 auto x509 = GenerateX509Certificate(evp_pkey.get()); in DoTlsHandshake()
505 auto evp_str = Key::ToPEMString(evp_pkey.get()); in DoTlsHandshake()