Update hash pre-reg checking code.