Home
last modified time | relevance | path

Searched refs:EVP_CIPH_CBC_MODE (Results 1 – 25 of 39) sorted by relevance

12

/third_party/openssl/providers/implementations/ciphers/
Dcipher_aes_hw.c28 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
36 if (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
46 if (BSAES_CAPABLE && dat->mode == EVP_CIPH_CBC_MODE) { 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()
73 if (dat->mode == EVP_CIPH_CBC_MODE) 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()
Dcipher_aes_hw_t4.inc25 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
32 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 ?
52 if (dat->mode == EVP_CIPH_CBC_MODE)
60 if (dat->mode == EVP_CIPH_CBC_MODE)
68 if (dat->mode == EVP_CIPH_CBC_MODE)
Dcipher_camellia_hw_t4.inc28 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) {
32 if (mode == EVP_CIPH_CBC_MODE)
41 if (mode == EVP_CIPH_CBC_MODE)
56 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
61 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
Dcipher_camellia_hw.c33 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) { in cipher_hw_camellia_initkey()
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()
Dcipher_aes_hw_aesni.inc30 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
34 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
39 if (dat->mode == EVP_CIPH_CBC_MODE)
Dcipher_sm4_hw.c22 && ctx->mode != EVP_CIPH_CBC_MODE)) in cipher_hw_sm4_initkey()
Dcipher_aria_hw.c20 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) in cipher_hw_aria_initkey()
Dcipher_tdes_hw.c32 if (ctx->mode == EVP_CIPH_CBC_MODE) { in ossl_cipher_hw_tdes_ede3_initkey()
Dcipher_aes_cbc_hmac_sha.c315 EVP_CIPH_CBC_MODE, flags, in base_init()
383 return ossl_cipher_generic_get_params(params, EVP_CIPH_CBC_MODE, \
Dcipher_tdes_common.c81 && (ctx->mode == EVP_CIPH_CBC_MODE in tdes_init()
Dcipher_tdes_default_hw.c32 if (ctx->mode == EVP_CIPH_CBC_MODE) { in ossl_cipher_hw_tdes_ede2_initkey()
Dcipher_des_hw.c29 if (ctx->mode == EVP_CIPH_CBC_MODE) { in cipher_hw_des_initkey()
/third_party/openssl/crypto/evp/
De_camellia.c63 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) in cmll_t4_init_key()
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()
85 if (mode == EVP_CIPH_CBC_MODE) in cmll_t4_init_key()
94 if (mode == EVP_CIPH_CBC_MODE) in cmll_t4_init_key()
206 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) in camellia_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()
De_rc2.c55 EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
70 EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
De_aes.c151 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) in aesni_init_key()
157 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in aesni_init_key()
164 if (mode == EVP_CIPH_CBC_MODE) in aesni_init_key()
455 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) in aes_t4_init_key()
462 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in aes_t4_init_key()
466 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in aes_t4_init_key()
470 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in aes_t4_init_key()
482 if (mode == EVP_CIPH_CBC_MODE) in aes_t4_init_key()
490 if (mode == EVP_CIPH_CBC_MODE) in aes_t4_init_key()
498 if (mode == EVP_CIPH_CBC_MODE) in aes_t4_init_key()
[all …]
De_xcbc_d.c43 EVP_CIPH_CBC_MODE,
De_des3.c235 if (mode == EVP_CIPH_CBC_MODE) { in des_ede_init_key()
262 if (mode == EVP_CIPH_CBC_MODE) { in des_ede3_init_key()
De_des.c220 if (mode == EVP_CIPH_CBC_MODE) { in des_init_key()
De_aes_cbc_hmac_sha1.c915 EVP_CIPH_CBC_MODE | EVP_CIPH_FLAG_DEFAULT_ASN1 |
935 EVP_CIPH_CBC_MODE | EVP_CIPH_FLAG_DEFAULT_ASN1 |
De_aes_cbc_hmac_sha256.c899 EVP_CIPH_CBC_MODE | EVP_CIPH_FLAG_DEFAULT_ASN1 |
919 EVP_CIPH_CBC_MODE | EVP_CIPH_FLAG_DEFAULT_ASN1 |
/third_party/openssl/engines/
De_devcrypto.c124 { NID_des_cbc, 8, 8, 8, EVP_CIPH_CBC_MODE, CRYPTO_DES_CBC },
125 { NID_des_ede3_cbc, 8, 24, 8, EVP_CIPH_CBC_MODE, CRYPTO_3DES_CBC },
128 { NID_bf_cbc, 8, 16, 8, EVP_CIPH_CBC_MODE, CRYPTO_BLF_CBC },
131 { NID_cast5_cbc, 8, 16, 8, EVP_CIPH_CBC_MODE, CRYPTO_CAST_CBC },
133 { NID_aes_128_cbc, 16, 128 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
134 { NID_aes_192_cbc, 16, 192 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
135 { NID_aes_256_cbc, 16, 256 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
159 { NID_camellia_128_cbc, 16, 128 / 8, 16, EVP_CIPH_CBC_MODE,
161 { NID_camellia_192_cbc, 16, 192 / 8, 16, EVP_CIPH_CBC_MODE,
163 { NID_camellia_256_cbc, 16, 256 / 8, 16, EVP_CIPH_CBC_MODE,
[all …]
De_ossltest.c291 | EVP_CIPH_CBC_MODE) in ossltest_aes_128_cbc()
345 EVP_CIPH_CBC_MODE | EVP_CIPH_FLAG_DEFAULT_ASN1 | in ossltest_aes_128_cbc_hmac_sha1()
De_dasync.c270 | EVP_CIPH_CBC_MODE in bind_dasync()
294 EVP_CIPH_CBC_MODE in bind_dasync()
De_padlock.c644 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) in padlock_aes_init_key()
/third_party/openssl/ssl/record/
Dssl3_record.c996 && EVP_CIPHER_get_mode(enc) == EVP_CIPH_CBC_MODE) in tls1_enc()
1323 && EVP_CIPHER_CTX_get_mode(ssl->enc_read_ctx) == EVP_CIPH_CBC_MODE in n_ssl3_mac()
1458 && EVP_CIPHER_CTX_get_mode(ssl->enc_read_ctx) == EVP_CIPH_CBC_MODE in tls1_mac()

12