while (x) 
{ 
  t  = (r >>24) & 0xff; 
  r  = r (r << 8) | *++; 
  r ^= table[t]; 
} 