Home
last modified time | relevance | path

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

/external/openssl/apps/
Denc.c128 BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL; in MAIN() local
472 wbio=out; in MAIN()
481 wbio=BIO_push(bzl,wbio); in MAIN()
499 wbio=BIO_push(b64,wbio); in MAIN()
529 && (BIO_write(wbio,magic, in MAIN()
531 || BIO_write(wbio, in MAIN()
649 wbio=BIO_push(benc,wbio); in MAIN()
655 if (BIO_write(wbio,(char *)buff,inl) != inl) in MAIN()
661 if (!BIO_flush(wbio)) in MAIN()
/external/openssl/ssl/
Dssl_lib.c528 if (s->bbio == s->wbio) in SSL_free()
530 s->wbio=BIO_pop(s->wbio); in SSL_free()
537 if ((s->wbio != NULL) && (s->wbio != s->rbio)) in SSL_free()
538 BIO_free_all(s->wbio); in SSL_free()
593 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio) in SSL_set_bio() argument
599 if (s->wbio == s->bbio) in SSL_set_bio()
601 s->wbio=s->wbio->next_bio; in SSL_set_bio()
607 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio)) in SSL_set_bio()
608 BIO_free_all(s->wbio); in SSL_set_bio()
610 s->wbio=wbio; in SSL_set_bio()
[all …]
Dbio_ssl.c381 ret=BIO_ctrl(ssl->wbio,cmd,num,ptr); in ssl_ctrl()
390 ret=BIO_ctrl(ssl->wbio,cmd,num,ptr); in ssl_ctrl()
407 if (ssl->rbio != ssl->wbio) in ssl_ctrl()
408 BIO_free_all(ssl->wbio); in ssl_ctrl()
411 ssl->wbio=NULL; in ssl_ctrl()
Ds23_pkt.c77 i=BIO_write(s->wbio,&(buf[tot]),num); in ssl23_write_bytes()
Dd1_clnt.c252 if (s->bbio != s->wbio) in IMPLEMENT_dtls1_meth_func()
253 s->wbio=BIO_push(s->bbio,s->wbio); in IMPLEMENT_dtls1_meth_func()
514 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_dtls1_meth_func()
572 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()
Dssl_task.c362 s_ssl->wbio=NULL; in doit()
Ds3_lib.c3224 if ((s->s3->flags & SSL3_FLAGS_POP_BUFFER) && (s->wbio == s->bbio)) in ssl3_write()
3237 n=BIO_flush(s->wbio); in ssl3_write()
3263 if ((s->s3->flags & SSL3_FLAGS_POP_BUFFER) && (s->wbio == s->bbio)) in ssl3_read_internal()
3268 if (BIO_wpending(s->wbio) > 0) in ssl3_read_internal()
3271 n=BIO_flush(s->wbio); in ssl3_read_internal()
Ds3_pkt.c872 if (s->wbio != NULL) in ssl3_write_pending()
875 i=BIO_write(s->wbio, in ssl3_write_pending()
1479 (void)BIO_flush(s->wbio); in ssl3_dispatch_alert()
Ds3_clnt.c284 if (s->bbio != s->wbio) in IMPLEMENT_ssl3_meth_func()
285 s->wbio=BIO_push(s->bbio,s->wbio); in IMPLEMENT_ssl3_meth_func()
552 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_ssl3_meth_func()
623 if ((ret=BIO_flush(s->wbio)) <= 0) in IMPLEMENT_ssl3_meth_func()
Dssl.h987 BIO *wbio; /* used by SSL_write */ member
992 char *wbio; /* used by SSL_write */ member
1510 void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);
Ds23_clnt.c234 if (s->debug) { (void)BIO_flush(s->wbio); } in IMPLEMENT_ssl23_meth_func()
Dd1_srvr.c457 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_dtls1_meth_func()
660 if ((ret=BIO_flush(s->wbio)) <= 0) in IMPLEMENT_dtls1_meth_func()
Dssltest.c1745 s_ssl->wbio=NULL; in doit()
1750 c_ssl->wbio=NULL; in doit()
Ds3_srvr.c497 if (BIO_flush(s->wbio) <= 0) in IMPLEMENT_ssl3_meth_func()
707 if ((ret=BIO_flush(s->wbio)) <= 0) in IMPLEMENT_ssl3_meth_func()
Dd1_pkt.c1666 (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.h987 BIO *wbio; /* used by SSL_write */ member
992 char *wbio; /* used by SSL_write */ member
1510 void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);