/openssl/doc/designs/quic-design/ |
H A D | error-handling.md | 38 This document assumes the actual error state of the QUIC connection (or stream 39 for stream level errors) is handled separately from the auxiliary error reason 53 QUIC connection to enter an error state, or if they just affect the stream 55 or SSL_read() on the stream. 67 processing, or when calling SSL_read()/SSL_write() on a stream need to be 94 Multi-stream-multi-thread mode 98 multi-stream-multi-thread mode as the error stack entries are always
|
H A D | quic-requirements.md | 37 layer interface and a single stream QUIC client in the form of s_client that 90 * In TLS/DTLS each connection represents a single stream and each connection is 97 effectively they are single stream in nature) and this fundamental context of 115 of applications ranging from simple single stream clients up to optimised high 127 stream QUIC easily. (MVP) 131 stream QUIC easily. More likely to want to do multi-stream. 152 * It shouldn’t be harder to do single stream just because multi stream as a 162 b) application data throughput (bytes per second) for a single stream/connection 191 * a single stream QUIC client in the form of s_client that does not require 202 stream QUIC easily. (MVP)
|
/openssl/demos/guide/ |
H A D | quic-multi-stream.c | 111 static int write_a_request(SSL *stream, const char *request_start, in write_a_request() argument 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()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_idea.c | 55 IMPLEMENT_generic_cipher(idea, IDEA, ofb64, OFB, 0, 128, 8, 64, stream) 57 IMPLEMENT_generic_cipher(idea, IDEA, cfb64, CFB, 0, 128, 8, 64, stream)
|
H A D | cipher_seed.c | 54 IMPLEMENT_generic_cipher(seed, SEED, ofb128, OFB, 0, 128, 8, 128, stream) 56 IMPLEMENT_generic_cipher(seed, SEED, cfb128, CFB, 0, 128, 8, 128, stream)
|
H A D | cipher_blowfish.c | 56 IMPLEMENT_var_keylen_cipher(blowfish, BLOWFISH, ofb64, OFB, BF_FLAGS, 128, 8, 64, stream) 58 IMPLEMENT_var_keylen_cipher(blowfish, BLOWFISH, cfb64, CFB, BF_FLAGS, 128, 8, 64, stream)
|
H A D | cipher_cast5.c | 57 IMPLEMENT_var_keylen_cipher(cast5, CAST, ofb64, OFB, CAST5_FLAGS, 128, 8, 64, stream) 59 IMPLEMENT_var_keylen_cipher(cast5, CAST, cfb64, CFB, CAST5_FLAGS, 128, 8, 64, stream)
|
H A D | cipher_des.c | 195 IMPLEMENT_des_cipher(des, ofb64, OFB, DES_FLAGS, 64, 8, 64, stream); 197 IMPLEMENT_des_cipher(des, cfb64, CFB, DES_FLAGS, 64, 8, 64, stream); 199 IMPLEMENT_des_cipher(des, cfb1, CFB, DES_FLAGS, 64, 8, 64, stream); 201 IMPLEMENT_des_cipher(des, cfb8, CFB, DES_FLAGS, 64, 8, 64, stream);
|
H A D | cipher_camellia_hw.c | 35 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cipher_hw_camellia_initkey() 39 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cipher_hw_camellia_initkey()
|
H A D | cipher_sm4_hw_rv64i.inc | 34 ctx->stream.cbc = NULL; 38 ctx->stream.cbc = NULL;
|
H A D | cipher_rc4.c | 117 IMPLEMENT_cipher(rc4, RC4, RC4_FLAGS, 40, 8, 0, stream) 119 IMPLEMENT_cipher(rc4, RC4, RC4_FLAGS, 128, 8, 0, stream)
|
/openssl/crypto/evp/ |
H A D | e_des3.c | 34 } stream; member 112 if (dat->stream.cbc != NULL) { in des_ede_cbc_cipher() 113 (*dat->stream.cbc) (in, out, inl, dat->ks.ks, in des_ede_cbc_cipher() 231 dat->stream.cbc = NULL; in des_ede_init_key() 240 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede_init_key() 258 dat->stream.cbc = NULL; in des_ede3_init_key() 267 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede3_init_key()
|
H A D | e_aes.c | 41 } stream; member 170 dat->stream.cbc = NULL; in aesni_init_key() 517 dat->stream.cbc = NULL; in aes_t4_init_key() 525 dat->stream.cbc = NULL; in aes_t4_init_key() 662 xctx->stream = NULL; in aes_t4_xts_init_key() 2422 dat->stream.cbc = NULL; in aes_init_key() 2455 dat->stream.cbc = NULL; in aes_init_key() 2508 if (dat->stream.cbc) in aes_cbc_cipher() 2621 if (dat->stream.ctr) in aes_ctr_cipher() 3262 xctx->stream = NULL; in aes_xts_init_key() [all …]
|
/openssl/doc/designs/ddd/ |
H A D | ddd-06-mem-uv.c | 78 uv_stream_t *stream; member 152 conn->stream = (uv_stream_t *)&conn->tcp; in new_conn() 232 uv_close((uv_handle_t *)conn->stream, teardown_continued); in teardown() 351 static void net_read_done(uv_udp_t *stream, ssize_t nr, const uv_buf_t *buf, in net_read_done() argument 354 static void net_read_done(uv_stream_t *stream, ssize_t nr, const uv_buf_t *buf) in net_read_done() 358 APP_CONN *conn = (APP_CONN *)stream->data; in net_read_done() 397 uv_read_start(conn->stream, net_read_alloc, net_read_done); in set_rx() 399 uv_read_stop(conn->stream); in set_rx() 452 rc = uv_write(&op->w, conn->stream, &op->b, 1, net_write_done); in flush_write_buf()
|
/openssl/demos/http3/ |
H A D | ossl-nghttp3.c | 166 OSSL_DEMO_H3_STREAM *stream = stream_user_data; in h3_conn_stream_close() local 172 h3_conn_remove_stream(conn, stream); in h3_conn_stream_close() 182 OSSL_DEMO_H3_STREAM *stream = stream_user_data; in h3_conn_stop_sending() local 188 SSL_free(stream->s); in h3_conn_stop_sending() 189 stream->s = NULL; in h3_conn_stop_sending() 199 OSSL_DEMO_H3_STREAM *stream = stream_user_data; in h3_conn_reset_stream() local 206 if (stream->s != NULL) { in h3_conn_reset_stream() 209 if (!SSL_stream_reset(stream->s, &args, sizeof(args))) in h3_conn_reset_stream()
|
/openssl/doc/man3/ |
H A D | SSL_poll.pod | 79 QUIC stream SSL objects in a single call. 95 object must be a QUIC connection SSL object or QUIC stream SSL object. 219 stream has a read part and that read part has been reset by the peer (for 230 Readable. This event is raised when a QUIC stream SSL object (or a QUIC 231 connection SSL object with a default stream attached) has application data 240 Writable. This event is raised when a QUIC stream SSL object (or a QUIC 241 connection SSL object with a default stream attached) could accept more 244 This event is never raised by a receive-only stream. 269 bidirectional stream to be locally created. 275 unidirectional stream to be locally created. [all …]
|
H A D | SSL_get_value_uint.pod | 151 value is supported for a QUIC connection SSL object or a QUIC stream SSL object 152 is indicated in the heading for each value. Values supported for QUIC stream SSL 154 stream attached. 195 of QUIC stream creation flow control. 208 =item B<SSL_VALUE_EVENT_HANDLING_MODE> (connection or stream object) 221 When a new connection is created, or a new stream is created or accepted, it 266 configure explicit event handling on QUIC stream SSL object "A" and configure 273 =item B<SSL_VALUE_STREAM_WRITE_BUF_SIZE> (stream object) 276 hold data written to a stream with L<SSL_write_ex(3)> until it is transmitted 283 =item B<SSL_VALUE_STREAM_WRITE_BUF_USED> (stream object) [all …]
|
H A D | EVP_chacha20.pod | 7 - EVP ChaCha20 stream cipher 18 The ChaCha20 stream cipher for EVP. 24 The ChaCha20 stream cipher. The key length is 256 bits, the IV is 128 bits long.
|
H A D | COMP_CTX_new.pod | 81 COMP_zlib() returns a B<COMP_METHOD> for stream-based ZLIB compression. 89 COMP_brotli() returns a B<COMP_METHOD> for stream-based Brotli compression. 97 COMP_zstd() returns a B<COMP_METHOD> for stream-based Zstandard compression. 138 COMP_zlib(), COMP_brotli() and COMP_zstd() are stream-based compression methods. 140 If an error is returned, the stream is corrupted, and should be closed. 142 COMP_zlib_oneshot(), COMP_brotli_oneshot() and COMP_zstd_oneshot() are not stream-based. These
|
H A D | SSL_write.pod | 47 This flag is only supported on QUIC stream SSL objects (or QUIC connection SSL 48 objects with a default stream attached). 52 relevant QUIC stream's send part is concluded automatically as though 54 stream). 59 it enables the written stream data and the FIN flag indicating the end of the 60 stream to be scheduled as part of the same QUIC STREAM frame and QUIC packet. 62 Setting this flag does not cause a stream's send part to be concluded if not all 69 supported (for example, for B<SSL_WRITE_FLAG_CONCLUDE>, that a QUIC stream SSL
|
/openssl/doc/man7/ |
H A D | ossl-guide-quic-client-non-block.pod | 38 operations on some other connection or stream. 135 state of the stream. This is entirely independent of whether the underlying 172 stream but no data has not yet arrived from the peer for that stream). 182 from the stream but was unable to. Note that a call to L<SSL_read_ex(3)> or 189 on the stream. In this case you may still want to write data to the stream but 225 * Some stream fatal error occurred. This could be because of a 226 * stream reset - or some failure occurred on the underlying 233 * The stream has been reset but the connection is still 244 printf("Unknown stream failure\n"); 449 a multi-stream QUIC client. [all …]
|
H A D | ossl-guide-libssl-introduction.pod | 34 Both TLS and QUIC support the concept of a "stream" of data. Data sent via a 35 stream is guaranteed to be delivered in order without any data loss. A stream 38 SSL/TLS only supports one stream of data per connection and it is always 40 represents that stream. See L<ossl-guide-tls-introduction(7)> for more 45 underlying connection, or a stream, or both. Where multiple streams are in use
|
H A D | ossl-guide-quic-introduction.pod | 125 QUIC introduces the concept of "streams". A stream provides a reliable 129 effectively has one bi-directional stream available to it per TLS connection. A 136 additional B<SSL> objects can be created to represent streams (known as stream 137 B<SSL> objects). Unless configured otherwise, a "default" stream is also 140 connection B<SSL> objects, and some can only be used with stream B<SSL> objects. 143 default stream attached to it can be used in contexts that require a connection 144 B<SSL> object or in contexts that require a stream B<SSL> object. 148 TLS assumes "stream" type semantics for its underlying transport layer protocol
|
/openssl/test/ |
H A D | quicapitest.c | 827 SSL *clientquic = NULL, *stream = NULL; in test_bio_ssl() local 924 stream = SSL_new_stream(clientquic, 0); in test_bio_ssl() 925 if (!TEST_ptr(stream)) in test_bio_ssl() 928 if (!TEST_true(SSL_set_mode(stream, 0))) in test_bio_ssl() 937 stream = NULL; in test_bio_ssl() 949 SSL_free(stream); in test_bio_ssl() 1427 if (*stream == NULL) { in unreliable_client_read() 1429 *stream = SSL_accept_stream(clientquic, 0); in unreliable_client_read() 1432 if (*stream != NULL) { in unreliable_client_read() 1567 SSL_free(stream[0]); in test_noisy_dgram() [all …]
|
/openssl/include/internal/ |
H A D | quic_stream_map.h | 610 void ossl_quic_stream_map_release(QUIC_STREAM_MAP *qsm, QUIC_STREAM *stream); 617 void (*visit_cb)(QUIC_STREAM *stream, void *arg), 896 QUIC_STREAM *first_stream, *stream; member
|