Home
last modified time | relevance | path

Searched refs:ROTATE (Results 1 – 20 of 20) sorted by relevance

/external/boringssl/src/decrepit/ripemd/
Dinternal.h109 #define ROTATE(a, n) (((a) << (n)) | (((a)&0xffffffff) >> (32 - (n)))) macro
114 a = ROTATE(a, s) + e; \
115 c = ROTATE(c, 10); \
121 a = ROTATE(a, s) + e; \
122 c = ROTATE(c, 10); \
128 a = ROTATE(a, s) + e; \
129 c = ROTATE(c, 10); \
135 a = ROTATE(a, s) + e; \
136 c = ROTATE(c, 10); \
142 a = ROTATE(a, s) + e; \
[all …]
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha256.c197 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) 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))
327 #undef ROTATE
Dsha1.c115 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
119 (ix) = (a) = ROTATE((a), 1); \
146 (f) = (xi) + (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
147 (b) = ROTATE((b), 30); \
153 (f) += (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
154 (b) = ROTATE((b), 30); \
160 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
161 (b) = ROTATE((b), 30); \
167 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
168 (b) = ROTATE((b), 30); \
[all …]
/external/boringssl/src/crypto/chacha/
Dchacha.c76 #define ROTATE(v, n) (((v) << (n)) | ((v) >> (32 - (n)))) macro
88 x[a] += x[b]; x[d] = ROTATE(x[d] ^ x[a], 16); \
89 x[c] += x[d]; x[b] = ROTATE(x[b] ^ x[c], 12); \
90 x[a] += x[b]; x[d] = ROTATE(x[d] ^ x[a], 8); \
91 x[c] += x[d]; x[b] = ROTATE(x[b] ^ x[c], 7);
/external/boringssl/src/crypto/fipsmodule/des/
Ddes.c345 schedule->subkeys[i][0] = ROTATE(t2, 30) & 0xffffffffL; in DES_set_key()
348 schedule->subkeys[i][1] = ROTATE(t2, 26) & 0xffffffffL; in DES_set_key()
395 r = ROTATE(r, 29) & 0xffffffffL; in DES_encrypt1()
396 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt1()
437 l = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt1()
438 r = ROTATE(r, 3) & 0xffffffffL; in DES_encrypt1()
457 r = ROTATE(r, 29) & 0xffffffffL; in DES_encrypt2()
458 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt2()
498 data[0] = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt2()
499 data[1] = ROTATE(r, 3) & 0xffffffffL; in DES_encrypt2()
[all …]
Dinternal.h221 t = ROTATE(t, 4); \
233 #define ROTATE(a, n) (((a) >> (n)) + ((a) << (32 - (n)))) macro
/external/python/cpython3/Python/
Dpyhash.c349 # define ROTATE(x, b) _rotl64(x, b) macro
351 # define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) ) macro
356 b = ROTATE(b, s) ^ a; \
357 d = ROTATE(d, t) ^ c; \
358 a = ROTATE(a, 32);
/external/mdnsresponder/mDNSCore/
DDNSDigest.c415 #undef ROTATE
418 # define ROTATE(a,n) _lrotl(a,n)
421 # define ROTATE(a,n) (unsigned MD32_REG_T)__rlwinm((int)a,n,0,31) macro
424 # define ROTATE(a,n) (n<24 ? __rol(a,n) : __ror(a,32-n)) macro
426 # define ROTATE(a,n) __rol(a,n) macro
442 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
451 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
497 #ifdef ROTATE
501 ((ROTATE(l,8)&0x00FF00FF)|(ROTATE((l&0x00FF00FF),24))) \
508 ROTATE(l,16) \
[all …]
/external/boringssl/src/crypto/fipsmodule/md5/
Dmd5.c124 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
129 (a) = ROTATE(a, s); \
136 (a) = ROTATE(a, s); \
143 (a) = ROTATE(a, s); \
150 (a) = ROTATE(a, s); \
292 #undef ROTATE
/external/boringssl/src/crypto/fipsmodule/md4/
Dmd4.c117 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
122 (a) = ROTATE(a, s); \
128 (a) = ROTATE(a, s); \
134 (a) = ROTATE(a, s); \
249 #undef ROTATE
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMatrix.java25 public static final String ROTATE = "rotate"; field in ShadowMatrix
134 setOps.put(ROTATE, degrees + " " + px + " " + py); in setRotate()
140 setOps.put(ROTATE, Float.toString(degrees)); in setRotate()
194 preOps.addFirst(ROTATE + " " + degrees + " " + px + " " + py); in preRotate()
200 preOps.addFirst(ROTATE + " " + Float.toString(degrees)); in preRotate()
242 postOps.addLast(ROTATE + " " + degrees + " " + px + " " + py); in postRotate()
248 postOps.addLast(ROTATE + " " + Float.toString(degrees)); in postRotate()
/external/skia/src/core/
DSkPictureFlat.h56 ROTATE, enumerator
DSkPicturePlayback.cpp681 case ROTATE: { in handleOp()
/external/skqp/src/core/
DSkPictureFlat.h56 ROTATE, enumerator
DSkPicturePlayback.cpp685 case ROTATE: { in handleOp()
/external/dnsmasq/src/
Dutil.c66 #define ROTATE(x,b) (((x) << (b)) | ((x) >> (32 - (b)))) macro
67 #define MUSH(i,b) x = t[i] += (((x ^ seed[i]) + sum) ^ ROTATE(x,b));
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disasm.c511 OPC(ROTATE),
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h847 #define TEST_ROTATE(FOURCC, BPP, ROTATE) \ argument
848 void Construct##FOURCC##Rotate##ROTATE() { \
854 kWidth, kHeight, webrtc::kVideoRotation_##ROTATE, \
871 kHeight, libyuv::kRotate##ROTATE); \
/external/boringssl/ios-arm/crypto/fipsmodule/
Daes-armv4.S829 eor r4,r4,r5,ror#24 @ ^= ROTATE(tpb=tp9^tp2,8)
831 eor r4,r4,r5,ror#16 @ ^= ROTATE(tpd=tp9^tp4,16)
832 eor r4,r4,r5,ror#8 @ ^= ROTATE(tp9,24)
/external/boringssl/linux-arm/crypto/fipsmodule/
Daes-armv4.S820 eor r4,r4,r5,ror#24 @ ^= ROTATE(tpb=tp9^tp2,8)
822 eor r4,r4,r5,ror#16 @ ^= ROTATE(tpd=tp9^tp4,16)
823 eor r4,r4,r5,ror#8 @ ^= ROTATE(tp9,24)