Searched refs:ssl (Results 1 – 5 of 5) sorted by relevance
/system/core/adb/tls/ |
D | tls_connection.cpp | 58 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/ |
D | tls_connection_test.cpp | 535 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/ |
D | adb_auth.h | 46 int adb_tls_set_certificate(SSL* ssl);
|
/system/core/adb/tls/include/adb/tls/ |
D | tls_connection.h | 119 static bool SetCertAndKey(SSL* ssl, std::string_view cert_chain, std::string_view priv_key);
|
/system/core/adb/client/ |
D | auth.cpp | 513 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()
|