Home
last modified time | relevance | path

Searched refs:s_bio (Results 1 – 3 of 3) sorted by relevance

/external/openssl/ssl/
Dssl_task.c266 BIO *s_bio=NULL; in doit() local
284 s_bio=BIO_new(BIO_f_ssl()); in doit()
285 if ((c_bio == NULL) || (s_bio == NULL)) goto err; in doit()
289 BIO_set_ssl(s_bio,s_ssl,BIO_CLOSE); in doit()
329 i = BIO_read ( s_bio, msg.data, msg.length ); in doit()
340 i = BIO_write ( s_bio, msg.data, msg.length ); in doit()
367 if (s_bio != NULL) BIO_free(s_bio); in doit()
Dssltest.c1323 BIO *s_bio=NULL; in doit() local
1343 s_bio=BIO_new(BIO_f_ssl()); in doit()
1344 if ((c_bio == NULL) || (s_bio == NULL)) in doit()
1356 BIO_set_ssl(s_bio,s_ssl,BIO_NOCLOSE); in doit()
1370 i=(int)BIO_pending(s_bio); in doit()
1494 i=BIO_read(s_bio,sbuf,sizeof(cbuf)); in doit()
1499 if (BIO_should_retry(s_bio)) in doit()
1501 if (BIO_should_read(s_bio)) in doit()
1503 if (BIO_should_write(s_bio)) in doit()
1541 i=BIO_write(s_bio,sbuf,j); in doit()
[all …]
/external/openssl/crypto/threads/
Dmttest.c426 BIO *s_bio=NULL; in doit() local
454 s_bio=BIO_new(BIO_f_ssl()); in doit()
455 if ((c_bio == NULL) || (s_bio == NULL)) goto err; in doit()
463 BIO_set_ssl(s_bio,s_ssl,(ctx[3] == NULL)?BIO_CLOSE:BIO_NOCLOSE); in doit()
477 i=(int)BIO_pending(s_bio); in doit()
586 i=BIO_read(s_bio,sbuf,100); in doit()
591 if (BIO_should_retry(s_bio)) in doit()
593 if (BIO_should_read(s_bio)) in doit()
595 if (BIO_should_write(s_bio)) in doit()
623 i=BIO_write(s_bio,"hello from server\n",18); in doit()
[all …]