Home
last modified time | relevance | path

Searched refs:ssl_bio (Results 1 – 10 of 10) sorted by relevance

/openssl/doc/designs/ddd/
H A Dddd-02-conn-nonblocking-threads.c21 BIO *ssl_bio; member
130 conn->ssl_bio = out; in new_conn()
146 l = BIO_write(conn->ssl_bio, buf, buf_len); in tx()
148 if (BIO_should_retry(conn->ssl_bio)) { in tx()
149 conn->tx_need_rx = BIO_should_read(conn->ssl_bio); in tx()
171 l = BIO_read(conn->ssl_bio, buf, buf_len); in rx()
173 if (BIO_should_retry(conn->ssl_bio)) { in rx()
174 conn->rx_need_tx = BIO_should_write(conn->ssl_bio); in rx()
193 if (!BIO_get_rpoll_descriptor(conn->ssl_bio, &d)) in get_conn_fd()
198 return BIO_get_fd(conn->ssl_bio, NULL); in get_conn_fd()
[all …]
H A Dddd-05-mem-nonblocking.c20 BIO *ssl_bio, *net_bio; member
62 BIO *ssl_bio, *internal_bio, *net_bio; local
105 ssl_bio = BIO_new(BIO_f_ssl());
106 if (ssl_bio == NULL) {
112 if (BIO_set_ssl(ssl_bio, ssl, BIO_CLOSE) <= 0) {
114 BIO_free(ssl_bio);
123 BIO_free(ssl_bio);
128 conn->ssl_bio = ssl_bio;
143 l = BIO_write(conn->ssl_bio, buf, buf_len);
172 l = BIO_read(conn->ssl_bio, buf, buf_len);
[all …]
H A Dddd-02-conn-nonblocking.c21 BIO *ssl_bio; member
142 conn->ssl_bio = out; in new_conn()
158 l = BIO_write(conn->ssl_bio, buf, buf_len); in tx()
160 if (BIO_should_retry(conn->ssl_bio)) { in tx()
161 conn->tx_need_rx = BIO_should_read(conn->ssl_bio); in tx()
183 l = BIO_read(conn->ssl_bio, buf, buf_len); in rx()
185 if (BIO_should_retry(conn->ssl_bio)) { in rx()
186 conn->rx_need_tx = BIO_should_write(conn->ssl_bio); in rx()
205 if (!BIO_get_rpoll_descriptor(conn->ssl_bio, &d)) in get_conn_fd()
210 return BIO_get_fd(conn->ssl_bio, NULL); in get_conn_fd()
[all …]
/openssl/demos/bio/
H A Dsconnect.c42 BIO *ssl_bio; in main() local
68 ssl_bio = BIO_new(BIO_f_ssl()); in main()
69 BIO_set_ssl(ssl_bio, ssl, BIO_CLOSE); in main()
81 out = BIO_push(ssl_bio, out); in main()
H A Dserver-cmod.c27 BIO *ssl_bio, *tmp; in main() local
44 ssl_bio = BIO_new_ssl(ctx, 0); in main()
54 BIO_set_accept_bios(in, ssl_bio); in main()
H A Dsaccept.c56 BIO *ssl_bio, *tmp; in main() local
75 ssl_bio = BIO_new_ssl(ctx, 0); in main()
85 BIO_set_accept_bios(in, ssl_bio); in main()
H A Dserver-arg.c26 BIO *ssl_bio, *tmp; in main() local
97 ssl_bio = BIO_new_ssl(ctx, 0); in main()
107 BIO_set_accept_bios(in, ssl_bio); in main()
H A Dserver-conf.c28 BIO *ssl_bio, *tmp; in main() local
89 ssl_bio = BIO_new_ssl(ctx, 0); in main()
99 BIO_set_accept_bios(in, ssl_bio); in main()
/openssl/apps/
H A Ds_server.c3159 BIO *io, *ssl_bio, *sbio, *edio; in www_body() local
3180 ssl_bio = BIO_new(BIO_f_ssl()); in www_body()
3233 BIO_set_ssl(ssl_bio, con, BIO_CLOSE); in www_body()
3234 BIO_push(io, ssl_bio); in www_body()
3235 ssl_bio = NULL; in www_body()
3630 BIO_free(ssl_bio); in www_body()
3642 BIO *io, *ssl_bio, *sbio; in rev_body() local
3651 ssl_bio = BIO_new(BIO_f_ssl()); in rev_body()
3686 BIO_push(io, ssl_bio); in rev_body()
3687 ssl_bio = NULL; in rev_body()
[all …]
/openssl/include/openssl/
H A Dssl.h.in1556 void BIO_ssl_shutdown(BIO *ssl_bio);

Completed in 43 milliseconds