int rotl8(int x, int n) { assert(n >= 0); assert((x >= 0) && (x <= _MASK_8)); n &= _MASK_3; return ((x << n) & _MASK_8) | (x >> (8 - n)); }