Home
last modified time | relevance | path

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

123

/openssl-master/providers/implementations/ciphers/
A Dcipher_camellia.c64 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 256, 8, 128, stream)
66 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 192, 8, 128, stream)
68 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 128, 8, 128, stream)
70 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 256, 8, 128, stream)
72 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 192, 8, 128, stream)
74 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 128, 8, 128, stream)
76 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb1, CFB, 0, 256, 8, 128, stream)
78 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb1, CFB, 0, 192, 8, 128, stream)
88 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 256, 8, 128, stream)
90 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 192, 8, 128, stream)
[all …]
A Dcipher_aes.c65 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 256, 8, 128, stream)
67 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 192, 8, 128, stream)
69 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 128, 8, 128, stream)
71 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 256, 8, 128, stream)
73 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 192, 8, 128, stream)
75 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 128, 8, 128, stream)
77 IMPLEMENT_generic_cipher(aes, AES, cfb1, CFB, 0, 256, 8, 128, stream)
79 IMPLEMENT_generic_cipher(aes, AES, cfb1, CFB, 0, 192, 8, 128, stream)
89 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 256, 8, 128, stream)
91 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 192, 8, 128, stream)
[all …]
A Dcipher_aria.c58 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 256, 8, 128, stream)
60 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 192, 8, 128, stream)
62 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 128, 8, 128, stream)
64 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 256, 8, 128, stream)
66 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 192, 8, 128, stream)
68 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 128, 8, 128, stream)
70 IMPLEMENT_generic_cipher(aria, ARIA, cfb1, CFB, 0, 256, 8, 128, stream)
72 IMPLEMENT_generic_cipher(aria, ARIA, cfb1, CFB, 0, 192, 8, 128, stream)
82 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 256, 8, 128, stream)
84 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 192, 8, 128, stream)
[all …]
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 …]
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 …]
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);
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 ?
A Dcipher_sm4.c50 IMPLEMENT_generic_cipher(sm4, SM4, ctr, CTR, 0, 128, 8, 128, stream)
52 IMPLEMENT_generic_cipher(sm4, SM4, ofb128, OFB, 0, 128, 8, 128, stream)
54 IMPLEMENT_generic_cipher(sm4, SM4, cfb128, CFB, 0, 128, 8, 128, stream)
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()
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;
A Dcipher_idea.c57 IMPLEMENT_generic_cipher(idea, IDEA, ofb64, OFB, 0, 128, 8, 64, stream)
59 IMPLEMENT_generic_cipher(idea, IDEA, cfb64, CFB, 0, 128, 8, 64, stream)
A Dcipher_seed.c56 IMPLEMENT_generic_cipher(seed, SEED, ofb128, OFB, 0, 128, 8, 128, stream)
58 IMPLEMENT_generic_cipher(seed, SEED, cfb128, CFB, 0, 128, 8, 128, stream)
A Dcipher_blowfish.c58 IMPLEMENT_var_keylen_cipher(blowfish, BLOWFISH, ofb64, OFB, BF_FLAGS, 64, 8, 64, stream)
60 IMPLEMENT_var_keylen_cipher(blowfish, BLOWFISH, cfb64, CFB, BF_FLAGS, 64, 8, 64, stream)
A Dcipher_cast5.c59 IMPLEMENT_var_keylen_cipher(cast5, CAST, ofb64, OFB, CAST5_FLAGS, 128, 8, 64, stream)
61 IMPLEMENT_var_keylen_cipher(cast5, CAST, cfb64, CFB, CAST5_FLAGS, 128, 8, 64, stream)
A Dcipher_des.c196 IMPLEMENT_des_cipher(des, ofb64, OFB, DES_FLAGS, 64, 8, 64, stream);
198 IMPLEMENT_des_cipher(des, cfb64, CFB, DES_FLAGS, 64, 8, 64, stream);
200 IMPLEMENT_des_cipher(des, cfb1, CFB, DES_FLAGS, 64, 8, 64, stream);
202 IMPLEMENT_des_cipher(des, cfb8, CFB, DES_FLAGS, 64, 8, 64, stream);
A Dcipher_camellia_hw.c35 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()
/openssl-master/crypto/evp/
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 …]
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()
215 dat->stream.cbc = NULL; in des_init_key()
222 dat->stream.cbc = enc ? des_t4_cbc_encrypt : des_t4_cbc_decrypt; in des_init_key()
A De_des3.c34 } 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()
230 dat->stream.cbc = NULL; in des_ede_init_key()
239 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede_init_key()
257 dat->stream.cbc = NULL; in des_ede3_init_key()
266 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede3_init_key()
/openssl-master/doc/man3/
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.
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
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.
A DEVP_chacha20.pod7 - 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.
/openssl-master/include/openssl/
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-master/crypto/modes/
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
170 ctx->stream = stream; in CRYPTO_ocb128_init()
344 && ctx->stream != NULL) { in CRYPTO_ocb128_encrypt()
356 ctx->stream(in, out, num_blocks, ctx->keyenc, in CRYPTO_ocb128_encrypt()
436 && ctx->stream != NULL) { in CRYPTO_ocb128_decrypt()
448 ctx->stream(in, out, num_blocks, ctx->keydec, in CRYPTO_ocb128_decrypt()

Completed in 28 milliseconds

123