Home
last modified time | relevance | path

Searched refs:stream (Results 26 – 50 of 132) sorted by relevance

123456

/openssl/providers/implementations/ciphers/
H A Dcipher_camellia_hw_t4.inc33 dat->stream.cbc = (cbc128_f) cmll128_t4_cbc_encrypt;
35 dat->stream.ctr = (ctr128_f) cmll128_t4_ctr32_encrypt;
37 dat->stream.cbc = NULL;
42 dat->stream.cbc = (cbc128_f) cmll256_t4_cbc_encrypt;
44 dat->stream.ctr = (ctr128_f) cmll256_t4_ctr32_encrypt;
46 dat->stream.cbc = NULL;
56 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
61 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
H A Dcipher_aes_hw_rv64i.inc36 dat->stream.cbc = NULL;
40 dat->stream.cbc = NULL;
88 dat->stream.cbc = (cbc128_f) rv64i_zvkned_cbc_encrypt;
90 dat->stream.cbc = (cbc128_f) rv64i_zvkned_cbc_decrypt;
94 dat->stream.ctr = (ctr128_f) rv64i_zvkb_zvkned_ctr32_encrypt_blocks;
98 dat->stream.ecb = (ecb128_f) rv64i_zvkned_ecb_encrypt;
100 dat->stream.ecb = (ecb128_f) rv64i_zvkned_ecb_decrypt;
H A Dcipher_sm4.c48 IMPLEMENT_generic_cipher(sm4, SM4, ctr, CTR, 0, 128, 8, 128, stream)
50 IMPLEMENT_generic_cipher(sm4, SM4, ofb128, OFB, 0, 128, 8, 128, stream)
52 IMPLEMENT_generic_cipher(sm4, SM4, cfb128, CFB, 0, 128, 8, 128, stream)
H A Dciphercommon_hw.c19 if (dat->stream.cbc) in ossl_cipher_hw_generic_cbc()
20 (*dat->stream.cbc) (in, out, len, dat->ks, dat->iv, dat->enc); in ossl_cipher_hw_generic_cbc()
37 if (dat->stream.ecb) { in ossl_cipher_hw_generic_ecb()
38 (*dat->stream.ecb) (in, out, len, dat->ks, dat->enc); in ossl_cipher_hw_generic_ecb()
116 if (dat->stream.ctr) in ossl_cipher_hw_generic_ctr()
118 &num, dat->stream.ctr); in ossl_cipher_hw_generic_ctr()
H A Dcipher_aes_hw_aesni.inc34 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
40 dat->stream.cbc = (cbc128_f) aesni_cbc_encrypt;
42 dat->stream.ctr = (ctr128_f) aesni_ctr32_encrypt_blocks;
44 dat->stream.cbc = NULL;
H A Dcipher_aes_hw_rv32i.inc44 dat->stream.cbc = NULL;
48 dat->stream.cbc = NULL;
72 dat->stream.cbc = NULL;
76 dat->stream.cbc = NULL;
/openssl/doc/man3/
H A DSSL_accept_stream.pod6 accept an incoming QUIC stream from a QUIC peer
20 The SSL_accept_stream() function attempts to dequeue an incoming stream from the
21 given QUIC connection SSL object and returns the newly allocated QUIC stream SSL
25 nonblocking mode) or waits for an incoming stream (in blocking mode). This
29 The caller is responsible for managing the lifetime of the returned QUIC stream
37 Calling SSL_accept_stream() if there is no default stream already present
38 inhibits the future creation of a default stream. See L<openssl-quic(7)>.
45 Depending on whether default stream functionality is being used, it may be
46 necessary to explicitly configure the incoming stream policy before streams can
48 L<openssl-quic(7)/MODES OF OPERATION> for more information on default stream
[all …]
H A DSSL_get0_connection.pod6 QUIC stream SSL object
17 The SSL_get0_connection() function, when called on a QUIC stream SSL object,
18 returns the QUIC connection SSL object which the QUIC stream SSL object belongs
26 SSL objects, but returns 0 for QUIC stream SSL objects.
30 SSL_get0_connection() returns the QUIC connection SSL object (for a QUIC stream
34 SSL_is_connection() returns 1 if the SSL object is not a QUIC stream SSL object
H A DBIO_s_file.pod15 BIO *BIO_new_fp(FILE *stream, int flags);
32 underlying stream. BIO_gets() and BIO_puts() are supported on file BIOs.
35 stream.
38 using fseek(stream, 0, 0).
41 using fseek(stream, ofs, 0).
45 Setting the BIO_CLOSE flag calls fclose() on the stream when the BIO
52 BIO_new_fp() creates a file BIO wrapping B<stream>. Flags can be:
54 stream to text mode, default is binary: this only has any effect under
73 When wrapping stdout, stdin or stderr the underlying stream should not
145 stream. The return value for fseek() is 0 for success or -1 if an error
H A DEVP_rc4.pod8 - EVP RC4 stream cipher
20 The RC4 stream cipher for EVP.
26 RC4 stream cipher. This is a variable key length cipher with a default key
31 RC4 stream cipher with 40 bit key length.
38 Authenticated encryption with the RC4 stream cipher with MD5 as HMAC.
H A DRC4_set_key.pod30 RC4 is a stream cipher with variable key length. Typically, 128 bit
42 the same B<key> yield a continuous key stream.
44 Since RC4 is a stream cipher (the input is XORed with a pseudo-random
45 key stream to produce the output), decryption uses the same function
58 It is difficult to securely use stream ciphers. For example, do not perform
59 multiple encryptions using the same key stream.
/openssl/crypto/evp/
H A De_camellia.c38 } stream; member
69 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cmll_t4_init_key()
74 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cmll_t4_init_key()
90 dat->stream.cbc = NULL; in cmll_t4_init_key()
99 dat->stream.cbc = NULL; in cmll_t4_init_key()
209 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in camellia_init_key()
213 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in camellia_init_key()
225 if (dat->stream.cbc) in camellia_cbc_cipher()
226 (*dat->stream.cbc) (in, out, len, &dat->ks, ctx->iv, in camellia_cbc_cipher()
334 if (dat->stream.ctr) in camellia_ctr_cipher()
[all …]
H A De_des.c34 } stream; member
98 if (dat->stream.cbc != NULL) { in des_cbc_cipher()
99 (*dat->stream.cbc) (in, out, inl, &dat->ks.ks, ctx->iv); in des_cbc_cipher()
216 dat->stream.cbc = NULL; in des_init_key()
223 dat->stream.cbc = enc ? des_t4_cbc_encrypt : des_t4_cbc_decrypt; in des_init_key()
/openssl/demos/guide/
H A Dbuild.info9 quic-multi-stream \
21 INCLUDE[quic-multi-stream]=../../include
22 SOURCE[quic-multi-stream]=quic-multi-stream.c
23 DEPEND[quic-multi-stream]=../../libcrypto ../../libssl
H A DMakefile10 quic-multi-stream \
23 quic-multi-stream: quic-multi-stream.o
/openssl/doc/man7/
H A Dopenssl-quic.pod25 stream. Whether the stream is client-initiated or server-initiated from a QUIC
31 stream mode and use the multi-stream API; see the MODES OF OPERATION section and
40 Default stream mode versus multi-stream mode;
68 default stream mode.
70 In default stream mode, a stream is implicitly created and bound to the QUIC
78 The identity of a QUIC stream, including its stream ID, varies depending on
79 whether a stream is client-initiated or server-initiated. In default stream
118 When multi-stream mode is used, meaning that no default stream is associated
488 applications avoid use of the default stream mode and use the multi-stream API
611 stream.
[all …]
H A Dossl-guide-quic-client-block.pod35 For this tutorial our client will be using a single QUIC stream. A subsequent
36 tutorial will discuss how to write a multi-stream client (see
37 L<ossl-guide-quic-multi-stream(7)>).
245 We can also perform data transfer using a default QUIC stream that is
250 fatal for that stream), but the underlying connection itself may still be
275 * QUIC terms this means that the peer has sent FIN on the stream to
280 /* Normal completion of the stream */
285 * Some stream fatal error occurred. This could be because of a stream
300 printf("Unknown stream failure\n");
313 stream has been reset, or if some other fatal error has occurred.
[all …]
/openssl/doc/designs/quic-design/
H A Dquic-fc.md7 QUIC flow control acts at both connection and stream levels. At any time,
8 transmission of stream data could be prevented by connection-level flow control,
12 of the stream or connection. This limit may be periodically bumped.
14 It is important to note that both connection and stream-level flow control
15 relate only to the transmission of QUIC stream data. QUIC flow control at stream
20 the current “length” of the stream. In essence, the relevant quantity is
22 the stream.
33 stream-level flow control is controlled by the `MAX_STREAM_DATA` frame.
74 controlled bytes since the beginning of the connection or stream.
191 generated by stream-level flow control as retransmitted stream data must be
[all …]
H A Dtx-packetiser.md39 * Note: There is no crypto stream for the 0-RTT EL.
69 void SSL_set_priority(SSL *stream, uint32_t priority);
70 uint32_t SSL_get_priority(SSL *stream);
82 - SSTREAM: manages application stream data for transmission.
92 - Connection and stream-level TXFC and RXFC instances.
436 stream scheduling further below.
454 corresponding `STREAM` frames for a given stream ID.
493 packet of room for stream data.
512 portion of the packet to each stream.
568 frame for another stream, etc.)
[all …]
H A Dquic-fifm.md70 stream management, just as for application data streams.)
93 can be informed of lost or acked ranges in the stream.
98 - Which stream IDs had a FIN bit set in the packet.
101 given stream whether a FIN was lost or acked.
294 - Keeping track of all stream IDs sent in a given packet, and
295 what ranges of the logical stream were sent, and whether
340 /* Represents a range of bytes in an application or CRYPTO stream. */
342 /* The stream ID, or UINT64_MAX for the CRYPTO stream. */
351 * CRYPTO stream.
431 to map stream IDs to QUIC Send Stream instances.
[all …]
H A Dglossary.md7 **Active Stream:** A stream which has data or control frames ready for
8 transmission. Active stream status is managed by the QSM.
19 stream.
94 **Locally-initiated:** Refers to a QUIC stream which was initiated by the local
125 **MSMT:** Multi-stream multi-thread. Refers to a type of multi-stream QUIC usage
128 **MSST:** Multi-stream single-thread. Refers to a type of multi-stream QUIC
198 **QUIC_STREAM**: Internal object tracking a QUIC stream. Unlike an XSO this is
214 **Remotely-initiated:** Refers to a QUIC stream which was initiated by the
235 budget should be generated. Exists in both connection-level and stream-level
270 peer. Exists in both connection-level and stream-level instances.
[all …]
/openssl/ssl/quic/
H A Dquic_impl.c505 ctx.xso->stream->deleted = 1; in ossl_quic_free()
710 if (xso->stream->rstream != NULL) in xso_update_options()
1965 xso->stream = qs; in create_xso_from_stream()
2607 QUIC_STREAM *stream; member
2800 args.stream = ctx.xso->stream; in quic_read()
2876 if (ctx.xso->stream == NULL) { in ossl_quic_pending_int()
2920 qs = ctx.xso->stream; in ossl_quic_conn_stream_conclude()
3031 id = ctx.xso->stream->id; in ossl_quic_get_stream_id()
3130 if (stream == NULL || stream->type != SSL_TYPE_QUIC_XSO) in ossl_quic_attach_stream()
3134 xso = (QUIC_XSO *)stream; in ossl_quic_attach_stream()
[all …]
/openssl/test/
H A Dquic_txp_test.c71 OSSL_QUIC_FRAME_STREAM stream; member
634 if (!TEST_mem_eq(h->frame.stream.data, (size_t)h->frame.stream.len, in check_stream_9()
898 if (!TEST_uint64_t_ge(h->frame.stream.len, 1150) in check_stream_10a()
902 if (!TEST_mem_eq(h->frame.stream.data, (size_t)h->frame.stream.len, in check_stream_10a()
906 stream_10a_off = h->frame.stream.offset + h->frame.stream.len; in check_stream_10a()
916 if (!TEST_mem_eq(h->frame.stream.data, (size_t)h->frame.stream.len, in check_stream_10b()
920 stream_10b_off = h->frame.stream.offset + h->frame.stream.len; in check_stream_10b()
926 if (!TEST_uint64_t_ge(h->frame.stream.len, 5) in check_stream_10c()
930 if (!TEST_mem_eq(h->frame.stream.data, (size_t)h->frame.stream.len, in check_stream_10c()
939 if (!TEST_uint64_t_ge(h->frame.stream.len, 5) in check_stream_10d()
[all …]
/openssl/include/openssl/
H A Dmodes.h130 size_t len, ctr128_f stream);
133 size_t len, ctr128_f stream);
154 ccm128_f stream);
157 ccm128_f stream);
195 ocb128_f stream);
198 ocb128_f stream);
/openssl/crypto/modes/
H A Docb128.c132 ocb128_f stream) in CRYPTO_ocb128_new() argument
139 stream); in CRYPTO_ocb128_new()
153 ocb128_f stream) in CRYPTO_ocb128_init() argument
168 ctx->stream = stream; in CRYPTO_ocb128_init()
340 && ctx->stream != NULL) { in CRYPTO_ocb128_encrypt()
352 ctx->stream(in, out, num_blocks, ctx->keyenc, in CRYPTO_ocb128_encrypt()
432 && ctx->stream != NULL) { in CRYPTO_ocb128_decrypt()
444 ctx->stream(in, out, num_blocks, ctx->keydec, in CRYPTO_ocb128_decrypt()

Completed in 199 milliseconds

123456