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