Lines Matching refs:cipher
31 const EVP_CIPHER *cipher; in test_afalg_aes_cbc() local
68 cipher = EVP_aes_128_cbc(); in test_afalg_aes_cbc()
72 cipher = EVP_aes_192_cbc(); in test_afalg_aes_cbc()
76 cipher = EVP_aes_256_cbc(); in test_afalg_aes_cbc()
80 cipher = NULL; in test_afalg_aes_cbc()
85 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) in test_afalg_aes_cbc()
95 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) in test_afalg_aes_cbc()
115 const EVP_CIPHER * cipher; in test_pr16743() local
120 cipher = ENGINE_get_cipher(e, NID_aes_128_cbc); in test_pr16743()
122 if (cipher != NULL && ctx != NULL) in test_pr16743()
123 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()