Simplified code a bit, as the salt-update-loop will never happen when digest size is 32 or 64. CID 1294599