Lines Matching refs:child
56 struct crypto_skcipher *child; member
70 struct crypto_skcipher *child = ctx->child; in crypto_cts_reqctx_space() local
72 return PTR_ALIGN((u8 *)(rctx + 1) + crypto_skcipher_reqsize(child), in crypto_cts_reqctx_space()
80 struct crypto_skcipher *child = ctx->child; in crypto_cts_setkey() local
83 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey()
84 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in crypto_cts_setkey()
86 err = crypto_skcipher_setkey(child, key, keylen); in crypto_cts_setkey()
87 crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) & in crypto_cts_setkey()
157 skcipher_request_set_tfm(subreq, ctx->child); in crypto_cts_encrypt()
252 skcipher_request_set_tfm(subreq, ctx->child); in crypto_cts_decrypt()
301 ctx->child = cipher; in crypto_cts_init_tfm()
319 crypto_free_skcipher(ctx->child); in crypto_cts_exit_tfm()