/external/conscrypt/common/src/jni/main/include/conscrypt/ |
D | scoped_ssl_bio.h | 30 ScopedSslBio(SSL* ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { in ScopedSslBio() argument 31 SSL_set_bio(ssl_, rbio, wbio); in ScopedSslBio() 33 BIO_up_ref(wbio); in ScopedSslBio()
|
/external/boringssl/src/ssl/ |
D | ssl_buffer.cc | 244 int ret = BIO_write(ssl->wbio.get(), buf->data(), buf->size()); in tls_write_buffer_flush() 261 int ret = BIO_write(ssl->wbio.get(), buf->data(), buf->size()); in dtls_write_buffer_flush() 275 if (ssl->wbio == nullptr) { in ssl_write_buffer_flush()
|
D | ssl_lib.cc | 765 void SSL_set0_wbio(SSL *ssl, BIO *wbio) { in SSL_set0_wbio() argument 766 ssl->wbio.reset(wbio); in SSL_set0_wbio() 769 void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio) { in SSL_set_bio() argument 774 if (rbio == SSL_get_rbio(ssl) && wbio == SSL_get_wbio(ssl)) { in SSL_set_bio() 780 if (rbio != NULL && rbio == wbio) { in SSL_set_bio() 786 SSL_set0_wbio(ssl, wbio); in SSL_set_bio() 793 if (wbio == SSL_get_wbio(ssl) && SSL_get_rbio(ssl) != SSL_get_wbio(ssl)) { in SSL_set_bio() 800 SSL_set0_wbio(ssl, wbio); in SSL_set_bio() 805 BIO *SSL_get_wbio(const SSL *ssl) { return ssl->wbio.get(); } in SSL_get_wbio() 1590 BIO *wbio = SSL_get_wbio(ssl); in SSL_set_rfd() local [all …]
|
D | d1_both.cc | 612 long mtu = BIO_ctrl(ssl->wbio.get(), BIO_CTRL_DGRAM_QUERY_MTU, 0, NULL); in dtls1_update_mtu() 617 BIO_ctrl(ssl->wbio.get(), BIO_CTRL_DGRAM_SET_MTU, ssl->d1->mtu, NULL); in dtls1_update_mtu() 797 int bio_ret = BIO_write(ssl->wbio.get(), packet, packet_len); in send_flight() 808 if (BIO_flush(ssl->wbio.get()) <= 0) { in send_flight()
|
D | d1_pkt.cc | 263 BIO_flush(ssl->wbio.get()); in dtls1_dispatch_alert()
|
D | d1_lib.cc | 175 BIO_ctrl(ssl->wbio.get(), BIO_CTRL_DGRAM_GET_FALLBACK_MTU, 0, nullptr); in dtls1_check_timeout_num()
|
D | s3_both.cc | 326 ssl->wbio.get(), in ssl3_flush_flight() 337 if (BIO_flush(ssl->wbio.get()) <= 0) { in ssl3_flush_flight()
|
D | s3_pkt.cc | 430 BIO_flush(ssl->wbio.get()); in ssl3_dispatch_alert()
|
D | ssl_test.cc | 3824 UniquePtr<BIO> rbio(BIO_new(BIO_s_mem())), wbio(BIO_new(BIO_s_mem())); in TEST() local 3826 ASSERT_TRUE(wbio); in TEST() 3828 SSL_set0_wbio(ssl.get(), wbio.release()); in TEST() 4010 BIO *wbio = SSL_get_wbio(src); in MoveBIOs() local 4011 BIO_up_ref(wbio); in MoveBIOs() 4012 SSL_set0_wbio(dest, wbio); in MoveBIOs()
|
D | internal.h | 3203 bssl::UniquePtr<BIO> wbio; // used by SSL_write
|
/external/boringssl/src/ssl/test/ |
D | fuzzer.h | 284 BIO *wbio = SSL_get_wbio(src); in MoveBIOs() local 285 BIO_up_ref(wbio); in MoveBIOs() 286 SSL_set0_wbio(dest, wbio); in MoveBIOs()
|
D | handshake_util.cc | 134 BIO *wbio = SSL_get_wbio(src); in MoveBIOs() local 135 BIO_up_ref(wbio); in MoveBIOs() 136 SSL_set0_wbio(dest, wbio); in MoveBIOs()
|
/external/libevent/ |
D | bufferevent_openssl.c | 549 BIO *rbio, *wbio; in init_bio_counts() local 551 wbio = SSL_get_wbio(bev_ssl->ssl); in init_bio_counts() 552 bev_ssl->counts.n_written = wbio ? BIO_number_written(wbio) : 0; in init_bio_counts()
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 268 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio); 282 OPENSSL_EXPORT void SSL_set0_wbio(SSL *ssl, BIO *wbio);
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 7887 BIO* wbio = SSL_get_wbio(ssl); in sslRead() local 7907 size_t bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio); in sslRead() 7936 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved && in sslRead() 8156 BIO* wbio = SSL_get_wbio(ssl); in sslWrite() local 8178 size_t bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio); in sslWrite() 8208 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved && in sslWrite()
|