Lines Matching refs:child
25 struct crypto_skcipher *child; member
45 struct crypto_skcipher *child; in xts_setkey() local
69 child = ctx->child; in xts_setkey()
70 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in xts_setkey()
71 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in xts_setkey()
73 return crypto_skcipher_setkey(child, key, keylen); in xts_setkey()
182 skcipher_request_set_tfm(subreq, ctx->child); in xts_cts_final()
250 skcipher_request_set_tfm(subreq, ctx->child); in xts_init_crypt()
300 struct crypto_skcipher *child; in xts_init_tfm() local
303 child = crypto_spawn_skcipher(&ictx->spawn); in xts_init_tfm()
304 if (IS_ERR(child)) in xts_init_tfm()
305 return PTR_ERR(child); in xts_init_tfm()
307 ctx->child = child; in xts_init_tfm()
311 crypto_free_skcipher(ctx->child); in xts_init_tfm()
317 crypto_skcipher_set_reqsize(tfm, crypto_skcipher_reqsize(child) + in xts_init_tfm()
327 crypto_free_skcipher(ctx->child); in xts_exit_tfm()