Optimize the ShiftRows(), InvShiftRows() and RotWord() functions