crypto_shash_set_flags
crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) &
crypto_shash_set_flags(tfm, CRYPTO_TFM_NEED_KEY);