Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/ignite/kernels/client/
Dignite_ssl_wrapper.cc40 ssl_(nullptr) {} in SslWrapper()
53 if (ssl_ != nullptr) { in ~SslWrapper()
54 SSL_free(ssl_); in ~SslWrapper()
55 ssl_ = nullptr; in ~SslWrapper()
87 ssl_ = SSL_new(ctx_); in Connect()
88 if (ssl_ == NULL) in Connect()
93 SSL_set_fd(ssl_, client_->GetSocketDescriptor()); in Connect()
94 if (SSL_connect(ssl_) != 1) in Connect()
103 SSL_free(ssl_); in Disconnect()
104 ssl_ = nullptr; in Disconnect()
[all …]
Dignite_ssl_wrapper.h46 SSL* ssl_; variable
/external/webrtc/webrtc/base/
Dopensslstreamadapter.cc306 ssl_(NULL), in OpenSSLStreamAdapter()
381 const SSL_CIPHER* current_cipher = SSL_get_current_cipher(ssl_); in GetSslCipherSuite()
400 i = SSL_export_keying_material(ssl_, result, result_len, label.c_str(), in ExportKeyingMaterial()
458 SSL_get_selected_srtp_profile(ssl_); in GetDtlsSrtpCryptoSuite()
530 int code = SSL_write(ssl_, data, checked_cast<int>(data_len)); in Write()
531 int ssl_error = SSL_get_error(ssl_, code); in Write()
591 int code = SSL_read(ssl_, data, checked_cast<int>(data_len)); in Read()
592 int ssl_error = SSL_get_error(ssl_, code); in Read()
602 unsigned int pending = SSL_pending(ssl_); in Read()
640 int code = SSL_read(ssl_, buf, toread); in FlushInput()
[all …]
Dopenssladapter.cc285 ssl_(NULL), ssl_ctx_(NULL), in OpenSSLAdapter()
345 ssl_ = SSL_new(ssl_ctx_); in BeginSSL()
346 if (!ssl_) { in BeginSSL()
351 SSL_set_app_data(ssl_, this); in BeginSSL()
353 SSL_set_bio(ssl_, bio, bio); in BeginSSL()
354 SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE | in BeginSSL()
382 int code = SSL_connect(ssl_); in ContinueSSL()
383 switch (SSL_get_error(ssl_, code)) { in ContinueSSL()
385 if (!SSLPostConnectionCheck(ssl_, ssl_host_name_.c_str())) { in ContinueSSL()
408 if (DTLSv1_get_timeout(ssl_, &timeout)) { in ContinueSSL()
[all …]
Dopenssladapter.h86 SSL* ssl_; variable
Dopensslstreamadapter.h182 SSL* ssl_; variable
/external/libbrillo/brillo/streams/
Dtls_stream.cc120 std::unique_ptr<SSL, decltype(&SSL_free)> ssl_{nullptr, SSL_free};
139 ssl_.reset(); in ~TlsStreamImpl()
150 int ret = SSL_read(ssl_.get(), buffer, size_int); in ReadNonBlocking()
158 int err = SSL_get_error(ssl_.get(), ret); in ReadNonBlocking()
187 int ret = SSL_write(ssl_.get(), buffer, size_int); in WriteNonBlocking()
193 int err = SSL_get_error(ssl_.get(), ret); in WriteNonBlocking()
217 int ret = SSL_shutdown(ssl_.get()); in Close()
223 int err = SSL_get_error(ssl_.get(), ret); in Close()
253 if (is_read && SSL_pending(ssl_.get()) > 0) { in WaitForData()
270 if (is_read && SSL_pending(ssl_.get()) > 0) { in WaitForDataBlocking()
[all …]
/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_;