Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
De_des.c92 8 /* iv_len */, sizeof(EVP_DES_KEY), EVP_CIPH_CBC_MODE,
156 8 /* iv_len */, sizeof(DES_EDE_KEY), EVP_CIPH_CBC_MODE,
177 8 /* iv_len */, sizeof(DES_EDE_KEY), EVP_CIPH_CBC_MODE,
De_aes.c297 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) && !enc) { in aes_init_key()
302 if (mode == EVP_CIPH_CBC_MODE) { in aes_init_key()
305 } else if (bsaes_capable() && mode == EVP_CIPH_CBC_MODE) { in aes_init_key()
313 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)vpaes_cbc_encrypt : NULL; in aes_init_key()
318 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)AES_cbc_encrypt : NULL; in aes_init_key()
324 if (mode == EVP_CIPH_CBC_MODE) { in aes_init_key()
337 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)vpaes_cbc_encrypt : NULL; in aes_init_key()
342 mode == EVP_CIPH_CBC_MODE ? (cbc128_f)AES_cbc_encrypt : NULL; in aes_init_key()
729 16 /* iv_len */, sizeof(EVP_AES_KEY), EVP_CIPH_CBC_MODE,
763 16 /* iv_len */, sizeof(EVP_AES_KEY), EVP_CIPH_CBC_MODE,
[all …]
De_tls.c158 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE && in aead_tls_seal()
182 assert(EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE); in aead_tls_seal()
246 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE && in aead_tls_open()
269 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE) { in aead_tls_open()
305 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE && in aead_tls_open()
320 assert(EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) != EVP_CIPH_CBC_MODE); in aead_tls_open()
De_rc2.c415 EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
433 EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
De_ssl3.c188 assert(EVP_CIPHER_CTX_mode(&ssl3_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE); in aead_ssl3_seal()
270 if (EVP_CIPHER_CTX_mode(&ssl3_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE) { in aead_ssl3_open()
Dcipher.c210 case EVP_CIPH_CBC_MODE: in EVP_CipherInit_ex()
/external/boringssl/src/include/openssl/
Dcipher.h332 #define EVP_CIPH_CBC_MODE 0x2 macro