Searched refs:wbio (Results 1 – 10 of 10) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_lib.c | 467 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 …]
|
D | d1_clnt.c | 208 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()
|
D | ssl_buffer.c | 272 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()
|
D | d1_srvr.c | 311 if (BIO_flush(ssl->wbio) <= 0) { in dtls1_accept()
|
D | s3_clnt.c | 245 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()
|
D | d1_pkt.c | 557 (void)BIO_flush(ssl->wbio); in dtls1_dispatch_alert()
|
D | s3_pkt.c | 711 BIO_flush(ssl->wbio); in ssl3_dispatch_alert()
|
D | s3_srvr.c | 379 if (BIO_flush(ssl->wbio) <= 0) { in ssl3_accept()
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 1202 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/ |
D | ssl.h | 241 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio); 3735 BIO *wbio; /* used by SSL_write */ member
|