Home
last modified time | relevance | path

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

/system/core/adb/tls/
Dtls_connection.cpp58 static int SSLSetCertCb(SSL* ssl, void* opaque);
148 int TlsConnectionImpl::SSLSetCertCb(SSL* ssl, void* opaque) { in SSLSetCertCb() argument
150 return p->set_cert_cb_(ssl); in SSLSetCertCb()
371 bool TlsConnection::SetCertAndKey(SSL* ssl, std::string_view cert, std::string_view priv_key) { in SetCertAndKey() argument
372 CHECK(ssl); in SetCertAndKey()
384 if (!SSL_set_chain_and_key(ssl, cert_chain.data(), cert_chain.size(), evp_pkey.get(), in SetCertAndKey()
/system/core/adb/tls/tests/
Dtls_connection_test.cpp535 client_->SetCertificateCallback([&](SSL* ssl) -> int { in TEST_F() argument
536 const STACK_OF(X509_NAME)* received = SSL_get_client_CA_list(ssl); in TEST_F()
544 EXPECT_TRUE(TlsConnection::SetCertAndKey(ssl, kTestRsa2048UnknownCert, in TEST_F()
582 client_->SetCertificateCallback([&](SSL* ssl) -> int { in TEST_F() argument
586 const STACK_OF(X509_NAME)* received = SSL_get_client_CA_list(ssl); in TEST_F()
/system/core/adb/
Dadb_auth.h46 int adb_tls_set_certificate(SSL* ssl);
/system/core/adb/tls/include/adb/tls/
Dtls_connection.h119 static bool SetCertAndKey(SSL* ssl, std::string_view cert_chain, std::string_view priv_key);
/system/core/adb/client/
Dauth.cpp513 int adb_tls_set_certificate(SSL* ssl) { in adb_tls_set_certificate() argument
516 const STACK_OF(X509_NAME)* ca_list = SSL_get_client_CA_list(ssl); in adb_tls_set_certificate()
549 TlsConnection::SetCertAndKey(ssl, x509_str, evp_str); in adb_tls_set_certificate()