Home
last modified time | relevance | path

Searched refs:rbio (Results 1 – 15 of 15) sorted by relevance

/external/openssl/ssl/
Dbio_ssl.c329 else if (ssl->rbio != NULL) in ssl_ctrl()
330 ret=BIO_ctrl(ssl->rbio,cmd,num,ptr); in ssl_ctrl()
398 ret=BIO_pending(ssl->rbio); in ssl_ctrl()
406 if ((b->next_bio != NULL) && (b->next_bio != ssl->rbio)) in ssl_ctrl()
419 if (ssl->rbio != ssl->wbio) in ssl_ctrl()
424 ssl->rbio=NULL; in ssl_ctrl()
468 ret=BIO_ctrl(ssl->rbio,cmd,num,ptr); in ssl_ctrl()
489 ret=BIO_ctrl(ssl->rbio,cmd,num,ptr); in ssl_ctrl()
513 ret=BIO_callback_ctrl(ssl->rbio,cmd,fp); in ssl_callback_ctrl()
Dssl_lib.c559 if (s->rbio != NULL) in SSL_free()
560 BIO_free_all(s->rbio); in SSL_free()
561 if ((s->wbio != NULL) && (s->wbio != s->rbio)) in SSL_free()
636 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio) in SSL_set_bio() argument
648 if ((s->rbio != NULL) && (s->rbio != rbio)) in SSL_set_bio()
649 BIO_free_all(s->rbio); in SSL_set_bio()
650 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio)) in SSL_set_bio()
652 s->rbio=rbio; in SSL_set_bio()
657 { return(s->rbio); } in SSL_get_rbio()
716 if ((s->rbio == NULL) || (BIO_method_type(s->rbio) != BIO_TYPE_SOCKET) in SSL_set_wfd()
[all …]
Ds23_pkt.c105 j=BIO_read(s->rbio,(char *)&(p[s->packet_length]), in ssl23_read_bytes()
Ds2_pkt.c376 if (s->rbio != NULL) in read_n()
379 i=BIO_read(s->rbio,(char *)&(s->s2->rbuf[off+newb]), in read_n()
Ds3_pkt.c237 if (s->rbio != NULL) in ssl3_read_n()
240 i=BIO_read(s->rbio,pkt+len+left, max-left); in ssl3_read_n()
Dssl.h1220 BIO *rbio; /* used by SSL_read */ member
1225 char *rbio; /* used by SSL_read */ member
1844 void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);
Dssltest.c1841 s_ssl->rbio=NULL; in doit()
1846 c_ssl->rbio=NULL; in doit()
/external/openssl/apps/
Denc.c127 BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL; in MAIN() local
489 rbio=in; in MAIN()
501 rbio=BIO_push(bzl,rbio); in MAIN()
519 rbio=BIO_push(b64,rbio); in MAIN()
555 } else if(BIO_read(rbio,mbuf,sizeof mbuf) != sizeof mbuf in MAIN()
556 || BIO_read(rbio, in MAIN()
676 inl=BIO_read(rbio,(char *)buff,bsize); in MAIN()
/external/chromium_org/third_party/boringssl/src/ssl/
Ds23_pkt.c105 j=BIO_read(s->rbio,(char *)&(p[s->packet_length]), in ssl23_read_bytes()
Dssl_lib.c646 if (s->rbio != NULL) in SSL_free()
647 BIO_free_all(s->rbio); in SSL_free()
648 if ((s->wbio != NULL) && (s->wbio != s->rbio)) in SSL_free()
706 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio) in SSL_set_bio() argument
718 if ((s->rbio != NULL) && (s->rbio != rbio)) in SSL_set_bio()
719 BIO_free_all(s->rbio); in SSL_set_bio()
720 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio)) in SSL_set_bio()
722 s->rbio=rbio; in SSL_set_bio()
727 { return(s->rbio); } in SSL_get_rbio()
786 if ((s->rbio == NULL) || (BIO_method_type(s->rbio) != BIO_TYPE_FD) in SSL_set_wfd()
[all …]
Ds3_pkt.c238 if (s->rbio != NULL) in ssl3_read_n()
241 i=BIO_read(s->rbio,pkt+len+left, max-left); in ssl3_read_n()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp1014 ScopedSslBio(SSL *ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { in ScopedSslBio() argument
1015 SSL_set_bio(ssl_, rbio, wbio); in ScopedSslBio()
1016 CRYPTO_add(&rbio->references,1,CRYPTO_LOCK_BIO); in ScopedSslBio()
8214 BIO* rbio = reinterpret_cast<BIO*>(rbioRef); in NativeCrypto_SSL_do_handshake_bio() local
8217 ssl, rbio, wbio, shc, client_mode, npnProtocols); in NativeCrypto_SSL_do_handshake_bio()
8227 if (rbio == NULL || wbio == NULL) { in NativeCrypto_SSL_do_handshake_bio()
8233 ScopedSslBio sslBio(ssl, rbio, wbio); in NativeCrypto_SSL_do_handshake_bio()
8605 BIO* rbio = SSL_get_rbio(ssl); in sslRead() local
8629 unsigned int bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio); in sslRead()
8658 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved in sslRead()
[all …]
/external/openssl/crypto/threads/
Dmttest.c681 s_ssl->rbio=NULL; in doit()
686 c_ssl->rbio=NULL; in doit()
/external/openssl/include/openssl/
Dssl.h1220 BIO *rbio; /* used by SSL_read */ member
1225 char *rbio; /* used by SSL_read */ member
1844 void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dssl.h1234 BIO *rbio; /* used by SSL_read */ member
1239 char *rbio; /* used by SSL_read */ member
1939 OPENSSL_EXPORT void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);