Home
last modified time | relevance | path

Searched refs:SSL_read (Results 1 – 25 of 87) sorted by relevance

1234

/freebsd/crypto/openssl/doc/man3/
H A DSSL_set_default_stream_mode.pod23 stream is a QUIC stream to which calls to L<SSL_read(3)> and L<SSL_write(3)>
29 connection once L<SSL_read(3)> or L<SSL_write(3)> is called.
34 first. As such, if L<SSL_read(3)> is called first (before any call to
38 L<SSL_read(3)>, OpenSSL assumes the client wishes to transmit first, creates a
49 L<SSL_read(3)> and L<SSL_write(3)>) will fail.
66 L<SSL_read(3)>, a bidirectional client-initiated stream is created and bound as
67 the default stream. If L<SSL_read(3)> is called prior to any call to
69 L<SSL_read(3)> to block if the connection is in blocking mode), and then binds
72 presence of a bidirectional stream when L<SSL_read(3)> is called first. To
73 determine the type of a stream after a call to L<SSL_read(3)>, use
[all …]
H A DSSL_read.pod5 SSL_read_ex, SSL_read, SSL_peek_ex, SSL_peek
13 int SSL_read(SSL *ssl, void *buf, int num);
20 SSL_read_ex() and SSL_read() try to read B<num> bytes from the specified B<ssl>
24 SSL_peek_ex() and SSL_peek() are identical to SSL_read_ex() and SSL_read()
26 the read, so that a subsequent call to SSL_read_ex() or SSL_read() will yield
32 SSL_read(), SSL_peek_ex() or SSL_peek().
96 When used with a QUIC SSL object, calling an I/O function such as SSL_read()
100 SSL_read() is called regularly, or alternatively ensure that SSL_handle_events()
115 For SSL_read() and SSL_peek() the following return values can occur:
H A DSSL_pending.pod19 read by the application via a call to L<SSL_read_ex(3)> or L<SSL_read(3)>.
37 return 1, and then a subsequent call to SSL_read_ex() or SSL_read() to return no
41 SSL_read_ex() or SSL_read() call because the buffered and unprocessed data is
53 L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_CTX_set_read_ahead(3)>,
H A DSSL_get_error.pod17 SSL_read_ex(), SSL_read(), SSL_peek_ex(), SSL_peek(), SSL_shutdown(),
72 SSL_read() and SSL_read_ex() can also set B<SSL_ERROR_WANT_READ> when there is
75 See L<SSL_read(3)> for more information.
97 It is safe to call SSL_read() or SSL_read_ex() when more data is available
111 SSL_read_ex(), SSL_read(), SSL_peek_ex(), or SSL_peek() may want to write data
115 either the client or the server); SSL_read_ex(), SSL_read(), SSL_peek_ex(),
H A DSSL_set_connect_state.pod43 using L<SSL_write_ex(3)>, L<SSL_write(3)>, L<SSL_read_ex(3)>, or L<SSL_read(3)>,
64 L<SSL_write_ex(3)>, L<SSL_write(3)>, L<SSL_read_ex(3)>, L<SSL_read(3)>,
H A DSSL_shutdown.pod79 L<SSL_write(3)> can no longer be used, but L<SSL_read(3)> may still be used
92 L<SSL_read(3)> (i.e., L<SSL_read(3)> will fail and L<SSL_get_error(3)> will
123 L<SSL_read(3)> until L<SSL_get_error(3)> indicates EOF by returning
132 sent by the peer using L<SSL_read(3)>.
138 from the network, such as L<SSL_read(3)> or SSL_shutdown(). These flags
201 An alternative approach is to simply avoid calling L<SSL_read(3)> if it is known
210 peer during calls to L<SSL_read(3)> by the application.
411 It can also occur when not all data was read using SSL_read(), or if called
H A DSSL_CTX_set_mode.pod64 L<SSL_read_ex(3)> and L<SSL_read(3)> can return with a failure and indicate the
84 Otherwise the call to SSL_read() or SSL_read_ex() might hang when a
134 L<ssl(7)>, L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> or
H A DSSL_get_stream_read_state.pod60 be residual data available to read via L<SSL_read(3)> when this state is
75 read by calling L<SSL_read(3)>.
109 read via L<SSL_read(3)> when this state is returned. Calls to L<SSL_write(3)>
H A DSSL_handle_events.pod42 automatically by calls to other SSL functions such as L<SSL_read(3)> or
62 is not necessary unless no I/O calls (such as L<SSL_read(3)> or L<SSL_write(3)>)
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Derror-handling.md51 Operations on QUIC streams (SSL_write(), SSL_read()) can also trigger errors,
55 or SSL_read() on the stream.
67 processing, or when calling SSL_read()/SSL_write() on a stream need to be
68 replicated for SSL_read()/SSL_write() calls on other streams.
78 When returning to an application from an SSL_read()/SSL_write() call with
100 are calling SSL_read()/SSL_write() simultaneously they all get
H A Dstream-receive-buffers.md5 until the application reads it with SSL_read() or any future stream read
16 - As packets can be received before application calls SSL_read() to read
22 - After the data is passed via SSL_read() to the application the stored
68 SSL_read() copies data out of the stored buffers if available and
H A Dquic-requirements.md125 * Simple clients that just do basic SSL_read/SSL_write or BIO_read/BIO_write
129 * Simple servers that just do basic SSL_read/SSL_write or BIO_read/BIO_write
200 * Support simple clients that just do basic SSL_read/SSL_write or BIO_read/BIO_write
H A Dquic-api.md20 …- [`SSL_read`, `SSL_read_ex`, `SSL_peek`, `SSL_peek_ex`](#-ssl-read----ssl-read-ex----ssl-peek----…
218 #### `SSL_read`, `SSL_read_ex`, `SSL_peek`, `SSL_peek_ex`
228 `SSL_read` will fail with `SSL_ERROR_ZERO_RETURN`.
231 stream has been reset, or the connection has terminated), calls to `SSL_read`
671 also signals the end of the stream. Thus, `SSL_read()` can still be used.
746 * and that any future SSL_read calls will return any residual data waiting to
760 * SSL_read will fail, though SSL_read may allow any residual data waiting to
785 * stream via SSL_read will fail, though SSL_read may allow any residual
1137 * consumption. `SSL_read` and `SSL_write` calls must be made on a QUIC
1157 * bound as the default stream. Thereafter, calls to `SSL_read` will fail.
[all …]
/freebsd/crypto/openssl/apps/
H A Ds_time.c287 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
342 while (SSL_read(scon, buf, sizeof(buf)) > 0) in s_time_main()
370 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
/freebsd/crypto/openssl/demos/sslecho/
H A Dmain.c236 if ((rxlen = SSL_read(ssl, rxbuf, rxcap)) <= 0) { in main()
339 rxlen = SSL_read(ssl, rxbuf, rxcap); in main()
H A DREADME.md20 SSL_write() and SSL_read().
/freebsd/crypto/openssl/doc/man7/
H A Dopenssl-quic.pod55 associated with it. Calls to L<SSL_read(3)> and L<SSL_write(3)> on the QUIC
58 L<SSL_read(3)> or L<SSL_write(3)> is called first.
72 connection SSL object; L<SSL_read(3)> and L<SSL_write(3)> calls to the QUIC
81 mode, if a client application calls L<SSL_read(3)> first before any call to
83 is using a server-initiated stream, and the L<SSL_read(3)> call will not
86 application calls L<SSL_write(3)> before any call to L<SSL_read(3)> on the
109 and attempts to call L<SSL_read(3)> and L<SSL_write(3)> on the QUIC connection
112 receiving application data using L<SSL_read(3)> and L<SSL_write(3)>.
126 Most SSL APIs, such as L<SSL_read(3)> and L<SSL_write(3)>, function as they do
173 Traditionally, whether the application-level I/O APIs (such as L<SSL_read(3)>
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dclient.c92 if (SSL_read(client, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
H A Ddtlsclient.c92 if (SSL_read(client, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
H A Ddtlsserver.c711 if (SSL_read(server, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
/freebsd/crypto/openssl/test/
H A Dfatalerrtest.c67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { in test_fatalerr()
H A Ddtlstest.c577 if (!TEST_int_eq(SSL_read(cssl, buf, sizeof(buf)), (int)sizeof(msg))) in test_swap_records()
665 if (!TEST_int_eq(SSL_read(cssl, buf, sizeof(buf)), (int)sizeof(msg))) in test_duplicate_app_data()
675 if (!TEST_int_le(ret = SSL_read(cssl, buf, sizeof(buf)), 0) in test_duplicate_app_data()
H A Dquic_newcid_test.c118 if (!TEST_int_eq(SSL_read(cssl, buf, sizeof(buf)), msglen)) in test_ncid_frame()
/freebsd/contrib/libpcap/
H A Dsslutils.c211 int status = SSL_read(ssl, buffer, size); in ssl_recv()
/freebsd/crypto/openssl/doc/designs/ddd/
H A Dddd-03-fd-blocking.c105 return SSL_read(ssl, buf, buf_len); in rx()

1234