Searched refs:rbio (Results 1 – 10 of 10) sorted by relevance
/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() 32 BIO_up_ref(rbio); in ScopedSslBio()
|
/external/boringssl/src/ssl/ |
D | ssl_buffer.cc | 117 BIO_read(ssl->rbio.get(), buf->data(), static_cast<int>(buf->cap())); in dtls_read_buffer_next_packet() 138 int ret = BIO_read(ssl->rbio.get(), buf->data() + buf->size(), in tls_read_buffer_extend_to() 167 if (ssl->rbio == nullptr) { in ssl_read_buffer_extend_to()
|
D | ssl_lib.cc | 761 void SSL_set0_rbio(SSL *ssl, BIO *rbio) { in SSL_set0_rbio() argument 762 ssl->rbio.reset(rbio); in SSL_set0_rbio() 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() 781 BIO_up_ref(rbio); in SSL_set_bio() 785 if (rbio == SSL_get_rbio(ssl)) { in SSL_set_bio() 794 SSL_set0_rbio(ssl, rbio); in SSL_set_bio() 799 SSL_set0_rbio(ssl, rbio); in SSL_set_bio() 803 BIO *SSL_get_rbio(const SSL *ssl) { return ssl->rbio.get(); } in SSL_get_rbio() [all …]
|
D | ssl_test.cc | 3824 UniquePtr<BIO> rbio(BIO_new(BIO_s_mem())), wbio(BIO_new(BIO_s_mem())); in TEST() local 3825 ASSERT_TRUE(rbio); in TEST() 3827 SSL_set0_rbio(ssl.get(), rbio.release()); in TEST() 4006 BIO *rbio = SSL_get_rbio(src); in MoveBIOs() local 4007 BIO_up_ref(rbio); in MoveBIOs() 4008 SSL_set0_rbio(dest, rbio); in MoveBIOs()
|
D | internal.h | 3202 bssl::UniquePtr<BIO> rbio; // used by SSL_read
|
/external/boringssl/src/ssl/test/ |
D | fuzzer.h | 280 BIO *rbio = SSL_get_rbio(src); in MoveBIOs() local 281 BIO_up_ref(rbio); in MoveBIOs() 282 SSL_set0_rbio(dest, rbio); in MoveBIOs()
|
D | handshake_util.cc | 130 BIO *rbio = SSL_get_rbio(src); in MoveBIOs() local 131 BIO_up_ref(rbio); in MoveBIOs() 132 SSL_set0_rbio(dest, rbio); in MoveBIOs()
|
/external/libevent/ |
D | bufferevent_openssl.c | 549 BIO *rbio, *wbio; in init_bio_counts() local 553 rbio = SSL_get_rbio(bev_ssl->ssl); in init_bio_counts() 554 bev_ssl->counts.n_read = rbio ? BIO_number_read(rbio) : 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); 275 OPENSSL_EXPORT void SSL_set0_rbio(SSL *ssl, BIO *rbio);
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 7886 BIO* rbio = SSL_get_rbio(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() 8155 BIO* rbio = SSL_get_rbio(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()
|