Lines Matching refs:essiv_cipher
55 struct crypto_cipher *essiv_cipher;
85 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK);
86 crypto_cipher_set_flags(tctx->essiv_cipher,
89 return crypto_cipher_setkey(tctx->essiv_cipher, salt,
119 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK);
120 crypto_cipher_set_flags(tctx->essiv_cipher, crypto_aead_get_flags(tfm) &
122 return crypto_cipher_setkey(tctx->essiv_cipher, salt,
147 crypto_cipher_encrypt_one(tctx->essiv_cipher, req->iv, req->iv);
192 crypto_cipher_encrypt_one(tctx->essiv_cipher, req->iv, req->iv);
273 struct crypto_cipher *essiv_cipher;
277 essiv_cipher = crypto_alloc_cipher(ictx->essiv_cipher_name, 0, 0);
278 if (IS_ERR(essiv_cipher))
279 return PTR_ERR(essiv_cipher);
287 tctx->essiv_cipher = essiv_cipher;
293 crypto_free_cipher(essiv_cipher);
360 crypto_free_cipher(tctx->essiv_cipher);
369 crypto_free_cipher(tctx->essiv_cipher);