Lines Matching defs:cipher
257 const EVP_CIPHER* cipher;
262 cipher = EVP_aes_128_ecb();
265 cipher = EVP_aes_192_ecb();
268 cipher = EVP_aes_256_ecb();
277 cipher = EVP_aes_128_cbc();
280 cipher = EVP_aes_192_cbc();
283 cipher = EVP_aes_256_cbc();
292 cipher = EVP_aes_128_ctr();
295 cipher = EVP_aes_192_ctr();
298 cipher = EVP_aes_256_ctr();
307 cipher = EVP_aes_128_gcm();
310 cipher = EVP_aes_192_gcm();
313 cipher = EVP_aes_256_gcm();
323 if (!EVP_CipherInit_ex(&ctx_, cipher, NULL /* engine */, key_, iv_.get(), evp_encrypt_mode()))
331 // This is the default for OpenSSL EVP cipher operations.