Lines Matching refs:skcipher
51 struct crypto_skcipher *skcipher; member
72 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
73 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey()
76 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); in essiv_skcipher_setkey()
148 skcipher_request_set_tfm(subreq, tctx->u.skcipher); in essiv_skcipher_crypt()
296 struct crypto_skcipher *skcipher; in essiv_skcipher_init_tfm() local
299 skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn); in essiv_skcipher_init_tfm()
300 if (IS_ERR(skcipher)) in essiv_skcipher_init_tfm()
301 return PTR_ERR(skcipher); in essiv_skcipher_init_tfm()
304 crypto_skcipher_reqsize(skcipher)); in essiv_skcipher_init_tfm()
308 crypto_free_skcipher(skcipher); in essiv_skcipher_init_tfm()
312 tctx->u.skcipher = skcipher; in essiv_skcipher_init_tfm()
353 crypto_free_skcipher(tctx->u.skcipher); in essiv_skcipher_exit_tfm()