| /freebsd-10-stable/crypto/openssl/apps/ |
| D | enc.c | 126 NULL, *wbio = NULL; in MAIN() local 463 wbio = out; in MAIN() 471 wbio = BIO_push(bzl, wbio); in MAIN() 487 wbio = BIO_push(b64, wbio); in MAIN() 518 && (BIO_write(wbio, magic, in MAIN() 520 || BIO_write(wbio, in MAIN() 638 wbio = BIO_push(benc, wbio); in MAIN() 644 if (BIO_write(wbio, (char *)buff, inl) != inl) { in MAIN() 649 if (!BIO_flush(wbio)) { in MAIN()
|
| /freebsd-10-stable/crypto/openssl/ssl/ |
| D | clienthellotest.c | 93 BIO *wbio; in main() local 128 wbio = BIO_new(BIO_s_mem()); in main() 129 SSL_set_bio(con, rbio, wbio); in main() 143 len = BIO_get_mem_data(wbio, (char **)&data); in main()
|
| D | ssl_lib.c | 535 if (s->bbio == s->wbio) { in SSL_free() 536 s->wbio = BIO_pop(s->wbio); in SSL_free() 543 if ((s->wbio != NULL) && (s->wbio != s->rbio)) in SSL_free() 544 BIO_free_all(s->wbio); in SSL_free() 617 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio) in SSL_set_bio() argument 623 if (s->wbio == s->bbio) { in SSL_set_bio() 624 s->wbio = s->wbio->next_bio; in SSL_set_bio() 630 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio)) in SSL_set_bio() 631 BIO_free_all(s->wbio); in SSL_set_bio() 633 s->wbio = wbio; in SSL_set_bio() [all …]
|
| D | bio_ssl.c | 372 ret = BIO_ctrl(ssl->wbio, cmd, num, ptr); in ssl_ctrl() 381 ret = BIO_ctrl(ssl->wbio, cmd, num, ptr); in ssl_ctrl() 397 if (ssl->rbio != ssl->wbio) in ssl_ctrl() 398 BIO_free_all(ssl->wbio); in ssl_ctrl() 401 ssl->wbio = NULL; in ssl_ctrl()
|
| D | s23_pkt.c | 76 i = BIO_write(s->wbio, &(buf[tot]), num); in ssl23_write_bytes()
|
| D | d1_clnt.c | 328 if (s->bbio != s->wbio) in IMPLEMENT_dtls1_meth_func() 329 s->wbio = BIO_push(s->bbio, s->wbio); in IMPLEMENT_dtls1_meth_func() 700 if (BIO_flush(s->wbio) <= 0) { in IMPLEMENT_dtls1_meth_func() 704 if (!BIO_should_retry(s->wbio)) { in IMPLEMENT_dtls1_meth_func() 769 if ((ret = BIO_flush(s->wbio)) <= 0) in IMPLEMENT_dtls1_meth_func()
|
| D | d1_both.c | 1524 BIO *wbio; in dtls1_shutdown() local 1526 wbio = SSL_get_wbio(s); in dtls1_shutdown() 1527 if (wbio != NULL && BIO_dgram_is_sctp(wbio) && in dtls1_shutdown() 1529 ret = BIO_dgram_sctp_wait_for_dry(wbio); in dtls1_shutdown()
|
| D | s2_srvr.c | 276 num1 = BIO_ctrl(s->wbio, BIO_CTRL_INFO, 0, NULL); in IMPLEMENT_ssl2_meth_func() 279 num1 = BIO_flush(s->wbio); in IMPLEMENT_ssl2_meth_func() 288 s->wbio = BIO_pop(s->wbio); in IMPLEMENT_ssl2_meth_func()
|
| D | s2_pkt.c | 462 if (s->wbio != NULL) { in write_pending() 464 i = BIO_write(s->wbio, in write_pending()
|
| D | ssl_task.c | 386 s_ssl->wbio = NULL; in doit()
|
| D | s3_pkt.c | 927 if (s->wbio != NULL) { in ssl3_write_pending() 929 i = BIO_write(s->wbio, in ssl3_write_pending() 1574 (void)BIO_flush(s->wbio); in ssl3_dispatch_alert()
|
| D | d1_srvr.c | 599 if (BIO_flush(s->wbio) <= 0) { in IMPLEMENT_dtls1_meth_func() 603 if (!BIO_should_retry(s->wbio)) { in IMPLEMENT_dtls1_meth_func() 883 if ((ret = BIO_flush(s->wbio)) <= 0) in IMPLEMENT_dtls1_meth_func()
|
| D | s3_clnt.c | 301 if (s->bbio != s->wbio) in IMPLEMENT_ssl3_meth_func() 302 s->wbio = BIO_push(s->bbio, s->wbio); in IMPLEMENT_ssl3_meth_func() 595 if (BIO_flush(s->wbio) <= 0) { in IMPLEMENT_ssl3_meth_func() 650 if ((ret = BIO_flush(s->wbio)) <= 0) in IMPLEMENT_ssl3_meth_func()
|
| D | s23_clnt.c | 242 (void)BIO_flush(s->wbio); in IMPLEMENT_ssl23_meth_func()
|
| D | ssl.h | 1265 BIO *wbio; member 1272 char *wbio; member 1850 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio);
|
| D | ssltest.c | 1748 s_ssl->wbio = NULL; in doit() 1752 c_ssl->wbio = NULL; in doit()
|
| D | s3_lib.c | 4249 if ((s->s3->flags & SSL3_FLAGS_POP_BUFFER) && (s->wbio == s->bbio)) { in ssl3_write() 4260 n = BIO_flush(s->wbio); in ssl3_write()
|
| D | s3_srvr.c | 581 if (BIO_flush(s->wbio) <= 0) { in ssl3_accept() 876 if ((ret = BIO_flush(s->wbio)) <= 0) in ssl3_accept()
|
| D | d1_pkt.c | 1854 (void)BIO_flush(s->wbio); in dtls1_dispatch_alert()
|
| /freebsd-10-stable/crypto/openssl/doc/ssl/ |
| D | SSL_set_bio.pod | 11 void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio); 15 SSL_set_bio() connects the BIOs B<rbio> and B<wbio> for the read and write 18 The SSL engine inherits the behaviour of B<rbio> and B<wbio>, respectively.
|
| D | ssl.pod | 629 =item void B<SSL_set_bio>(SSL *ssl, BIO *rbio, BIO *wbio);
|
| /freebsd-10-stable/crypto/openssl/crypto/threads/ |
| D | mttest.c | 622 s_ssl->wbio = NULL; in doit() 626 c_ssl->wbio = NULL; in doit()
|