Home
last modified time | relevance | path

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

/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/libweave/examples/provider/
Dssl_stream.cc55 ssl_.reset(SSL_new(ctx_.get()));
57 SSL_set_bio(ssl_.get(), stream_bio.get(), stream_bio.get());
59 SSL_set_connect_state(ssl_.get());
73 int res = SSL_read(ssl_.get(), buffer, size_to_read); in Read()
83 int err = SSL_get_error(ssl_.get(), res); in Read()
104 int res = SSL_write(ssl_.get(), buffer, size_to_write); in Write()
122 int err = SSL_get_error(ssl_.get(), res); in Write()
165 BIO* bio = SSL_get_rbio(stream->ssl_.get()); in ConnectBio()
185 int res = SSL_do_handshake(stream->ssl_.get()); in DoHandshake()
192 res = SSL_get_error(stream->ssl_.get(), res); in DoHandshake()
Dssl_stream.h64 std::unique_ptr<SSL, SslDeleter> 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/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp1202 ScopedSslBio(SSL *ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { in ScopedSslBio()
1203 SSL_set_bio(ssl_, rbio, wbio); in ScopedSslBio()
1209 SSL_set_bio(ssl_, nullptr, nullptr); in ~ScopedSslBio()
1213 SSL* const ssl_; member in ScopedSslBio