Searched refs:ssl_ (Results 1 - 8 of 8) sorted by relevance
/external/libweave/examples/provider/ |
H A D | ssl_stream.cc | 55 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); 83 int err = SSL_get_error(ssl_.get(), res); 104 int res = SSL_write(ssl_.get(), buffer, size_to_write); 122 int err = SSL_get_error(ssl_.get(), res); 165 BIO* bio = SSL_get_rbio(stream->ssl_.get()); 185 int res = SSL_do_handshake(stream->ssl_.get()); 192 res = SSL_get_error(stream->ssl_ [all...] |
H A D | ssl_stream.h | 64 std::unique_ptr<SSL, SslDeleter> ssl_; member in class:weave::examples::SSLStream
|
/external/webrtc/webrtc/base/ |
H A D | opensslstreamadapter.cc | 306 ssl_(NULL), 381 const SSL_CIPHER* current_cipher = SSL_get_current_cipher(ssl_); 400 i = SSL_export_keying_material(ssl_, result, result_len, label.c_str(), 458 SSL_get_selected_srtp_profile(ssl_); 530 int code = SSL_write(ssl_, data, checked_cast<int>(data_len)); 531 int ssl_error = SSL_get_error(ssl_, code); 591 int code = SSL_read(ssl_, data, checked_cast<int>(data_len)); 592 int ssl_error = SSL_get_error(ssl_, code); 602 unsigned int pending = SSL_pending(ssl_); 640 int code = SSL_read(ssl_, bu [all...] |
H A D | openssladapter.cc | 285 ssl_(NULL), ssl_ctx_(NULL), 345 ssl_ = SSL_new(ssl_ctx_); 346 if (!ssl_) { 351 SSL_set_app_data(ssl_, this); 353 SSL_set_bio(ssl_, bio, bio); 354 SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE | 382 int code = SSL_connect(ssl_); 383 switch (SSL_get_error(ssl_, code)) { 385 if (!SSLPostConnectionCheck(ssl_, ssl_host_name_.c_str())) { 408 if (DTLSv1_get_timeout(ssl_, [all...] |
H A D | openssladapter.h | 86 SSL* ssl_; member in class:rtc::OpenSSLAdapter
|
H A D | opensslstreamadapter.h | 182 SSL* ssl_; member in class:rtc::OpenSSLStreamAdapter
|
/external/libbrillo/brillo/streams/ |
H A D | tls_stream.cc | 120 std::unique_ptr<SSL, decltype(&SSL_free)> ssl_{nullptr, SSL_free}; 139 ssl_.reset(); 150 int ret = SSL_read(ssl_.get(), buffer, size_int); 158 int err = SSL_get_error(ssl_.get(), ret); 187 int ret = SSL_write(ssl_.get(), buffer, size_int); 193 int err = SSL_get_error(ssl_.get(), ret); 217 int ret = SSL_shutdown(ssl_.get()); 223 int err = SSL_get_error(ssl_.get(), ret); 253 if (is_read && SSL_pending(ssl_.get()) > 0) { 270 if (is_read && SSL_pending(ssl_ [all...] |
/external/conscrypt/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 1202 ScopedSslBio(SSL *ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { 1203 SSL_set_bio(ssl_, rbio, wbio); 1209 SSL_set_bio(ssl_, nullptr, nullptr); 1213 SSL* const ssl_; member in class:ScopedSslBio
|
Completed in 186 milliseconds