Home
last modified time | relevance | path

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

/external/openssl/apps/
Denc.c125 BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL; in MAIN() local
476 wbio=out; in MAIN()
485 wbio=BIO_push(bzl,wbio); in MAIN()
503 wbio=BIO_push(b64,wbio); in MAIN()
533 && (BIO_write(wbio,magic, in MAIN()
535 || BIO_write(wbio, in MAIN()
658 wbio=BIO_push(benc,wbio); in MAIN()
664 if (BIO_write(wbio,(char *)buff,inl) != inl) in MAIN()
670 if (!BIO_flush(wbio)) in MAIN()
/external/openssl/ssl/
Dssl_lib.c534 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()
607 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio) in SSL_set_bio() argument
613 if (s->wbio == s->bbio) in SSL_set_bio()
615 s->wbio=s->wbio->next_bio; in SSL_set_bio()
621 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio)) in SSL_set_bio()
622 BIO_free_all(s->wbio); in SSL_set_bio()
624 s->wbio=wbio; in SSL_set_bio()
[all …]
Dbio_ssl.c385 ret=BIO_ctrl(ssl->wbio,cmd,num,ptr); in ssl_ctrl()
394 ret=BIO_ctrl(ssl->wbio,cmd,num,ptr); in ssl_ctrl()
411 if (ssl->rbio != ssl->wbio) in ssl_ctrl()
412 BIO_free_all(ssl->wbio); in ssl_ctrl()
415 ssl->wbio=NULL; in ssl_ctrl()
Ds23_pkt.c77 i=BIO_write(s->wbio,&(buf[tot]),num); in ssl23_write_bytes()
Dd1_clnt.c318 if (s->bbio != s->wbio) in IMPLEMENT_dtls1_meth_func()
319 s->wbio=BIO_push(s->bbio,s->wbio); in IMPLEMENT_dtls1_meth_func()
673 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_dtls1_meth_func()
676 if (!BIO_should_retry(s->wbio)) in IMPLEMENT_dtls1_meth_func()
739 if ((ret=BIO_flush(s->wbio)) <= 0) in IMPLEMENT_dtls1_meth_func()
Ds2_srvr.c269 num1=BIO_ctrl(s->wbio,BIO_CTRL_INFO,0,NULL); in IMPLEMENT_ssl2_meth_func()
273 num1=BIO_flush(s->wbio); in IMPLEMENT_ssl2_meth_func()
279 s->wbio=BIO_pop(s->wbio); in IMPLEMENT_ssl2_meth_func()
Ds2_pkt.c488 if (s->wbio != NULL) in write_pending()
491 i=BIO_write(s->wbio, in write_pending()
Ds3_pkt.c912 if (s->wbio != NULL) in ssl3_write_pending()
915 i=BIO_write(s->wbio, in ssl3_write_pending()
1540 (void)BIO_flush(s->wbio); in ssl3_dispatch_alert()
Ds3_lib.c4166 if ((s->s3->flags & SSL3_FLAGS_POP_BUFFER) && (s->wbio == s->bbio)) in ssl3_write()
4179 n=BIO_flush(s->wbio); in ssl3_write()
4205 if ((s->s3->flags & SSL3_FLAGS_POP_BUFFER) && (s->wbio == s->bbio)) in ssl3_read_internal()
4210 if (BIO_wpending(s->wbio) > 0) in ssl3_read_internal()
4213 n=BIO_flush(s->wbio); in ssl3_read_internal()
Dd1_srvr.c572 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_dtls1_meth_func()
575 if (!BIO_should_retry(s->wbio)) in IMPLEMENT_dtls1_meth_func()
816 if ((ret=BIO_flush(s->wbio)) <= 0) in IMPLEMENT_dtls1_meth_func()
Ds3_clnt.c299 if (s->bbio != s->wbio) in IMPLEMENT_ssl3_meth_func()
300 s->wbio=BIO_push(s->bbio,s->wbio); in IMPLEMENT_ssl3_meth_func()
605 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_ssl3_meth_func()
677 if ((ret=BIO_flush(s->wbio)) <= 0) in IMPLEMENT_ssl3_meth_func()
Ds23_clnt.c238 if (s->debug) { (void)BIO_flush(s->wbio); } in IMPLEMENT_ssl23_meth_func()
Dssl.h1123 BIO *wbio; /* used by SSL_write */ member
1128 char *wbio; /* used by SSL_write */ member
1702 void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);
Dssltest.c1865 s_ssl->wbio=NULL; in doit()
1870 c_ssl->wbio=NULL; in doit()
Ds3_srvr.c566 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_ssl3_meth_func()
822 if ((ret=BIO_flush(s->wbio)) <= 0) in IMPLEMENT_ssl3_meth_func()
Dd1_pkt.c1776 (void)BIO_flush(s->wbio); in dtls1_dispatch_alert()
/external/openssl/patches/
Dhandshake_cutthrough.patch141 + if ((s->s3->flags & SSL3_FLAGS_POP_BUFFER) && (s->wbio == s->bbio))
146 + if (BIO_wpending(s->wbio) > 0)
149 + n=BIO_flush(s->wbio);
/external/openssl/crypto/threads/
Dmttest.c682 s_ssl->wbio=NULL; in doit()
687 c_ssl->wbio=NULL; in doit()
/external/openssl/include/openssl/
Dssl.h1123 BIO *wbio; /* used by SSL_write */ member
1128 char *wbio; /* used by SSL_write */ member
1702 void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);