Lines Matching refs:cipher
257 const EVP_CIPHER* cipher; in InitializeCipher() local
262 cipher = EVP_aes_128_ecb(); in InitializeCipher()
265 cipher = EVP_aes_192_ecb(); in InitializeCipher()
268 cipher = EVP_aes_256_ecb(); in InitializeCipher()
277 cipher = EVP_aes_128_cbc(); in InitializeCipher()
280 cipher = EVP_aes_192_cbc(); in InitializeCipher()
283 cipher = EVP_aes_256_cbc(); in InitializeCipher()
292 cipher = EVP_aes_128_ctr(); in InitializeCipher()
295 cipher = EVP_aes_192_ctr(); in InitializeCipher()
298 cipher = EVP_aes_256_ctr(); in InitializeCipher()
307 cipher = EVP_aes_128_gcm(); in InitializeCipher()
310 cipher = EVP_aes_192_gcm(); in InitializeCipher()
313 cipher = EVP_aes_256_gcm(); in InitializeCipher()
323 if (!EVP_CipherInit_ex(&ctx_, cipher, NULL /* engine */, key_, iv_.get(), evp_encrypt_mode())) in InitializeCipher()