Home | History | Annotate | Download | only in sha

Lines Matching refs:ROTATE

207 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n))))
209 /* FIPS specification refers to right rotations, while our ROTATE macro
212 #define Sigma0(x) (ROTATE((x), 30) ^ ROTATE((x), 19) ^ ROTATE((x), 10))
213 #define Sigma1(x) (ROTATE((x), 26) ^ ROTATE((x), 21) ^ ROTATE((x), 7))
214 #define sigma0(x) (ROTATE((x), 25) ^ ROTATE((x), 14) ^ ((x) >> 3))
215 #define sigma1(x) (ROTATE((x), 15) ^ ROTATE((x), 13) ^ ((x) >> 10))