Home
last modified time | relevance | path

Searched refs:bio (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/openssl/library/
Dssl_bio.c166 int BIO_read(BIO *bio, void *data, int len) in BIO_read() argument
168 SSL_ASSERT1(bio); in BIO_read()
169 BIO *peer = bio->peer; in BIO_read()
172 bio->flags |= BIO_FLAGS_READ; in BIO_read()
179 bio->flags &= ~BIO_FLAGS_READ; in BIO_read()
191 size_t BIO_wpending(const BIO *bio) in BIO_wpending() argument
193 return bio->dlen - bio->roffset; in BIO_wpending()
196 size_t BIO_ctrl_pending(const BIO *bio) in BIO_ctrl_pending() argument
198 return bio->peer->dlen - bio->peer->roffset; in BIO_ctrl_pending()
Dssl_lib.c1509 ssl->bio = rbio; in SSL_set_bio()
/hal_espressif-3.6.0/components/openssl/include/openssl/
Dbio.h127 int BIO_read(BIO *bio, void *data, int len);
136 size_t BIO_wpending(const BIO *bio);
145 size_t BIO_ctrl_pending(const BIO *bio);
154 size_t BIO_ctrl_get_write_guarantee(BIO *bio);
/hal_espressif-3.6.0/components/openssl/platform/
Dssl_pm.c94 BIO *bio = ctx; in mbedtls_bio_send() local
95 int written = BIO_write(bio, buf, len); in mbedtls_bio_send()
96 if (written <= 0 && BIO_should_write(bio)) { in mbedtls_bio_send()
104 BIO *bio = ctx; in mbedtls_bio_recv() local
105 int read = BIO_read(bio, buf, len); in mbedtls_bio_recv()
106 if (read <= 0 && BIO_should_read(bio)) { in mbedtls_bio_recv()
333 if (ssl->bio) { in ssl_pm_handshake()
336 mbedtls_ssl_set_bio(&ssl_pm->ssl, ssl->bio, mbedtls_bio_send, mbedtls_bio_recv, NULL); in ssl_pm_handshake()
352 } else if (ssl->bio) { in ssl_pm_handshake()
/hal_espressif-3.6.0/components/openssl/include/internal/
Dssl_types.h266 void *bio; member