Lines Matching refs:skcipher
51 struct crypto_skcipher *skcipher; member
73 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
74 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey()
77 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); in essiv_skcipher_setkey()
79 crypto_skcipher_get_flags(tctx->u.skcipher) & in essiv_skcipher_setkey()
166 skcipher_request_set_tfm(subreq, tctx->u.skcipher); in essiv_skcipher_crypt()
315 struct crypto_skcipher *skcipher; in essiv_skcipher_init_tfm() local
318 skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn); in essiv_skcipher_init_tfm()
319 if (IS_ERR(skcipher)) in essiv_skcipher_init_tfm()
320 return PTR_ERR(skcipher); in essiv_skcipher_init_tfm()
323 crypto_skcipher_reqsize(skcipher)); in essiv_skcipher_init_tfm()
327 crypto_free_skcipher(skcipher); in essiv_skcipher_init_tfm()
331 tctx->u.skcipher = skcipher; in essiv_skcipher_init_tfm()
372 crypto_free_skcipher(tctx->u.skcipher); in essiv_skcipher_exit_tfm()