Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/sha/
Dsha256.c207 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) 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))
Dsha1.c120 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
122 ((a) = (ia ^ ib ^ ic ^ id), ix = (a) = ROTATE((a), 1))
147 (f) = xi + (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
148 (b) = ROTATE((b), 30);
152 (f) += (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
153 (b) = ROTATE((b), 30);
157 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
158 (b) = ROTATE((b), 30);
162 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
163 (b) = ROTATE((b), 30);
[all …]
/external/boringssl/src/crypto/chacha/
Dchacha_generic.c30 #define ROTATE(v, n) (((v) << (n)) | ((v) >> (32 - (n)))) macro
49 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]),16); \
50 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]),12); \
51 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]), 8); \
52 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]), 7);
/external/boringssl/src/crypto/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()
Dinternal.h193 t = ROTATE(t, 4); \
205 #define ROTATE(a, n) (((a) >> (n)) + ((a) << (32 - (n)))) macro
/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/md4/
Dmd4.c106 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
111 a = ROTATE(a, s); \
117 a = ROTATE(a, s); \
123 a = ROTATE(a, s); \
/external/boringssl/src/crypto/md5/
Dmd5.c130 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro
134 a=ROTATE(a,s); \
139 a=ROTATE(a,s); \
144 a=ROTATE(a,s); \
149 a=ROTATE(a,s); \
/external/opencv/cvaux/src/
Dcvhmmobs.cpp533 #define ROTATE( c, s, dc, ds ) \ in icvCalcDCTMatrix() macro
586 ROTATE( a, b, da, db ); in icvCalcDCTMatrix()
590 ROTATE( a, b, da, db ); in icvCalcDCTMatrix()
594 ROTATE( a0, b0, da0, db0 ); in icvCalcDCTMatrix()
597 #undef ROTATE in icvCalcDCTMatrix()
/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/skia/src/core/
DSkPictureFlat.h52 ROTATE, enumerator
DSkPicturePlayback.cpp465 case ROTATE: in handleOp()
/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/linux-arm/crypto/aes/
Daes-armv4.S812 eor r4,r4,r5,ror#24 @ ^= ROTATE(tpb=tp9^tp2,8)
814 eor r4,r4,r5,ror#16 @ ^= ROTATE(tpd=tp9^tp4,16)
815 eor r4,r4,r5,ror#8 @ ^= ROTATE(tp9,24)
/external/c-ares/
DCHANGES343 supports the ROTATE option thanks to c-ares now storing the "optmask"