[PATCH 4.14 49/67] crypto: ahash - Fix early termination in hash walk