Home
last modified time | relevance | path

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

/freebsd-10-stable/crypto/openssl/apps/
Denc.c126 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/
Dclienthellotest.c93 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()
Dssl_lib.c535 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 …]
Dbio_ssl.c372 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()
Ds23_pkt.c76 i = BIO_write(s->wbio, &(buf[tot]), num); in ssl23_write_bytes()
Dd1_clnt.c328 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()
Dd1_both.c1524 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()
Ds2_srvr.c276 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()
Ds2_pkt.c462 if (s->wbio != NULL) { in write_pending()
464 i = BIO_write(s->wbio, in write_pending()
Dssl_task.c386 s_ssl->wbio = NULL; in doit()
Ds3_pkt.c927 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()
Dd1_srvr.c599 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()
Ds3_clnt.c301 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()
Ds23_clnt.c242 (void)BIO_flush(s->wbio); in IMPLEMENT_ssl23_meth_func()
Dssl.h1265 BIO *wbio; member
1272 char *wbio; member
1850 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio);
Dssltest.c1748 s_ssl->wbio = NULL; in doit()
1752 c_ssl->wbio = NULL; in doit()
Ds3_lib.c4249 if ((s->s3->flags & SSL3_FLAGS_POP_BUFFER) && (s->wbio == s->bbio)) { in ssl3_write()
4260 n = BIO_flush(s->wbio); in ssl3_write()
Ds3_srvr.c581 if (BIO_flush(s->wbio) <= 0) { in ssl3_accept()
876 if ((ret = BIO_flush(s->wbio)) <= 0) in ssl3_accept()
Dd1_pkt.c1854 (void)BIO_flush(s->wbio); in dtls1_dispatch_alert()
/freebsd-10-stable/crypto/openssl/doc/ssl/
DSSL_set_bio.pod11 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.
Dssl.pod629 =item void B<SSL_set_bio>(SSL *ssl, BIO *rbio, BIO *wbio);
/freebsd-10-stable/crypto/openssl/crypto/threads/
Dmttest.c622 s_ssl->wbio = NULL; in doit()
626 c_ssl->wbio = NULL; in doit()