Home
last modified time | relevance | path

Searched refs:ROTATE (Results 1 – 23 of 23) 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.c192 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
197 #define Sigma0(x) (ROTATE((x), 30) ^ ROTATE((x), 19) ^ ROTATE((x), 10))
198 #define Sigma1(x) (ROTATE((x), 26) ^ ROTATE((x), 21) ^ ROTATE((x), 7))
199 #define sigma0(x) (ROTATE((x), 25) ^ ROTATE((x), 14) ^ ((x) >> 3))
200 #define sigma1(x) (ROTATE((x), 15) ^ ROTATE((x), 13) ^ ((x) >> 10))
327 #undef ROTATE
Dsha1.c109 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
113 (ix) = (a) = ROTATE((a), 1); \
140 (f) = (xi) + (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
141 (b) = ROTATE((b), 30); \
147 (f) += (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
148 (b) = ROTATE((b), 30); \
154 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
155 (b) = ROTATE((b), 30); \
161 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
162 (b) = ROTATE((b), 30); \
[all …]
/external/boringssl/src/crypto/chacha/
Dchacha.c36 #define ROTATE(v, n) (((v) << (n)) | ((v) >> (32 - (n)))) macro
40 x[a] += x[b]; x[d] = ROTATE(x[d] ^ x[a], 16); \
41 x[c] += x[d]; x[b] = ROTATE(x[b] ^ x[c], 12); \
42 x[a] += x[b]; x[d] = ROTATE(x[d] ^ x[a], 8); \
43 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.c348 # define ROTATE(x, b) _rotl64(x, b) macro
350 # define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) ) macro
355 b = ROTATE(b, s) ^ a; \
356 d = ROTATE(d, t) ^ c; \
357 a = ROTATE(a, 32);
/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); \
293 #undef ROTATE
/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/openssh/openbsd-compat/
Dchacha_private.h40 #define ROTATE(v,c) (ROTL32(v,c)) macro
46 a = PLUS(a,b); d = ROTATE(XOR(d,a),16); \
47 c = PLUS(c,d); b = ROTATE(XOR(b,c),12); \
48 a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); \
49 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7);
/external/openssh/
Dchacha.c41 #define ROTATE(v,c) (ROTL32(v,c)) macro
47 a = PLUS(a,b); d = ROTATE(XOR(d,a),16); \
48 c = PLUS(c,d); b = ROTATE(XOR(b,c),12); \
49 a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); \
50 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7);
/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.java29 public static final String ROTATE = "rotate"; field in ShadowMatrix
138 setOps.put(ROTATE, degrees + " " + px + " " + py); in setRotate()
144 setOps.put(ROTATE, Float.toString(degrees)); in setRotate()
198 preOps.addFirst(ROTATE + " " + degrees + " " + px + " " + py); in preRotate()
204 preOps.addFirst(ROTATE + " " + Float.toString(degrees)); in preRotate()
246 postOps.addLast(ROTATE + " " + degrees + " " + px + " " + py); in postRotate()
252 postOps.addLast(ROTATE + " " + Float.toString(degrees)); in postRotate()
/external/dnsmasq/src/
Dutil.c61 #define ROTATE(x, b) (((x) << (b)) | ((x) >> (32 - (b)))) macro
62 #define MUSH(i, b) x = t[i] += (((x ^ seed[i]) + sum) ^ ROTATE(x, b));
/external/skia/src/core/
DSkPictureFlat.h56 ROTATE, enumerator
DSkPicturePlayback.cpp521 case ROTATE: { in handleOp()
/external/skqp/src/core/
DSkPictureFlat.h56 ROTATE, enumerator
DSkPicturePlayback.cpp513 case ROTATE: { in handleOp()
/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.S842 eor r4,r4,r5,ror#24 @ ^= ROTATE(tpb=tp9^tp2,8)
844 eor r4,r4,r5,ror#16 @ ^= ROTATE(tpd=tp9^tp4,16)
845 eor r4,r4,r5,ror#8 @ ^= ROTATE(tp9,24)
/external/boringssl/linux-arm/crypto/fipsmodule/
Daes-armv4.S833 eor r4,r4,r5,ror#24 @ ^= ROTATE(tpb=tp9^tp2,8)
835 eor r4,r4,r5,ror#16 @ ^= ROTATE(tpd=tp9^tp4,16)
836 eor r4,r4,r5,ror#8 @ ^= ROTATE(tp9,24)
/external/syzkaller/pkg/ifuzz/gen/
Dall-enc-instructions.txt2636 CATEGORY : ROTATE
2649 CATEGORY : ROTATE
2663 CATEGORY : ROTATE
2677 CATEGORY : ROTATE
2691 CATEGORY : ROTATE
2708 CATEGORY : ROTATE
2726 CATEGORY : ROTATE
2740 CATEGORY : ROTATE
2758 CATEGORY : ROTATE
2774 CATEGORY : ROTATE
[all …]