Lines Matching refs:child
284 ctx->child = hash; in mcryptd_hash_init_tfm()
295 crypto_free_ahash(ctx->child); in mcryptd_hash_exit_tfm()
302 struct crypto_ahash *child = ctx->child; in mcryptd_hash_setkey() local
305 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in mcryptd_hash_setkey()
306 crypto_ahash_set_flags(child, crypto_ahash_get_flags(parent) & in mcryptd_hash_setkey()
308 err = crypto_ahash_setkey(child, key, keylen); in mcryptd_hash_setkey()
309 crypto_ahash_set_flags(parent, crypto_ahash_get_flags(child) & in mcryptd_hash_setkey()
335 struct crypto_ahash *child = ctx->child; in mcryptd_hash_init() local
343 ahash_request_set_tfm(desc, child); in mcryptd_hash_init()
445 struct crypto_ahash *child = ctx->child; in mcryptd_hash_digest() local
453 ahash_request_set_tfm(desc, child); in mcryptd_hash_digest()
645 return ctx->child; in mcryptd_ahash_child()