[PATCH 4.16 16/31] crypto: ahash - Fix early termination in hash walk