Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c229 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) && !enc) { in aes_init_key()
234 if (mode == EVP_CIPH_CBC_MODE) { in aes_init_key()
237 } else if (bsaes_capable() && mode == EVP_CIPH_CBC_MODE) { in aes_init_key()
245 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)vpaes_cbc_encrypt : NULL; in aes_init_key()
250 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)AES_cbc_encrypt : NULL; in aes_init_key()
256 if (mode == EVP_CIPH_CBC_MODE) { in aes_init_key()
269 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)vpaes_cbc_encrypt : NULL; in aes_init_key()
274 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)AES_cbc_encrypt : NULL; in aes_init_key()
630 out->flags = EVP_CIPH_CBC_MODE; in DEFINE_LOCAL_DATA()
698 out->flags = EVP_CIPH_CBC_MODE; in DEFINE_LOCAL_DATA()
[all …]
De_des.c98 out->flags = EVP_CIPH_CBC_MODE; in DEFINE_METHOD_FUNCTION()
166 out->flags = EVP_CIPH_CBC_MODE; in DEFINE_METHOD_FUNCTION()
190 out->flags = EVP_CIPH_CBC_MODE; in DEFINE_METHOD_FUNCTION()
Dcipher.c196 case EVP_CIPH_CBC_MODE: in EVP_CipherInit_ex()
/external/boringssl/src/crypto/cipher_extra/
De_tls.c107 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) != EVP_CIPH_CBC_MODE) { in aead_tls_tag_len()
176 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE && in aead_tls_seal_scatter()
217 assert(EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE); in aead_tls_seal_scatter()
281 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE && in aead_tls_open()
304 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE) { in aead_tls_open()
339 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE && in aead_tls_open()
354 assert(EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) != EVP_CIPH_CBC_MODE); in aead_tls_open()
De_ssl3.c132 if (EVP_CIPHER_CTX_mode(&ssl3_ctx->cipher_ctx) != EVP_CIPH_CBC_MODE) { in aead_ssl3_tag_len()
226 assert(EVP_CIPHER_CTX_mode(&ssl3_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE); in aead_ssl3_seal_scatter()
309 if (EVP_CIPHER_CTX_mode(&ssl3_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE) { in aead_ssl3_open()
De_rc2.c434 EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
452 EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
/external/boringssl/src/include/openssl/
Dcipher.h338 #define EVP_CIPH_CBC_MODE 0x2 macro