Home
last modified time | relevance | path

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

123

/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.
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
81 B<SSL_DEFAULT_STREAM_MODE_AUTO_BIDI>. The behaviour when L<SSL_read(3)> is
[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_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_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_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)>)
H A DSSL_stream_conclude.pod28 of the stream. Thus, SSL_read() can still be used.
/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
/openssl/demos/sslecho/
H A Dmain.c236 if ((rxlen = SSL_read(ssl, rxbuf, rxcap)) <= 0) { in main()
334 rxlen = SSL_read(ssl, rxbuf, rxcap); in main()
H A DREADME.md20 SSL_write() and SSL_read().
/openssl/apps/
H A Ds_time.c287 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
340 while (SSL_read(scon, buf, sizeof(buf)) > 0) in s_time_main()
368 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
/openssl/doc/man7/
H A Dopenssl-quic.pod23 stream associated with it. Calls to L<SSL_read(3)> and
26 perspective depends on whether L<SSL_read(3)> or L<SSL_write(3)> is called
71 connection SSL object; L<SSL_read(3)> and L<SSL_write(3)> calls to the QUIC
80 mode, if a client application calls L<SSL_read(3)> first before any call to
82 is using a server-initiated stream, and the L<SSL_read(3)> call will not
85 application calls L<SSL_write(3)> before any call to L<SSL_read(3)> on the
111 receiving application data using L<SSL_read(3)> and L<SSL_write(3)>.
413 Most applications will service the SSL object by calling L<SSL_read(3)> or
504 L<SSL_handle_events(3)> (or another I/O function such as L<SSL_read(3)> or
516 functions on an SSL object, such as L<SSL_read(3)> and L<SSL_write(3)>
[all …]
/openssl/test/
H A Dfatalerrtest.c67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { in test_fatalerr()
H A Dquic_newcid_test.c118 if (!TEST_int_eq(SSL_read(cssl, buf, sizeof(buf)), msglen)) in test_ncid_frame()
/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()
H A Dquic-client.c163 ret = SSL_read(stream, tmp, sizeof(tmp)); in FuzzerTestOneInput()
H A Dserver.c643 if (SSL_read(server, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
/openssl/doc/designs/ddd/
H A Dddd-03-fd-blocking.c105 return SSL_read(ssl, buf, buf_len); in rx()

Completed in 39 milliseconds

123