Lines Matching refs:ROTATE
106 #undef ROTATE
112 # define ROTATE(a,n) _rotl64((a),n) macro
117 # define ROTATE(a,n) ({ u64 ret; asm ("rolq %1,%0" \ macro
127 # define ROTATE(a,n) ({ u64 ret; asm ("rorq %1,%0" \ macro
132 # define ROTATE(a,n) ({ u64 ret; asm ("shrp %0=%1,%1,%2" \ macro
135 # define ROTATE(a,n) ({ u64 ret; asm ("shrp %0=%1,%1,%2" \ macro
143 # if !defined(ROTATE)
145 # define ROTATE(i,n) ((i)<<(n) ^ (i)>>(64-n)) macro
147 # define ROTATE(i,n) ((i)>>(n) ^ (i)<<(64-n)) macro
150 # if defined(ROTATE) && !defined(STRICT_ALIGNMENT)
179 # if defined(ROTATE)
183 # define C1(K,i) ROTATE(Cx.q[K.c[(i)*8+1]],8)
184 # define C2(K,i) ROTATE(Cx.q[K.c[(i)*8+2]],16)
185 # define C3(K,i) ROTATE(Cx.q[K.c[(i)*8+3]],24)
186 # define C4(K,i) ROTATE(Cx.q[K.c[(i)*8+4]],32)
187 # define C5(K,i) ROTATE(Cx.q[K.c[(i)*8+5]],40)
188 # define C6(K,i) ROTATE(Cx.q[K.c[(i)*8+6]],48)
189 # define C7(K,i) ROTATE(Cx.q[K.c[(i)*8+7]],56)