Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 132) sorted by relevance

123456

/openssl/doc/man3/
H A DSSL_get_stream_id.pod7 SSL_is_stream_local - get QUIC stream ID and stream type information
25 The SSL_get_stream_id() function returns the QUIC stream ID for a QUIC stream
30 on the stream, and returns one of the following values:
42 connection SSL object with a default stream attached), and that stream is a
43 bidirectional QUIC stream.
48 default stream attached), and that stream is a unidirectional QUIC stream which
54 default stream attached), and that stream is a unidirectional QUIC stream which
69 to determine the stream initiator.
74 unidirectional stream, write to it, and then conclude the stream using
83 object without a default stream attached. Note that valid QUIC stream IDs are
[all …]
H A DSSL_set_default_stream_mode.pod7 SSL_DEFAULT_STREAM_MODE_AUTO_UNI - manage the default stream for a QUIC
23 stream is a QUIC stream to which calls to L<SSL_read(3)> and L<SSL_write(3)>
28 When not disabled, a default stream is automatically created on an outgoing
31 A QUIC stream must be explicitly designated as client-initiated or
39 client-initiated stream, and binds this as the default stream.
42 stream is desired, or if the application wishes to disable default stream
67 the default stream. If L<SSL_read(3)> is called prior to any call to
70 that stream as the default stream. Note that this incoming stream may be either
73 determine the type of a stream after a call to L<SSL_read(3)>, use
80 stream. The behaviour is otherwise identical to that of
[all …]
H A DSSL_new_stream.pod6 SSL_STREAM_FLAG_ADVANCE - create a new locally-initiated QUIC stream
21 the newly created QUIC stream SSL object.
23 If the B<SSL_STREAM_FLAG_UNI> flag is passed, a unidirectional stream is
24 created; else a bidirectional stream is created.
26 To retrieve the stream ID of the newly created stream, use
29 It is the caller's responsibility to free the QUIC stream SSL object using
31 of the QUIC stream SSL object; in other words, the QUIC stream SSL object must
41 Calling SSL_new_stream() if there is no default stream already present
42 inhibits the future creation of a default stream. See L<openssl-quic(7)>.
57 caller may begin to use the new stream and fill the write buffer of the stream
[all …]
H A DSSL_get_stream_read_state.pod9 SSL_STREAM_STATE_RESET_REMOTE, SSL_STREAM_STATE_CONN_CLOSED - get QUIC stream
42 connection SSL object without a default stream attached.
46 This value is returned on a stream which has not been concluded and remains
54 receive-only) unidirectional stream.
64 application has concluded the stream using L<SSL_stream_conclude(3)>. Future
93 of the stream was logically aborted by the peer.
106 The QUIC connection to which the stream belongs was closed. You can obtain
117 the receiving or sending parts of a stream, respectively. On success, the
126 be associated with each individual stream still existing at the time of
140 connection closure, if called on a stream for which the respective stream part
[all …]
H A DSSL_stream_reset.pod5 SSL_stream_reset - reset a QUIC stream
21 The SSL_stream_reset() function resets the send part of a QUIC stream when
22 called on a QUIC stream SSL object, or on a QUIC connection SSL object with a
23 default stream attached.
30 Resetting a stream indicates to an application that the sending part of the
31 stream is terminating abnormally. When a stream is reset, the implementation
35 a stream when the information transmitted on the stream no longer matters, for
39 as only the sending side of a stream can initiate a stream reset.
44 The receiving part of the stream (for bidirectional streams) continues to
56 stream attached, or on a non-QUIC SSL object.
[all …]
H A DSSL_stream_conclude.pod5 SSL_stream_conclude - conclude the sending part of a QUIC stream
15 SSL_stream_conclude() signals the normal end-of-stream condition for the send
16 part of a QUIC stream. If called on a QUIC connection SSL object with an
17 associated default stream, it signals the end of the single stream to the peer.
20 written in a reliable manner before the end-of-stream is signalled, assuming the
22 logical end-of-stream marker after any data which has previously been written to
23 the stream via calls to SSL_write(). Further attempts to call SSL_write() after
26 When calling this on a stream, the receive part of the stream remains
28 of the stream. Thus, SSL_read() can still be used.
32 Only the first call to this function has any effect for a given stream;
[all …]
H A DSSL_set_incoming_stream_policy.pod7 SSL_INCOMING_STREAM_POLICY_REJECT - manage the QUIC incoming stream
23 SSL_set_incoming_stream_policy() policy changes the incoming stream policy for a
26 ensure that legacy applications using single-stream operation with a default
27 stream on a QUIC connection SSL object are not passed remotely-initiated streams
47 If the default stream mode (configured using L<SSL_set_default_stream_mode(3)>)
49 B<SSL_DEFAULT_STREAM_MODE_AUTO_UNI>, the incoming stream is rejected.
53 Otherwise (where the default stream mode is B<SSL_DEFAULT_STREAM_MODE_NONE>),
54 the application is assumed to be stream aware, and the incoming stream is
70 Where an incoming stream is rejected, it is rejected immediately and it is not
71 possible to gain access to the stream using L<SSL_accept_stream(3)>. The stream
[all …]
H A DSSL_free.pod37 When used to free a QUIC stream SSL object, the respective sending and receiving
38 parts of the stream are reset unless those parts have already been concluded
45 If the stream has a sending part (in other words, if it is bidirectional or a
46 locally-initiated unidirectional stream) and that part has not been concluded
49 the stream as though L<SSL_stream_reset(3)> were called with a QUIC application
54 If the stream has a receiving part (in other words, if it is bidirectional or a
55 remotely-initiated unidirectional stream), and the peer has not yet concluded
56 that part of the stream normally (such as via a call to
61 stream in turn (which is its sending part).
65 A QUIC stream SSL object maintains a reference to a QUIC connection SSL object
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_sm4_hw.c26 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
29 ctx->stream.cbc = (cbc128_f)HWSM4_cbc_encrypt; in cipher_hw_sm4_initkey()
34 ctx->stream.ecb = (ecb128_f)HWSM4_ecb_encrypt; in cipher_hw_sm4_initkey()
49 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
62 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
64 ctx->stream.cbc = (cbc128_f)vpsm4_cbc_encrypt; in cipher_hw_sm4_initkey()
66 ctx->stream.ecb = (ecb128_f)vpsm4_ecb_encrypt; in cipher_hw_sm4_initkey()
80 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
83 ctx->stream.cbc = (cbc128_f)HWSM4_cbc_encrypt; in cipher_hw_sm4_initkey()
95 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
[all …]
H A Dcipher_aria.c56 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 256, 8, 128, stream)
58 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 192, 8, 128, stream)
60 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 128, 8, 128, stream)
62 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 256, 8, 128, stream)
64 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 192, 8, 128, stream)
66 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 128, 8, 128, stream)
68 IMPLEMENT_generic_cipher(aria, ARIA, cfb1, CFB, 0, 256, 8, 128, stream)
70 IMPLEMENT_generic_cipher(aria, ARIA, cfb1, CFB, 0, 192, 8, 128, stream)
80 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 256, 8, 128, stream)
82 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 192, 8, 128, stream)
[all …]
H A Dcipher_camellia.c62 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 256, 8, 128, stream)
64 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 192, 8, 128, stream)
66 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 128, 8, 128, stream)
68 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 256, 8, 128, stream)
70 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 192, 8, 128, stream)
72 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 128, 8, 128, stream)
74 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb1, CFB, 0, 256, 8, 128, stream)
76 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb1, CFB, 0, 192, 8, 128, stream)
86 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 256, 8, 128, stream)
88 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 192, 8, 128, stream)
[all …]
H A Dcipher_aes.c63 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 256, 8, 128, stream)
65 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 192, 8, 128, stream)
67 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 128, 8, 128, stream)
69 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 256, 8, 128, stream)
71 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 192, 8, 128, stream)
73 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 128, 8, 128, stream)
75 IMPLEMENT_generic_cipher(aes, AES, cfb1, CFB, 0, 256, 8, 128, stream)
77 IMPLEMENT_generic_cipher(aes, AES, cfb1, CFB, 0, 192, 8, 128, stream)
87 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 256, 8, 128, stream)
89 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 192, 8, 128, stream)
[all …]
H A Dcipher_aes_hw.c34 dat->stream.cbc = NULL; in cipher_hw_aes_initkey()
37 dat->stream.cbc = (cbc128_f)HWAES_cbc_encrypt; in cipher_hw_aes_initkey()
41 dat->stream.ecb = (ecb128_f)HWAES_ecb_encrypt; in cipher_hw_aes_initkey()
56 dat->stream.cbc = (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
63 dat->stream.cbc = (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
71 dat->stream.cbc = NULL; in cipher_hw_aes_initkey()
74 dat->stream.cbc = (cbc128_f)HWAES_cbc_encrypt; in cipher_hw_aes_initkey()
79 dat->stream.ecb = (ecb128_f)HWAES_ecb_encrypt; in cipher_hw_aes_initkey()
101 dat->stream.cbc = (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
108 dat->stream.cbc = (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
[all …]
H A Dcipher_aes_hw_t4.inc32 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
36 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
40 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
53 dat->stream.cbc = (cbc128_f)aes128_t4_cbc_encrypt;
55 dat->stream.ctr = (ctr128_f)aes128_t4_ctr32_encrypt;
57 dat->stream.cbc = NULL;
61 dat->stream.cbc = (cbc128_f)aes192_t4_cbc_encrypt;
63 dat->stream.ctr = (ctr128_f)aes192_t4_ctr32_encrypt;
65 dat->stream.cbc = NULL;
69 dat->stream.cbc = (cbc128_f)aes256_t4_cbc_encrypt;
[all …]
H A Dcipher_tdes_default.c20 IMPLEMENT_tdes_cipher(ede3, EDE3, ofb, OFB, TDES_FLAGS, 64*3, 8, 64, stream);
22 IMPLEMENT_tdes_cipher(ede3, EDE3, cfb, CFB, TDES_FLAGS, 64*3, 8, 64, stream);
24 IMPLEMENT_tdes_cipher(ede3, EDE3, cfb1, CFB, TDES_FLAGS, 64*3, 8, 64, stream);
26 IMPLEMENT_tdes_cipher(ede3, EDE3, cfb8, CFB, TDES_FLAGS, 64*3, 8, 64, stream);
33 IMPLEMENT_tdes_cipher(ede2, EDE2, ofb, OFB, TDES_FLAGS, 64*2, 8, 64, stream);
35 IMPLEMENT_tdes_cipher(ede2, EDE2, cfb, CFB, TDES_FLAGS, 64*2, 8, 64, stream);
H A Dcipher_sm4_xts_hw.c28 xctx->stream = fn_stream; \
37 OSSL_xts_stream_fn stream = NULL; in cipher_hw_sm4_xts_generic_initkey() local
42 HWSM4_encrypt, HWSM4_decrypt, stream, stream_gb); in cipher_hw_sm4_xts_generic_initkey()
48 stream = vpsm4_ex_xts_encrypt; in cipher_hw_sm4_xts_generic_initkey()
51 vpsm4_ex_encrypt, vpsm4_ex_decrypt, stream, stream_gb); in cipher_hw_sm4_xts_generic_initkey()
57 stream = vpsm4_xts_encrypt; in cipher_hw_sm4_xts_generic_initkey()
60 vpsm4_encrypt, vpsm4_decrypt, stream, stream_gb); in cipher_hw_sm4_xts_generic_initkey()
69 ossl_sm4_decrypt, stream, stream_gb); in cipher_hw_sm4_xts_generic_initkey()
/openssl/doc/man7/
H A Dossl-guide-quic-multi-stream.pod6 demos/guide/quic-multi-stream.c
12 ossl-guide-quic-multi-stream
40 stream 2 before it receives the data sent on stream 1.
58 This stream is known as the default stream. The default stream is automatically
73 stream at all and instead should use a separate stream B<SSL> object for each
85 data on that stream.
119 stream is concluded (i.e. "FIN" has been signalled on the stream). This means
182 to disable the default stream for our multi-stream client. To do this we call
218 request to a stream:
257 =head2 Reading data from a stream
[all …]
/openssl/crypto/evp/
H A De_sm4.c33 } stream; member
69 dat->stream.cbc = NULL; in sm4_init_key()
84 dat->stream.cbc = NULL; in sm4_init_key()
100 dat->stream.cbc = NULL; in sm4_init_key()
103 dat->stream.cbc = (cbc128_f) HWSM4_cbc_encrypt; in sm4_init_key()
108 dat->stream.ecb = (ecb128_f) HWSM4_ecb_encrypt; in sm4_init_key()
123 dat->stream.cbc = NULL; in sm4_init_key()
144 if (dat->stream.cbc) in sm4_cbc_cipher()
179 if (dat->stream.ecb != NULL) in sm4_ecb_cipher()
180 (*dat->stream.ecb) (in, out, len, &dat->ks.ks, in sm4_ecb_cipher()
[all …]
/openssl/ssl/quic/
H A Dquic_rx_depack.c162 if (stream == NULL) in depack_do_frame_reset_stream()
237 if (stream == NULL) in depack_do_frame_stop_sending()
368 QUIC_STREAM *stream; in depack_do_implicit_stream_create() local
375 if (stream != NULL) { in depack_do_implicit_stream_create()
376 *result = stream; in depack_do_implicit_stream_create()
501 QUIC_STREAM *stream; in depack_do_frame_stream() local
520 if (stream == NULL) in depack_do_frame_stream()
693 QUIC_STREAM *stream; in depack_do_frame_max_stream_data() local
709 if (stream == NULL) in depack_do_frame_max_stream_data()
799 QUIC_STREAM *stream; in depack_do_frame_stream_data_blocked() local
[all …]
H A Dquic_txp.c1478 if (it.stream != NULL) in txp_should_try_staging()
2396 *tmp_head = stream; in txp_enlink_tmp()
2407 QUIC_STREAM *stream, *snext; in txp_generate_stream_related() local
2412 it.stream != NULL;) { in txp_generate_stream_related()
2414 stream = it.stream; in txp_generate_stream_related()
2416 snext = it.stream; in txp_generate_stream_related()
2540 stream->id, stream->sstream, in txp_generate_stream_related()
2892 QUIC_STREAM *stream; in txp_pkt_commit() local
2916 for (stream = pkt->stream_head; stream != NULL; stream = stream->txp_next) in txp_pkt_commit()
2917 if (stream->txp_sent_stop_sending || stream->txp_sent_reset_stream) { in txp_pkt_commit()
[all …]
H A Dquic_stream_map.c177 if (stream == NULL) in ossl_quic_stream_map_release()
180 if (stream->active_node.next != NULL) in ossl_quic_stream_map_release()
182 if (stream->accept_node.next != NULL) in ossl_quic_stream_map_release()
188 stream->sstream = NULL; in ossl_quic_stream_map_release()
191 stream->rstream = NULL; in ossl_quic_stream_map_release()
194 OPENSSL_free(stream); in ossl_quic_stream_map_release()
846 if (advance_rr && it->stream != NULL in ossl_quic_stream_iter_init()
855 if (it->stream == NULL) in ossl_quic_stream_iter_next()
858 it->stream = active_next(&it->qsm->active_list, it->stream); in ossl_quic_stream_iter_next()
859 if (it->stream == it->first_stream) in ossl_quic_stream_iter_next()
[all …]
/openssl/fuzz/
H A Dquic-client.c55 SSL *client = NULL, *stream = NULL; in FuzzerTestOneInput() local
119 allstreams[0] = stream = client; in FuzzerTestOneInput()
157 ret = SSL_do_handshake(stream); in FuzzerTestOneInput()
184 stream = allstreams[numstreams++] in FuzzerTestOneInput()
186 if (stream == NULL) in FuzzerTestOneInput()
195 stream = SSL_new_stream(client, 0); in FuzzerTestOneInput()
196 if (stream == NULL) { in FuzzerTestOneInput()
198 stream = allstreams[thisstream]; in FuzzerTestOneInput()
202 allstreams[numstreams++] = stream; in FuzzerTestOneInput()
212 stream = allstreams[thisstream]; in FuzzerTestOneInput()
[all …]
/openssl/doc/designs/quic-design/
H A Dquic-api.md321 If a QUIC stream SSL object is freed for a stream which has not reached a
655 stream, it signals the end of that stream to the peer. If called on a QUIC
656 stream SSL object, it signals the end of that stream to the peer.
704 the stream. It may not be called on an incoming unidirectional stream.
723 * stream.
789 * stream will fail.
813 stream.
816 the stream.
1048 * stream (that is, the stream with the lowest stream ID) is accepted.
1654 this can be changed. This stream is bound as the default stream.
[all …]
H A Drx-depacketizer.md54 - Stream SSL objects, to pass the stream data to.
109 | 0x08 | [stream 0x08] | Apprioriate stream [^4] | &#10004; | | |…
110 | 0x09 | [stream 0x09] | Apprioriate stream [^4] | &#10004; | | |…
111 | 0x0A | [stream 0x0A] | Apprioriate stream [^4] | &#10004; | | |…
112 | 0x0B | [stream 0x0B] | Apprioriate stream [^4] | &#10004; | | |…
113 | 0x0C | [stream 0x0C] | Apprioriate stream [^4] | &#10004; | | |…
114 | 0x0D | [stream 0x0D] | Apprioriate stream [^4] | &#10004; | | |…
115 | 0x0E | [stream 0x0E] | Apprioriate stream [^4] | &#10004; | | |…
116 | 0x0F | [stream 0x0F] | Apprioriate stream [^4] | &#10004; | | |…
153 [^3]: Immediately terminates the appropriate sending stream `QUIC_STREAM`
[all …]
H A Dstream-receive-buffers.md4 This is a QUIC specific module that retains the received stream data
5 until the application reads it with SSL_read() or any future stream read
13 - As packets with stream frames are received in arbitrary frames the
21 a DoS via unlimited flow of incoming stream data frames.
24 - As the peer can recreate stream data frames when resending them, the
34 - To support a single copy operation with a future stream read call
44 int SSL_set_max_stored_stream_data(SSL *stream, size_t length);
91 the decrypted quic packets and start copying the stream data due to
103 data once the stream data is read by the application.
143 Because in MVP only a single bidirectional stream to receive
[all …]

Completed in 135 milliseconds

123456