Home
last modified time | relevance | path

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

12

/external/openssl/crypto/
Dmd32_common.h143 #undef ROTATE
146 # define ROTATE(a,n) _lrotl(a,n) macro
149 # define ROTATE(a,n) __rlwinm(a,n,0,31) macro
152 # define ROTATE(a,n) ( n<24 ? __rol(a,n) : __ror(a,32-n) ) macro
154 # define ROTATE(a,n) __rol(a,n) macro
164 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
174 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
182 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
192 #ifndef ROTATE
193 #define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n)))) macro
/external/chromium_org/third_party/boringssl/src/crypto/des/
Dinternal.h193 t = ROTATE(t, 4); \
206 #define ROTATE(a, n) (_lrotr(a, n)) macro
208 #define ROTATE(a, n) (_rotr(a, n))
212 #define ROTATE(a, n) \
220 #ifndef ROTATE
221 #define ROTATE(a, n) (((a) >> (n)) + ((a) << (32 - (n)))) macro
Ddes.c345 *(k++) = ROTATE(t2, 30) & 0xffffffffL; in DES_set_key()
348 *(k++) = ROTATE(t2, 26) & 0xffffffffL; in DES_set_key()
367 r = ROTATE(r, 29) & 0xffffffffL; in DES_encrypt1()
368 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt1()
410 l = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt1()
411 r = ROTATE(r, 3) & 0xffffffffL; in DES_encrypt1()
431 r = ROTATE(r, 29) & 0xffffffffL; in DES_encrypt2()
432 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt2()
473 data[0] = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt2()
474 data[1] = ROTATE(r, 3) & 0xffffffffL; in DES_encrypt2()
/external/openssl/crypto/aes/
Daes_x86core.c91 #undef ROTATE
93 # define ROTATE(a,n) _lrotl(a,n) macro
96 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
613 #if defined(ROTATE) in AES_set_decrypt_key()
614 rk[j] = tpe ^ ROTATE(tpd,16) ^ in AES_set_decrypt_key()
615 ROTATE(tp9,8) ^ ROTATE(tpb,24); in AES_set_decrypt_key()
700 #if defined(ROTATE) in AES_encrypt()
701 t[i] = r2 ^ ROTATE(r2,24) ^ ROTATE(r0,24) ^ in AES_encrypt()
702 ROTATE(r0,16) ^ ROTATE(r0,8); in AES_encrypt()
766 #if defined(ROTATE) in AES_encrypt()
[all …]
Daes_core.c1345 #if defined(ROTATE) in private_AES_set_decrypt_key()
1346 rk[j] = tpe ^ ROTATE(tpd,16) ^ in private_AES_set_decrypt_key()
1347 ROTATE(tp9,24) ^ ROTATE(tpb,8); in private_AES_set_decrypt_key()
/external/openssl/crypto/sha/
Dsha_locl.h100 ix=(a)=ROTATE((a),1); \
104 ix=(a)=ROTATE((a),1) \
160 (f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
161 (b)=ROTATE((b),30);
165 (f)+=(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
166 (b)=ROTATE((b),30);
170 (f)+=(e)+K_20_39+ROTATE((a),5)+F_20_39((b),(c),(d)); \
171 (b)=ROTATE((b),30);
175 (f)+=(e)+K_20_39+ROTATE((a),5)+F_20_39((b),(c),(d)); \
176 (b)=ROTATE((b),30);
[all …]
Dsha256.c141 #define Sigma0(x) (ROTATE((x),30) ^ ROTATE((x),19) ^ ROTATE((x),10))
142 #define Sigma1(x) (ROTATE((x),26) ^ ROTATE((x),21) ^ ROTATE((x),7))
143 #define sigma0(x) (ROTATE((x),25) ^ ROTATE((x),14) ^ ((x)>>3))
144 #define sigma1(x) (ROTATE((x),15) ^ ROTATE((x),13) ^ ((x)>>10))
/external/openssl/crypto/des/
Ddes_locl.h164 #define ROTATE(a,n) (_lrotr(a,n)) macro
167 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
176 #ifndef ROTATE
177 #define ROTATE(a,n) (((a)>>(n))+((a)<<(32-(n)))) macro
220 t=ROTATE(t,4); \
248 t=ROTATE(t,4); \
272 t=ROTATE(t,4); \
292 t=ROTATE(t,6); \
321 t=ROTATE(t,6); \
350 t=ROTATE(t,4); \
Ddes_enc.c85 r=ROTATE(r,29)&0xffffffffL; in DES_encrypt1()
86 l=ROTATE(l,29)&0xffffffffL; in DES_encrypt1()
147 l=ROTATE(l,3)&0xffffffffL; in DES_encrypt1()
148 r=ROTATE(r,3)&0xffffffffL; in DES_encrypt1()
177 r=ROTATE(r,29)&0xffffffffL; in DES_encrypt2()
178 l=ROTATE(l,29)&0xffffffffL; in DES_encrypt2()
238 data[0]=ROTATE(l,3)&0xffffffffL; in DES_encrypt2()
239 data[1]=ROTATE(r,3)&0xffffffffL; in DES_encrypt2()
Dfcrypt_b.c131 l=ROTATE(l,3)&0xffffffffL; in fcrypt_body()
132 r=ROTATE(r,3)&0xffffffffL; in fcrypt_body()
Dset_key.c398 *(k++)=ROTATE(t2,30)&0xffffffffL; in private_DES_set_key_unchecked()
401 *(k++)=ROTATE(t2,26)&0xffffffffL; in private_DES_set_key_unchecked()
/external/chromium_org/third_party/boringssl/src/crypto/digest/
Dmd32_common.h151 #undef ROTATE
153 # define ROTATE(a,n) _lrotl(a,n) macro
155 # define ROTATE(a,n) _rotl(a,n)
164 # define ROTATE(a,n) ({ register unsigned int ret; \
175 #ifndef ROTATE
176 #define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n)))) macro
/external/openssl/crypto/md5/
Dmd5_locl.h114 a=ROTATE(a,s); \
119 a=ROTATE(a,s); \
124 a=ROTATE(a,s); \
129 a=ROTATE(a,s); \
/external/chromium_org/third_party/boringssl/src/crypto/chacha/
Dchacha_generic.c26 #define ROTATE(v, n) (((v) << (n)) | ((v) >> (32 - (n)))) macro
45 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]),16); \
46 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]),12); \
47 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]), 8); \
48 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]), 7);
/external/openssl/crypto/md4/
Dmd4_locl.h104 a=ROTATE(a,s); };
108 a=ROTATE(a,s); };\
112 a=ROTATE(a,s); };
/external/chromium_org/third_party/boringssl/src/crypto/sha/
Dsha256.c206 #define Sigma0(x) (ROTATE((x), 30) ^ ROTATE((x), 19) ^ ROTATE((x), 10))
207 #define Sigma1(x) (ROTATE((x), 26) ^ ROTATE((x), 21) ^ ROTATE((x), 7))
208 #define sigma0(x) (ROTATE((x), 25) ^ ROTATE((x), 14) ^ ((x) >> 3))
209 #define sigma1(x) (ROTATE((x), 15) ^ ROTATE((x), 13) ^ ((x) >> 10))
Dsha1.c121 ((a) = (ia ^ ib ^ ic ^ id), 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);
151 (f) += (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \
152 (b) = ROTATE((b), 30);
156 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
157 (b) = ROTATE((b), 30);
161 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \
162 (b) = ROTATE((b), 30);
166 (f) += (e) + K_40_59 + ROTATE((a), 5) + F_40_59((b), (c), (d)); \
[all …]
/external/mdnsresponder/mDNSCore/
DDNSDigest.c414 #undef ROTATE
417 # define ROTATE(a,n) _lrotl(a,n)
420 # define ROTATE(a,n) (unsigned MD32_REG_T)__rlwinm((int)a,n,0,31) macro
423 # define ROTATE(a,n) (n<24 ? __rol(a,n) : __ror(a,32-n)) macro
425 # define ROTATE(a,n) __rol(a,n) macro
441 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
450 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
496 #ifdef ROTATE
500 ((ROTATE(l,8)&0x00FF00FF)|(ROTATE((l&0x00FF00FF),24))) \
507 ROTATE(l,16) \
[all …]
/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/chromium_org/third_party/boringssl/src/crypto/md5/
Dmd5.c132 a=ROTATE(a,s); \
137 a=ROTATE(a,s); \
142 a=ROTATE(a,s); \
147 a=ROTATE(a,s); \
/external/chromium_org/third_party/boringssl/src/crypto/md4/
Dmd4.c107 a = ROTATE(a, s); \
113 a = ROTATE(a, s); \
119 a = ROTATE(a, s); \
/external/dnsmasq/src/
Dutil.c64 #define ROTATE(x,b) (((x) << (b)) | ((x) >> (32 - (b)))) macro
65 #define MUSH(i,b) x = t[i] += (((x ^ seed[i]) + sum) ^ ROTATE(x,b));
/external/skia/src/core/
DSkPicture.cpp88 case ROTATE: return "ROTATE"; in DrawTypeToString()
DSkPictureFlat.h54 ROTATE, enumerator
/external/chromium_org/third_party/skia/src/core/
DSkPictureFlat.h53 ROTATE, enumerator

12