Home
last modified time | relevance | path

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

1234

/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
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_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().
107 For SSL_read() and SSL_peek() the following return values can occur:
H A DSSL_shutdown.pod74 SSL_read() should be called until all data is received.
75 SSL_read() will indicate the end of the peer data by returning <= 0
82 (L<SSL_read(3)>), the SSL_RECEIVED_SHUTDOWN flag is set.
83 SSL_read() will return <= 0 in that case, and SSL_get_error() will return
112 However, it is recommended to wait for it using SSL_read() instead.
140 Call SSL_read() to do a bidirectional shutdown.
158 It can also occur when not all data was read using SSL_read().
H A DSSL_get_error.pod17 SSL_read_ex(), SSL_read(), SSL_peek_ex(), SSL_peek(), SSL_shutdown(),
58 SSL_read() and SSL_read_ex() can also set B<SSL_ERROR_WANT_READ> when there is
61 See L<SSL_read(3)> for more information.
73 It is safe to call SSL_read() or SSL_read_ex() when more data is available
85 SSL_read_ex(), SSL_read(), SSL_peek_ex(), or SSL_peek() may want to write data
89 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.pod61 L<SSL_read_ex(3)> and L<SSL_read(3)> can return with a failure and indicate the
81 Otherwise the call to SSL_read() or SSL_read_ex() might hang when a
131 L<ssl(7)>, L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> or
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
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_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().
107 For SSL_read() and SSL_peek() the following return values can occur:
H A DSSL_shutdown.pod71 However, it is recommended to wait for it using SSL_read() instead.
110 SSL_read() should be called until all data is received.
111 SSL_read() will indicate the end of the peer data by returning <= 0
118 (L<SSL_read(3)>), the SSL_RECEIVED_SHUTDOWN flag is set.
119 SSL_read() will return <= 0 in that case, and SSL_get_error() will return
138 Call SSL_read() to do a bidirectional shutdown.
156 It can also occur when not all data was read using SSL_read().
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.
87 It is safe to call SSL_read() or SSL_read_ex() when more data is available
101 SSL_read_ex(), SSL_read(), SSL_peek_ex(), or SSL_peek() may want to write data
105 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.pod61 L<SSL_read_ex(3)> and L<SSL_read(3)> can return with a failure and indicate the
81 Otherwise the call to SSL_read() or SSL_read_ex() might hang when a
131 L<ssl(7)>, L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> or
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Ds_time.c234 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
288 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
315 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/
H A Ds_time.c288 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
342 while ((i = 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/fuzz/
H A Dclient.c88 if (SSL_read(client, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
H A Dserver.c636 if (SSL_read(server, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dfatalerrtest.c67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { in test_fatalerr()
H A Dsslbuffertest.c125 ret = SSL_read(serverssl, buf + len, sizeof(buf) - len); in test_func()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dfatalerrtest.c67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { in test_fatalerr()
H A Dsslcorrupttest.c234 if (!TEST_int_lt(SSL_read(server, junk, sizeof(junk)), 0)) in test_ssl_corrupt()
/netbsd-src/crypto/external/bsd/openssl/dist/fuzz/
H A Dclient.c92 if (SSL_read(client, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
H A Dserver.c644 if (SSL_read(server, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dopenssl_shim.c66 int rv = SSL_read(ssl, buf, num);
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dopenssl_shim.c128 int rv = SSL_read(ssl, buf, num); in SSL_read_ex()
/netbsd-src/external/bsd/unbound/dist/testcode/
H A Dstreamtcp.c296 int sr = SSL_read(ssl, (void*)&len, (int)sizeof(len)); in recv_one()
325 int r = SSL_read(ssl, (void*)sldns_buffer_begin(buf), in recv_one()

1234