Searched refs:wbio (Results 1 - 12 of 12) sorted by relevance

/external/conscrypt/common/src/jni/main/include/
H A DScopedSslBio.h30 ScopedSslBio(SSL* ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { argument
31 SSL_set_bio(ssl_, rbio, wbio);
33 BIO_up_ref(wbio);
/external/boringssl/src/ssl/
H A Dssl_buffer.cc246 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len);
263 int ret = BIO_write(ssl->wbio, buf->buf + buf->offset, buf->len);
277 if (ssl->wbio == NULL) {
H A Dssl_lib.cc478 BIO_free_all(ssl->wbio);
521 void SSL_set0_wbio(SSL *ssl, BIO *wbio) { argument
522 BIO_free_all(ssl->wbio);
523 ssl->wbio = wbio;
526 void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio) { argument
531 if (rbio == SSL_get_rbio(ssl) && wbio == SSL_get_wbio(ssl)) {
537 if (rbio != NULL && rbio == wbio) {
541 /* If only the wbio is changed, adopt only one reference. */
543 SSL_set0_wbio(ssl, wbio);
1171 BIO *wbio = SSL_get_wbio(ssl); local
[all...]
H A Dd1_both.cc598 long mtu = BIO_ctrl(ssl->wbio, BIO_CTRL_DGRAM_QUERY_MTU, 0, NULL);
603 BIO_ctrl(ssl->wbio, BIO_CTRL_DGRAM_SET_MTU, ssl->d1->mtu, NULL);
778 int bio_ret = BIO_write(ssl->wbio, packet, packet_len);
789 if (BIO_flush(ssl->wbio) <= 0) {
H A Dd1_lib.cc229 long mtu = BIO_ctrl(ssl->wbio, BIO_CTRL_DGRAM_GET_FALLBACK_MTU, 0, NULL);
H A Dd1_pkt.cc407 BIO_flush(ssl->wbio);
H A Ds3_both.cc356 ssl->wbio,
367 if (BIO_flush(ssl->wbio) <= 0) {
H A Ds3_pkt.cc582 BIO_flush(ssl->wbio);
H A Dinternal.h1947 BIO *wbio; /* used by SSL_write */ member in struct:ssl_st
/external/conscrypt/common/src/jni/main/cpp/
H A DNativeCrypto.cpp7250 BIO* wbio = SSL_get_wbio(ssl); local
7270 size_t bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio);
7300 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved
7518 BIO* wbio = SSL_get_wbio(ssl); local
7540 size_t bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio);
7572 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved
7853 BIO* wbio = reinterpret_cast<BIO*>(static_cast<uintptr_t>(wbioRef)); local
7854 JNI_TRACE("ssl=%p NativeCrypto_SSL_shutdown rbio=%p wbio=%p shc=%p", ssl, rbio, wbio, shc);
7858 if (rbio == nullptr || wbio
[all...]
/external/boringssl/include/openssl/
H A Dssl.h240 /* SSL_set_bio configures |ssl| to read from |rbio| and write to |wbio|. |ssl|
241 * takes ownership of the two |BIO|s. If |rbio| and |wbio| are the same, |ssl|
250 * If |wbio| is the same as the currently configured |BIO| for writing AND |ssl|
258 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
267 /* SSL_set0_wbio configures |ssl| to write to |wbio|. It takes ownership of
268 * |wbio|.
272 OPENSSL_EXPORT void SSL_set0_wbio(SSL *ssl, BIO *wbio);
/external/boringssl/src/include/openssl/
H A Dssl.h240 /* SSL_set_bio configures |ssl| to read from |rbio| and write to |wbio|. |ssl|
241 * takes ownership of the two |BIO|s. If |rbio| and |wbio| are the same, |ssl|
250 * If |wbio| is the same as the currently configured |BIO| for writing AND |ssl|
258 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
267 /* SSL_set0_wbio configures |ssl| to write to |wbio|. It takes ownership of
268 * |wbio|.
272 OPENSSL_EXPORT void SSL_set0_wbio(SSL *ssl, BIO *wbio);

Completed in 253 milliseconds