Lines Matching refs:child
287 ctx->child = hash; in mcryptd_hash_init_tfm()
298 crypto_free_shash(ctx->child); in mcryptd_hash_exit_tfm()
305 struct crypto_shash *child = ctx->child; in mcryptd_hash_setkey() local
308 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in mcryptd_hash_setkey()
309 crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) & in mcryptd_hash_setkey()
311 err = crypto_shash_setkey(child, key, keylen); in mcryptd_hash_setkey()
312 crypto_ahash_set_flags(parent, crypto_shash_get_flags(child) & in mcryptd_hash_setkey()
338 struct crypto_shash *child = ctx->child; in mcryptd_hash_init() local
346 desc->tfm = child; in mcryptd_hash_init()
446 struct crypto_shash *child = ctx->child; in mcryptd_hash_digest() local
454 desc->tfm = child; in mcryptd_hash_digest()
670 return ctx->child; in mcryptd_ahash_child()