Lines Matching refs:child
24 struct crypto_skcipher *child; member
44 struct crypto_skcipher *child; in setkey() local
70 child = ctx->child; in setkey()
71 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey()
72 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in setkey()
74 err = crypto_skcipher_setkey(child, key, keylen); in setkey()
75 crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & in setkey()
185 skcipher_request_set_tfm(subreq, ctx->child); in cts_final()
250 skcipher_request_set_tfm(subreq, ctx->child); in init_crypt()
300 struct crypto_skcipher *child; in init_tfm() local
303 child = crypto_spawn_skcipher(&ictx->spawn); in init_tfm()
304 if (IS_ERR(child)) in init_tfm()
305 return PTR_ERR(child); in init_tfm()
307 ctx->child = child; in init_tfm()
311 crypto_free_skcipher(ctx->child); in init_tfm()
317 crypto_skcipher_set_reqsize(tfm, crypto_skcipher_reqsize(child) + in init_tfm()
327 crypto_free_skcipher(ctx->child); in exit_tfm()