Searched refs:wbio (Results 1 – 9 of 9) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_lib.c | 531 if (ssl->bbio == ssl->wbio) { in SSL_free() 532 ssl->wbio = BIO_pop(ssl->wbio); in SSL_free() 538 int free_wbio = ssl->wbio != ssl->rbio; in SSL_free() 541 BIO_free_all(ssl->wbio); in SSL_free() 576 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio) { in SSL_set_bio() argument 579 if (s->wbio == s->bbio) { in SSL_set_bio() 580 s->wbio = s->wbio->next_bio; in SSL_set_bio() 588 if (s->wbio != wbio && s->rbio != s->wbio) { in SSL_set_bio() 589 BIO_free_all(s->wbio); in SSL_set_bio() 592 s->wbio = wbio; in SSL_set_bio() [all …]
|
D | d1_clnt.c | 213 if (s->bbio != s->wbio) { in dtls1_connect() 214 s->wbio = BIO_push(s->bbio, s->wbio); in dtls1_connect() 454 if (BIO_flush(s->wbio) <= 0) { in dtls1_connect()
|
D | s3_pkt.c | 629 if (s->wbio != NULL) { in ssl3_write_pending() 631 i = BIO_write(s->wbio, (char *)&(wb->buf[wb->offset]), in ssl3_write_pending() 1117 BIO_flush(s->wbio); in ssl3_dispatch_alert()
|
D | d1_srvr.c | 303 if (BIO_flush(s->wbio) <= 0) { in dtls1_accept()
|
D | s3_clnt.c | 241 if (s->bbio != s->wbio) { in ssl3_connect() 242 s->wbio = BIO_push(s->bbio, s->wbio); in ssl3_connect() 508 if (BIO_flush(s->wbio) <= 0) { in ssl3_connect()
|
D | d1_pkt.c | 889 (void)BIO_flush(s->wbio); in dtls1_dispatch_alert()
|
D | s3_srvr.c | 370 if (BIO_flush(s->wbio) <= 0) { in ssl3_accept()
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 1193 ScopedSslBio(SSL *ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { in ScopedSslBio() argument 1194 SSL_set_bio(ssl_, rbio, wbio); in ScopedSslBio() 1197 BIO_up_ref(wbio); in ScopedSslBio() 1200 CRYPTO_add(&wbio->references,1,CRYPTO_LOCK_BIO); in ScopedSslBio() 9215 BIO* wbio = reinterpret_cast<BIO*>(wbioRef); local 9217 ssl, rbio, wbio, shc, client_mode, npnProtocols); 9227 if (rbio == NULL || wbio == NULL) { 9233 ScopedSslBio sslBio(ssl, rbio, wbio); 9624 BIO* wbio = SSL_get_wbio(ssl); local 9647 unsigned int bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio); [all …]
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 1308 BIO *wbio; /* used by SSL_write */ member 1875 OPENSSL_EXPORT void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio);
|