Home
last modified time | relevance | path

Searched refs:rbio (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/ssl/
Dssl_buffer.c117 int ret = BIO_read(ssl->rbio, buf->buf + buf->offset, (int)buf->cap); in dtls_read_buffer_next_packet()
140 int ret = BIO_read(ssl->rbio, buf->buf + buf->offset + buf->len, in tls_read_buffer_extend_to()
162 if (ssl->rbio == NULL) { in ssl_read_buffer_extend_to()
Dssl_lib.c474 int free_wbio = ssl->wbio != ssl->rbio; in SSL_free()
475 BIO_free_all(ssl->rbio); in SSL_free()
529 void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio) { in SSL_set_bio() argument
538 if (ssl->rbio != rbio) { in SSL_set_bio()
539 BIO_free_all(ssl->rbio); in SSL_set_bio()
541 if (ssl->wbio != wbio && ssl->rbio != ssl->wbio) { in SSL_set_bio()
544 ssl->rbio = rbio; in SSL_set_bio()
548 BIO *SSL_get_rbio(const SSL *ssl) { return ssl->rbio; } in SSL_get_rbio()
1011 if (ssl->rbio == NULL || in SSL_set_wfd()
1012 BIO_method_type(ssl->rbio) != BIO_TYPE_FD || in SSL_set_wfd()
[all …]
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp1202 ScopedSslBio(SSL *ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { in ScopedSslBio() argument
1203 SSL_set_bio(ssl_, rbio, wbio); in ScopedSslBio()
1204 BIO_up_ref(rbio); in ScopedSslBio()
9343 BIO* rbio = reinterpret_cast<BIO*>(rbioRef); local
9346 ssl, rbio, wbio, shc, client_mode, npnProtocols);
9356 if (rbio == nullptr || wbio == nullptr) {
9386 ScopedSslBio sslBio(ssl, rbio, wbio);
9763 BIO* rbio = SSL_get_rbio(ssl); local
9784 unsigned int bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio);
9812 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved
[all …]
/external/boringssl/src/include/openssl/
Dssl.h241 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
3734 BIO *rbio; /* used by SSL_read */ member