Lines Matching refs:cipher
28 const EVP_CIPHER *cipher; in test_afalg_aes_cbc() local
53 cipher = EVP_aes_128_cbc(); in test_afalg_aes_cbc()
57 cipher = EVP_aes_192_cbc(); in test_afalg_aes_cbc()
61 cipher = EVP_aes_256_cbc(); in test_afalg_aes_cbc()
65 cipher = NULL; in test_afalg_aes_cbc()
70 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) in test_afalg_aes_cbc()
80 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) in test_afalg_aes_cbc()
100 const EVP_CIPHER * cipher; in test_pr16743() local
105 cipher = ENGINE_get_cipher(e, NID_aes_128_cbc); in test_pr16743()
107 if (cipher != NULL && ctx != NULL) in test_pr16743()
108 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()