Lines Matching refs:ROTATE
197 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n))))
199 // FIPS specification refers to right rotations, while our ROTATE macro
202 #define Sigma0(x) (ROTATE((x), 30) ^ ROTATE((x), 19) ^ ROTATE((x), 10))
203 #define Sigma1(x) (ROTATE((x), 26) ^ ROTATE((x), 21) ^ ROTATE((x), 7))
204 #define sigma0(x) (ROTATE((x), 25) ^ ROTATE((x), 14) ^ ((x) >> 3))
205 #define sigma1(x) (ROTATE((x), 15) ^ ROTATE((x), 13) ^ ((x) >> 10))
332 #undef ROTATE