Home
last modified time | relevance | path

Searched refs:wbio (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/ssl/
Dssl_lib.c467 if (ssl->bbio == ssl->wbio) { in SSL_free()
468 ssl->wbio = BIO_pop(ssl->wbio); in SSL_free()
474 int free_wbio = ssl->wbio != ssl->rbio; in SSL_free()
477 BIO_free_all(ssl->wbio); in SSL_free()
529 void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio) { in SSL_set_bio() argument
532 if (ssl->wbio == ssl->bbio) { in SSL_set_bio()
533 ssl->wbio = ssl->wbio->next_bio; in SSL_set_bio()
541 if (ssl->wbio != wbio && ssl->rbio != ssl->wbio) { in SSL_set_bio()
542 BIO_free_all(ssl->wbio); in SSL_set_bio()
545 ssl->wbio = wbio; in SSL_set_bio()
[all …]
Dd1_clnt.c208 if (ssl->bbio != ssl->wbio) { in dtls1_connect()
209 ssl->wbio = BIO_push(ssl->bbio, ssl->wbio); in dtls1_connect()
461 if (BIO_flush(ssl->wbio) <= 0) { in dtls1_connect()
Dssl_buffer.c272 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len); in tls_write_buffer_flush()
290 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len); in dtls_write_buffer_flush()
304 if (ssl->wbio == NULL) { in ssl_write_buffer_flush()
Dd1_srvr.c311 if (BIO_flush(ssl->wbio) <= 0) { in dtls1_accept()
Ds3_clnt.c245 if (ssl->bbio != ssl->wbio) { in ssl3_connect()
246 ssl->wbio = BIO_push(ssl->bbio, ssl->wbio); in ssl3_connect()
515 if (BIO_flush(ssl->wbio) <= 0) { in ssl3_connect()
Dd1_pkt.c557 (void)BIO_flush(ssl->wbio); in dtls1_dispatch_alert()
Ds3_pkt.c711 BIO_flush(ssl->wbio); in ssl3_dispatch_alert()
Ds3_srvr.c379 if (BIO_flush(ssl->wbio) <= 0) { in ssl3_accept()
/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()
1205 BIO_up_ref(wbio); in ScopedSslBio()
9344 BIO* wbio = reinterpret_cast<BIO*>(wbioRef); local
9346 ssl, rbio, wbio, shc, client_mode, npnProtocols);
9356 if (rbio == nullptr || wbio == nullptr) {
9386 ScopedSslBio sslBio(ssl, rbio, wbio);
9764 BIO* wbio = SSL_get_wbio(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);
3735 BIO *wbio; /* used by SSL_write */ member