Precalculate first three rounds higher up the stack.
Use OR instead of XOR to save a few mW.