/openssl/demos/guide/ |
H A D | tls-client-block.c | 216 if (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main() 220 if (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main() 224 if (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
|
H A D | quic-client-block.c | 238 if (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main() 242 if (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main() 246 if (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
|
H A D | tls-client-non-block.c | 290 while (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main() 296 while (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main() 302 while (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
|
H A D | quic-client-non-block.c | 352 while (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main() 358 while (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main() 364 while (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
|
H A D | quic-multi-stream.c | 117 if (!SSL_write_ex(stream, request_start, strlen(request_start), in write_a_request() 120 if (!SSL_write_ex(stream, hostname, strlen(hostname), &written)) in write_a_request() 122 if (!SSL_write_ex(stream, request_end, strlen(request_end), &written)) in write_a_request()
|
H A D | tls-server-block.c | 267 if (SSL_write_ex(ssl, buf, nread, &nwritten) > 0 && in main()
|
/openssl/doc/man3/ |
H A D | SSL_write.pod | 5 SSL_write_ex2, SSL_write_ex, SSL_write, SSL_sendfile, SSL_WRITE_FLAG_CONCLUDE - 18 int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written); 23 SSL_write_ex() and SSL_write() write B<num> bytes from the buffer B<buf> into 24 the specified B<ssl> connection. On success SSL_write_ex() will store the number 27 SSL_write_ex2() functions similarly to SSL_write_ex() but can also accept 29 I<flags> argument of 0 is exactly equivalent to calling SSL_write_ex(). 75 SSL_write_ex(), or SSL_write(). 130 SSL_write_ex() can be called with num=0, but will not send application data to 135 SSL_write_ex() and SSL_write_ex2() return 1 for success or 0 for failure. 196 The SSL_write_ex() function was added in OpenSSL 1.1.1.
|
H A D | SSL_CTX_set_mode.pod | 41 Allow SSL_write_ex(..., n, &r) to return with 0 < r < n (i.e. report success 43 SSL_write(). When not set (the default), SSL_write_ex() or SSL_write() will only 44 report success once the complete chunk was written. Once SSL_write_ex() or 46 to SSL_write_ex() or SSL_write() must only send the n-r bytes left, imitating 54 Make it possible to retry SSL_write_ex() or SSL_write() with changed buffer 134 L<ssl(7)>, L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> or
|
H A D | SSL_CTX_set_split_send_fragment.pod | 67 amount of data provided to the SSL_write_ex() or SSL_write() call divided by 73 SSL_write/SSL_write_ex called with 0-2000 bytes == 1 pipeline used 75 SSL_write/SSL_write_ex called with 2001-4000 bytes == 2 pipelines used 77 SSL_write/SSL_write_ex called with 4001-6000 bytes == 3 pipelines used 79 SSL_write/SSL_write_ex called with 6001+ bytes == 4 pipelines used
|
H A D | SSL_get_error.pod | 18 SSL_write_ex() or SSL_write() on B<ssl>. The value returned by that TLS/SSL I/O 98 even when the call that set this error was an SSL_write() or SSL_write_ex(). 99 However, if the call was an SSL_write() or SSL_write_ex(), it should be called 101 from SSL_write() or SSL_write_ex() then you should not do any other operation 112 and SSL_write() or SSL_write_ex() may want to read data. 116 SSL_peek(), SSL_write_ex(), and SSL_write() will handle any pending handshakes.
|
H A D | SSL_set_connect_state.pod | 43 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 D | SSL_read_early_data.pod | 95 function is similar to the L<SSL_write_ex(3)> function, but with the following 96 differences. See L<SSL_write_ex(3)> for information on how to write bytes to 99 L<SSL_write_ex(3)>. 103 L<SSL_write_ex(3)>, L<SSL_read_ex(3)>, L<SSL_connect(3)>, L<SSL_do_handshake(3)> 112 the correct course of action, as for L<SSL_write_ex(3)>. 117 such as L<SSL_write_ex(3)>, which will transparently complete the connection and 132 L<SSL_write_ex(3)>, L<SSL_read_ex(3)>, L<SSL_accept(3)>, L<SSL_do_handshake(3)>, 172 Servers must not call L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> or 359 L<SSL_write_ex(3)>,
|
H A D | SSL_key_update.pod | 38 SSL_read_ex() or SSL_write_ex() takes place on the connection. Alternatively 52 such as SSL_read_ex() or SSL_write_ex() takes place on the connection a check 111 L<SSL_write_ex(3)>,
|
H A D | SSL_get_value_uint.pod | 229 such as L<SSL_read_ex(3)> or L<SSL_write_ex(3)> are made on a QUIC SSL object. 237 L<SSL_write_ex(3)> do not result in the automatic processing of QUIC events. Any 276 hold data written to a stream with L<SSL_write_ex(3)> until it is transmitted 287 calls to L<SSL_write_ex(3)> which accept data cause this number to increase. 295 buffer which have yet to be consumed by calls to L<SSL_write_ex(3)>. Successful 296 calls to L<SSL_write_ex(3)> which accept data cause this number to decrease.
|
H A D | SSL_poll.pod | 242 application data using L<SSL_write_ex(3)>. 250 This event does not guarantee that a subsequent call to L<SSL_write_ex(3)> will
|
H A D | SSL_read.pod | 139 L<SSL_get_error(3)>, L<SSL_write_ex(3)>,
|
/openssl/doc/man7/ |
H A D | ossl-guide-tls-client-non-block.pod | 41 as L<SSL_read_ex(3)> or L<SSL_write_ex(3)> will not block. 137 L<SSL_write_ex(3)>. Errors may be fatal (for example because the underlying 141 L<SSL_read_ex(3)> and L<SSL_write_ex(3)> will return 0 to indicate an error and 153 L<SSL_write_ex(3)> or L<SSL_write(3)> might generate B<SSL_ERROR_WANT_READ>. 245 As with the blocking TLS client demo we use the L<SSL_write_ex(3)> function to 248 we should retry exactly the same L<SSL_write_ex(3)> call again. Note that the 260 while (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { 266 while (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { 272 while (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) {
|
H A D | ossl-guide-quic-client-non-block.pod | 42 L<SSL_read_ex(3)> or L<SSL_write_ex(3)> will return immediately with a non-fatal 134 L<SSL_read_ex(3)> or L<SSL_write_ex(3)> (or similar) call which indicates the 169 L<SSL_read_ex(3)> or L<SSL_write_ex(3)>. Errors may be fatal for the stream (for 174 L<SSL_read_ex(3)> and L<SSL_write_ex(3)> will return 0 to indicate an error and 184 L<SSL_write_ex(3)> or L<SSL_write(3)> might generate B<SSL_ERROR_WANT_READ>. 333 As with the blocking QUIC client demo we use the L<SSL_write_ex(3)> function to 336 that case we should retry exactly the same L<SSL_write_ex(3)> call again. Note 348 while (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { 354 while (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { 360 while (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) {
|
H A D | ossl-guide-quic-multi-stream.pod | 60 L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> or L<SSL_write(3)> and 63 If a client application calls L<SSL_write_ex(3)> or L<SSL_write(3)> first then 111 using the L<SSL_write_ex(3)>, L<SSL_write(3)>, L<SSL_read_ex(3)> or 226 if (!SSL_write_ex(stream, request_start, strlen(request_start), &written)) 228 if (!SSL_write_ex(stream, hostname, strlen(hostname), &written)) 230 if (!SSL_write_ex(stream, request_end, strlen(request_end), &written))
|
H A D | ossl-guide-quic-introduction.pod | 90 L<SSL_write_ex(3)> will also process these events. There is also 164 as L<SSL_read_ex(3)>, L<SSL_write_ex(3)> and other I/O functions will still
|
H A D | ossl-guide-tls-client-block.pod | 348 To send data to the server we use the L<SSL_write_ex(3)> function and to receive 360 if (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { 364 if (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { 368 if (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { 373 The L<SSL_write_ex(3)> function returns 0 if it fails and 1 if it is successful.
|
H A D | ossl-guide-tls-server-block.pod | 285 if (SSL_write_ex(ssl, buf, nread, &nwritten) > 0 &&
|
/openssl/test/ |
H A D | quicapitest.c | 97 if (!TEST_true(SSL_write_ex(clientquic, msg, msglen, &numbytes)) in test_quic_write_read() 133 || !TEST_false(SSL_write_ex(clientquic, msg, msglen, in test_quic_write_read() 1002 if (!SSL_write_ex(clientquic, msg, msglen, &written)) { in test_back_pressure() 1070 if (!TEST_true(SSL_write_ex(clientquic, buf, buflen, &written)) in test_multiple_dgrams() 1285 if (!TEST_true(SSL_write_ex(clientquic, msg, msglen, &numbytes)) in test_client_auth() 1554 if (!TEST_true(SSL_write_ex(stream[j], (unsigned char *)msg, in test_noisy_dgram() 1631 if (!SSL_write_ex(clientquic, msg, in test_bw_limit()
|
H A D | sslapitest.c | 1680 if (!TEST_true(SSL_write_ex(clientssl, msg, SSL3_RT_MAX_PLAIN_LENGTH, in test_large_app_data() 2764 if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets() 2792 || !TEST_true(SSL_write_ex(serverssl, &c, 0, &nbytes)) in test_extra_tickets() 2823 if (!TEST_false(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets() 2841 if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets() 2856 if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets() 4052 if (!TEST_false(SSL_write_ex(clientssl, MSG2, strlen(MSG2), in early_data_skip_helper() 4203 || !SSL_write_ex(serverssl, MSG2, strlen(MSG2), &written) in test_early_data_not_sent() 7194 if (!TEST_true(SSL_write_ex(writer, msg, strlen(msg), &written)) in test_ssl_clear() 9295 if (!TEST_true(SSL_write_ex(serverssl, msg, sizeof(msg), &written)) in test_multiblock_write() [all …]
|
H A D | sslbuffertest.c | 237 if (!TEST_true(SSL_write_ex(clientssl, testdata, strlen(testdata), in test_free_buffers()
|