refactoring: SHATypes + SHAFunctions => SHACommon
optimization step 2: replaced W big register array (was 64 x 32-bit with
lots of muxes) with shift register (16 x 32-bit words) plus some logic.
Moved address computation out of main loop.
Still some optimization to do.