Home
last modified time | relevance | path

Searched refs:ssl_ (Results 1 – 25 of 34) sorted by relevance

12

/external/cronet/net/socket/
Dssl_client_socket_impl.cc396 SSL_get0_ech_retry_configs(ssl_.get(), &retry_configs, &retry_configs_len); in GetECHRetryConfigs()
411 ssl_.get(), out, outlen, label.data(), label.size(), in ExportKeyingMaterial()
440 SSL_set_connect_state(ssl_.get()); in Connect()
479 if (!SSL_in_early_data(ssl_.get())) { in ConfirmHandshake()
557 if (!SSL_has_application_settings(ssl_.get())) { in GetPeerApplicationSettings()
563 SSL_get0_peer_application_settings(ssl_.get(), &out_data, &out_len); in GetPeerApplicationSettings()
580 ssl_info->encrypted_client_hello = SSL_ech_accepted(ssl_.get()); in GetSSLInfo()
587 const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl_.get()); in GetSSLInfo()
590 ssl_info->key_exchange_group = SSL_get_curve_id(ssl_.get()); in GetSSLInfo()
592 SSL_get_peer_signature_algorithm(ssl_.get()); in GetSSLInfo()
[all …]
Dssl_server_socket_impl.cc191 bssl::UniquePtr<SSL> ssl_; member in net::SSLServerContextImpl::SocketImpl
219 if (ssl_) { in ~SocketImpl()
222 SSL_shutdown(ssl_.get()); in ~SocketImpl()
223 ssl_.reset(); in ~SocketImpl()
388 SSL_set_accept_state(ssl_.get()); in Handshake()
414 ssl_.get(), out, outlen, label.data(), label.size(), in ExportKeyingMaterial()
419 int ssl_error = SSL_get_error(ssl_.get(), rv); in ExportKeyingMaterial()
555 if (!SSL_has_application_settings(ssl_.get())) { in GetPeerApplicationSettings()
561 SSL_get0_peer_application_settings(ssl_.get(), &out_data, &out_len); in GetPeerApplicationSettings()
572 const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl_.get()); in GetSSLInfo()
[all …]
/external/webrtc/rtc_base/
Dopenssl_stream_adapter.cc304 ssl_(nullptr), in OpenSSLStreamAdapter()
413 const SSL_CIPHER* current_cipher = SSL_get_current_cipher(ssl_); in GetSslCipherSuite()
427 int ssl_version = SSL_version(ssl_); in GetSslVersion()
451 *version = SSL_version(ssl_); in GetSslVersionBytes()
462 if (SSL_export_keying_material(ssl_, result, result_len, label.data(), in ExportKeyingMaterial()
511 SSL_get_selected_srtp_profile(ssl_); in GetDtlsSrtpCryptoSuite()
599 int code = SSL_write(ssl_, data.data(), checked_cast<int>(data.size())); in Write()
600 int ssl_error = SSL_get_error(ssl_, code); in Write()
657 const int code = SSL_read(ssl_, data.data(), checked_cast<int>(data.size())); in Read()
658 const int ssl_error = SSL_get_error(ssl_, code); in Read()
[all …]
Dopenssl_adapter.cc215 ssl_(nullptr), in OpenSSLAdapter()
323 ssl_ = SSL_new(ssl_ctx_); in BeginSSL()
324 if (!ssl_) { in BeginSSL()
328 SSL_set_app_data(ssl_, this); in BeginSSL()
338 SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE | in BeginSSL()
343 SSL_set_tlsext_host_name(ssl_, ssl_host_name_.c_str()); in BeginSSL()
349 if (SSL_set_session(ssl_, cached) == 0) { in BeginSSL()
362 SSL_enable_ocsp_stapling(ssl_); in BeginSSL()
363 SSL_enable_signed_cert_timestamps(ssl_); in BeginSSL()
370 ssl_, reinterpret_cast<const unsigned char*>(tls_alpn_string.data()), in BeginSSL()
[all …]
Dopenssl_stream_adapter.h218 SSL* ssl_; variable
Dopenssl_adapter.h170 SSL* ssl_; variable
/external/openscreen/platform/impl/
Dtls_connection_posix.cc59 if (ssl_) { in ~TlsConnectionPosix()
60 SSL_shutdown(ssl_.get()); in ~TlsConnectionPosix()
65 OSP_DCHECK(ssl_); in TryReceiveMessage()
70 SSL_read(ssl_.get(), block.data(), kMaxApplicationDataBytes); in TryReceiveMessage()
76 const Error error = GetSSLError(ssl_.get(), bytes_read); in TryReceiveMessage()
128 SSL_write(ssl_.get(), sendable_bytes.data(), sendable_bytes.size()); in SendAvailableBytes()
130 const Error result_error = GetSSLError(ssl_.get(), result); in SendAvailableBytes()
Dtls_connection_factory_posix.cc94 SSL_set_verify(connection->ssl_.get(), SSL_VERIFY_NONE, nullptr); in Connect()
97 SSL_set_verify(connection->ssl_.get(), SSL_VERIFY_PEER, nullptr); in Connect()
205 connection->ssl_.swap(ssl); in ConfigureSsl()
246 const int connection_status = SSL_connect(connection->ssl_.get()); in Connect()
248 Error error = GetSSLError(connection->ssl_.get(), connection_status); in Connect()
266 GetDEREncodedPeerCertificate(*connection->ssl_); in Connect()
292 const int connection_status = SSL_accept(connection->ssl_.get()); in Accept()
294 Error error = GetSSLError(connection->ssl_.get(), connection_status); in Accept()
312 GetDEREncodedPeerCertificate(*connection->ssl_); in Accept()
Dtls_connection_posix.h64 bssl::UniquePtr<SSL> ssl_; variable
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dscoped_ssl_bio.h30 ScopedSslBio(SSL* ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { in ScopedSslBio()
31 SSL_set_bio(ssl_, rbio, wbio); in ScopedSslBio()
37 SSL_set_bio(ssl_, nullptr, nullptr); in ~ScopedSslBio()
41 SSL* const ssl_;
/external/libbrillo/brillo/streams/
Dtls_stream.cc126 std::unique_ptr<SSL, decltype(&SSL_free)> ssl_{nullptr, SSL_free};
145 ssl_.reset(); in ~TlsStreamImpl()
156 int ret = SSL_read(ssl_.get(), buffer, size_int); in ReadNonBlocking()
164 int err = SSL_get_error(ssl_.get(), ret); in ReadNonBlocking()
193 int ret = SSL_write(ssl_.get(), buffer, size_int); in WriteNonBlocking()
199 int err = SSL_get_error(ssl_.get(), ret); in WriteNonBlocking()
223 int ret = SSL_shutdown(ssl_.get()); in Close()
229 int err = SSL_get_error(ssl_.get(), ret); in Close()
259 if (is_read && SSL_pending(ssl_.get()) > 0) { in WaitForData()
276 if (is_read && SSL_pending(ssl_.get()) > 0) { in WaitForDataBlocking()
[all …]
/external/pigweed/pw_tls_client/
Dtest_server.cc134 ssl_ = bssl::UniquePtr<SSL>(SSL_new(ctx_.get())); in Initialize()
135 if (!ssl_) { in Initialize()
159 SSL_set_bio(ssl_.get(), bio, bio); in Initialize()
218 return SSL_get_shutdown(ssl_.get()) & SSL_RECEIVED_SHUTDOWN; in ClientShutdownReceived()
224 int ret = SSL_accept(ssl_.get()); in ProcessPackets()
226 int ssl_err = SSL_get_error(ssl_.get(), ret); in ProcessPackets()
241 int ssl_ret = SSL_read(ssl_.get(), buf.data(), buf.size()); in ProcessPackets()
250 int ssl_err = SSL_get_error(ssl_.get(), ssl_ret); in ProcessPackets()
262 int write_status = SSL_write(ssl_.get(), buf.data(), ssl_ret); in ProcessPackets()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dtls_chlo_extractor.cc52 ssl_ = std::move(other.ssl_); in operator =()
53 if (ssl_) { in operator =()
56 const int rv = SSL_set_ex_data(ssl_.get(), ex_data_index, this); in operator =()
191 ssl_.get(), ssl_encryption_initial, in OnDataAvailable()
203 (void)SSL_do_handshake(ssl_.get()); in OnDataAvailable()
365 if (ssl_) { in SetupSslHandle()
374 ssl_ = bssl::UniquePtr<SSL>(SSL_new(ssl_ctx)); in SetupSslHandle()
375 const int rv = SSL_set_ex_data(ssl_.get(), ex_data_index, this); in SetupSslHandle()
377 SSL_set_accept_state(ssl_.get()); in SetupSslHandle()
384 SSL_set_quic_use_legacy_codepoint(ssl_.get(), use_legacy_extension); in SetupSslHandle()
/external/cronet/third_party/boringssl/src/ssl/test/
Dmock_quic_transport.cc27 ssl_(ssl) {} in MockQuicTransport()
167 return SSL_provide_quic_data(ssl_, level, buf.data(), buf.size()); in ReadHandshake()
205 if (SSL_provide_quic_data(ssl_, level, buf.data(), buf.size()) != 1) { in ReadApplicationData()
208 if (SSL_in_init(ssl_)) { in ReadApplicationData()
209 int ret = SSL_do_handshake(ssl_); in ReadApplicationData()
211 int ssl_err = SSL_get_error(ssl_, ret); in ReadApplicationData()
217 } else if (SSL_process_quic_post_handshake(ssl_) != 1) { in ReadApplicationData()
266 if (SSL_in_early_data(ssl_) && !SSL_is_server(ssl_)) { in WriteApplicationData()
Dmock_quic_transport.h73 SSL *ssl_; // Unowned. variable
/external/boringssl/src/ssl/test/
Dmock_quic_transport.cc27 ssl_(ssl) {} in MockQuicTransport()
167 return SSL_provide_quic_data(ssl_, level, buf.data(), buf.size()); in ReadHandshake()
205 if (SSL_provide_quic_data(ssl_, level, buf.data(), buf.size()) != 1) { in ReadApplicationData()
208 if (SSL_in_init(ssl_)) { in ReadApplicationData()
209 int ret = SSL_do_handshake(ssl_); in ReadApplicationData()
211 int ssl_err = SSL_get_error(ssl_, ret); in ReadApplicationData()
217 } else if (SSL_process_quic_post_handshake(ssl_) != 1) { in ReadApplicationData()
266 if (SSL_in_early_data(ssl_) && !SSL_is_server(ssl_)) { in WriteApplicationData()
Dmock_quic_transport.h73 SSL *ssl_; // Unowned. variable
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dmock_quic_transport.cc26 ssl_(ssl) {} in MockQuicTransport()
169 return SSL_provide_quic_data(ssl_, level, buf.data(), buf.size()); in ReadHandshake()
207 if (SSL_provide_quic_data(ssl_, level, buf.data(), buf.size()) != 1) { in ReadApplicationData()
210 if (SSL_in_init(ssl_)) { in ReadApplicationData()
211 int ret = SSL_do_handshake(ssl_); in ReadApplicationData()
213 int ssl_err = SSL_get_error(ssl_, ret); in ReadApplicationData()
219 } else if (SSL_process_quic_post_handshake(ssl_) != 1) { in ReadApplicationData()
268 if (SSL_in_early_data(ssl_) && !SSL_is_server(ssl_)) { in WriteApplicationData()
Dmock_quic_transport.h73 SSL *ssl_; // Unowned. variable
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dtls_connection.h102 SSL* ssl() const { return ssl_.get(); } in ssl()
147 bssl::UniquePtr<SSL> ssl_; variable
Dtls_connection.cc95 ssl_(SSL_new(ssl_ctx)), in TlsConnection()
/external/pigweed/pw_tls_client/public/pw_tls_client/test/
Dtest_server.h87 bssl::UniquePtr<SSL> ssl_; variable
/external/cronet/net/spdy/
Dspdy_http_stream_unittest.cc139 ssl_(SYNCHRONOUS, OK) { in SpdyHttpStreamTest()
158 ssl_.ssl_info.cert = in InitSession()
160 ASSERT_TRUE(ssl_.ssl_info.cert); in InitSession()
161 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_); in InitSession()
177 SSLSocketDataProvider ssl_; member in net::test::SpdyHttpStreamTest
Dspdy_proxy_client_socket_unittest.cc218 SSLSocketDataProvider ssl_; member in net::SpdyProxyClientSocketTest
235 ssl_(SYNCHRONOUS, OK) { in SpdyProxyClientSocketTest()
261 ssl_.ssl_info.cert = in Initialize()
263 ASSERT_TRUE(ssl_.ssl_info.cert); in Initialize()
264 ssl_.next_proto = NextProto::kProtoHTTP2; in Initialize()
265 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_); in Initialize()
/external/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h54 #define SSL_METHOD_CALL(f, s, ...) s->method->func->ssl_##f(s, ##__VA_ARGS__)

12