Home | History | Annotate | Download | only in hcrypto

Lines Matching defs:ROTR

45 #define ROTR(x,n)   (((x)>>(n)) | ((x) << (32 - (n))))
47 #define Sigma0(x) (ROTR(x,2) ^ ROTR(x,13) ^ ROTR(x,22))
48 #define Sigma1(x) (ROTR(x,6) ^ ROTR(x,11) ^ ROTR(x,25))
49 #define sigma0(x) (ROTR(x,7) ^ ROTR(x,18) ^ ((x)>>3))
50 #define sigma1(x) (ROTR(x,17) ^ ROTR(x,19) ^ ((x)>>10))