crypto_shash_clear_flags
crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK);
crypto_shash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY);