Lines Matching refs:essiv_cipher
54 struct crypto_cipher *essiv_cipher;
84 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK);
85 crypto_cipher_set_flags(tctx->essiv_cipher,
88 return crypto_cipher_setkey(tctx->essiv_cipher, salt,
118 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK);
119 crypto_cipher_set_flags(tctx->essiv_cipher, crypto_aead_get_flags(tfm) &
121 return crypto_cipher_setkey(tctx->essiv_cipher, salt,
146 crypto_cipher_encrypt_one(tctx->essiv_cipher, req->iv, req->iv);
191 crypto_cipher_encrypt_one(tctx->essiv_cipher, req->iv, req->iv);
272 struct crypto_cipher *essiv_cipher;
276 essiv_cipher = crypto_alloc_cipher(ictx->essiv_cipher_name, 0, 0);
277 if (IS_ERR(essiv_cipher))
278 return PTR_ERR(essiv_cipher);
286 tctx->essiv_cipher = essiv_cipher;
292 crypto_free_cipher(essiv_cipher);
359 crypto_free_cipher(tctx->essiv_cipher);
368 crypto_free_cipher(tctx->essiv_cipher);