Home
last modified time | relevance | path

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

123

/freebsd-14.2/crypto/openssl/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
H A DSSL_CTX_set_read_ahead.pod44 Since SSL_read() can return B<SSL_ERROR_WANT_READ> for non-application data
H A DSSL_write.pod136 L<SSL_get_error(3)>, L<SSL_read_ex(3)>, L<SSL_read(3)>
/freebsd-14.2/crypto/openssl/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()
/freebsd-14.2/crypto/openssl/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()
/freebsd-14.2/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 Dsslbuffertest.c134 ret = SSL_read(serverssl, buf + len, sizeof(buf) - len); in test_func()
H A Dsslcorrupttest.c234 if (!TEST_int_lt(SSL_read(server, junk, sizeof(junk)), 0)) in test_ssl_corrupt()
H A Dasynciotest.c366 ret = SSL_read(serverssl, buf + len, sizeof(buf) - len); in test_asyncio()
H A Dsslapitest.c1387 while ((err = SSL_read(clientssl, in execute_test_ktls_sendfile()
1767 if (!TEST_int_eq(SSL_read(serverssl, &sbuf, sizeof(sbuf)), sizeof(sbuf))) in execute_cleanse_plaintext()
2430 || !TEST_int_le(SSL_read(cssl, NULL, 0), 0) in post_handshake_verify()
2431 || !TEST_int_le(SSL_read(sssl, NULL, 0), 0) in post_handshake_verify()
6530 || !TEST_int_eq(SSL_read(serverssl, buf, sizeof(buf)), in test_key_update()
6535 || !TEST_int_eq(SSL_read(clientssl, buf, sizeof(buf)), in test_key_update()
6606 if (!TEST_int_eq(SSL_read(peerwrite, buf, sizeof(buf)), -1) in test_key_update_peer_in_write()
6688 if (!TEST_int_eq(SSL_read(peer, prbuf, sizeof(prbuf)), -1) in test_key_update_peer_in_read()
6790 || !TEST_int_eq(SSL_read(peer, buf, sizeof(buf)), strlen(mess))) in test_key_update_local_in_write()
6853 if (!TEST_int_eq(SSL_read(local, lrbuf, sizeof(lrbuf)), -1) in test_key_update_local_in_read()
[all …]
H A Ddtlstest.c571 if (!TEST_int_eq(SSL_read(cssl, buf, sizeof(buf)), (int)sizeof(msg))) in test_swap_records()
H A Dbad_dtls_test.c576 ret = SSL_read(con, recv_buf, 2 * sizeof(uint64_t)); in test_bad_dtls()
/freebsd-14.2/contrib/libpcap/
H A Dsslutils.c211 int status = SSL_read(ssl, buffer, size); in ssl_recv()
/freebsd-14.2/crypto/openssl/doc/man7/
H A Dssl.pod33 L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> and L<SSL_write(3)> are
/freebsd-14.2/secure/lib/libssl/
H A DVersion.map312 SSL_read;
/freebsd-14.2/crypto/openssl/test/helpers/
H A Dssltestlib.c1125 if (SSL_read(serverssl, buf, sizeof(buf)) > 0) { in create_bare_ssl_connection()
1132 if (SSL_read(clientssl, buf, sizeof(buf)) > 0) { in create_bare_ssl_connection()
/freebsd-14.2/contrib/dma/
H A Dnet.c157 if ((rlen = SSL_read(config.ssl, buff + len, sizeof(buff) - len)) <= 0) { in read_remote()
/freebsd-14.2/usr.sbin/rpc.tlsclntd/
H A Drpc.tlsclntd.c390 ret = SSL_read(slp->ssl, &junk, 0); in rpctlscd_handlerecord_1_svc()
/freebsd-14.2/contrib/sendmail/src/
H A Dsfsasl.c728 r = SSL_read(so->con, (char *) buf, size);

123