Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_lib.c531 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 …]
Dd1_clnt.c213 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()
Ds3_pkt.c629 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()
Dd1_srvr.c303 if (BIO_flush(s->wbio) <= 0) { in dtls1_accept()
Ds3_clnt.c241 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()
Dd1_pkt.c889 (void)BIO_flush(s->wbio); in dtls1_dispatch_alert()
Ds3_srvr.c370 if (BIO_flush(s->wbio) <= 0) { in ssl3_accept()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp1193 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/
Dssl.h1308 BIO *wbio; /* used by SSL_write */ member
1875 OPENSSL_EXPORT void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio);