Home
last modified time | relevance | path

Searched refs:ROLc (Results 1 – 16 of 16) sorted by relevance

/external/dropbear/libtomcrypt/src/hashes/
Drmd160.c54 (a) = ROLc((a), (s)) + (e);\
55 (c) = ROLc((c), 10);
59 (a) = ROLc((a), (s)) + (e);\
60 (c) = ROLc((c), 10);
64 (a) = ROLc((a), (s)) + (e);\
65 (c) = ROLc((c), 10);
69 (a) = ROLc((a), (s)) + (e);\
70 (c) = ROLc((c), 10);
74 (a) = ROLc((a), (s)) + (e);\
75 (c) = ROLc((c), 10);
[all …]
Drmd320.c48 (a) = ROLc((a), (s)) + (e);\
49 (c) = ROLc((c), 10);
53 (a) = ROLc((a), (s)) + (e);\
54 (c) = ROLc((c), 10);
58 (a) = ROLc((a), (s)) + (e);\
59 (c) = ROLc((c), 10);
63 (a) = ROLc((a), (s)) + (e);\
64 (c) = ROLc((c), 10);
68 (a) = ROLc((a), (s)) + (e);\
69 (c) = ROLc((c), 10);
[all …]
Dsha1.c74 … #define FF0(a,b,c,d,e,i) e = (ROLc(a, 5) + F0(b,c,d) + e + W[i] + 0x5a827999UL); b = ROLc(b, 30); in _sha1_compress()
75 … #define FF1(a,b,c,d,e,i) e = (ROLc(a, 5) + F1(b,c,d) + e + W[i] + 0x6ed9eba1UL); b = ROLc(b, 30); in _sha1_compress()
76 … #define FF2(a,b,c,d,e,i) e = (ROLc(a, 5) + F2(b,c,d) + e + W[i] + 0x8f1bbcdcUL); b = ROLc(b, 30); in _sha1_compress()
77 … #define FF3(a,b,c,d,e,i) e = (ROLc(a, 5) + F3(b,c,d) + e + W[i] + 0xca62c1d6UL); b = ROLc(b, 30); in _sha1_compress()
Drmd256.c47 (a) = ROLc((a), (s));
51 (a) = ROLc((a), (s));
55 (a) = ROLc((a), (s));
59 (a) = ROLc((a), (s));
63 (a) = ROLc((a), (s));
67 (a) = ROLc((a), (s));
71 (a) = ROLc((a), (s));
75 (a) = ROLc((a), (s));
Drmd128.c53 (a) = ROLc((a), (s));
57 (a) = ROLc((a), (s));
61 (a) = ROLc((a), (s));
65 (a) = ROLc((a), (s));
69 (a) = ROLc((a), (s));
73 (a) = ROLc((a), (s));
77 (a) = ROLc((a), (s));
81 (a) = ROLc((a), (s));
Dmd5.c86 a = (a + F(b,c,d) + M + t); a = ROLc(a, s) + b;
89 a = (a + G(b,c,d) + M + t); a = ROLc(a, s) + b;
92 a = (a + H(b,c,d) + M + t); a = ROLc(a, s) + b;
95 a = (a + I(b,c,d) + M + t); a = ROLc(a, s) + b;
Dmd4.c57 #define ROTATE_LEFT(x, n) ROLc(x, n)
/external/dropbear/libtomcrypt/src/ciphers/
Dnoekeon.c42 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
44 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
48 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
50 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
62 a = ROLc(a, 1); c = ROLc(c, 5); d = ROLc(d, 2);
Drc6.c93 A = S[i] = ROLc(S[i] + A + B, 3); in _rc6_setup()
140 t = (b * (b + b + 1)); t = ROLc(t, 5); \ in _rc6_ecb_encrypt()
141 u = (d * (d + d + 1)); u = ROLc(u, 5); \ in _rc6_ecb_encrypt()
194 t = (b * (b + b + 1)); t = ROLc(t, 5); \ in _rc6_ecb_decrypt()
195 u = (d * (d + d + 1)); u = ROLc(u, 5); \ in _rc6_ecb_decrypt()
Drc5.c103 A = S[i] = ROLc(S[i] + A + B, 3); in _rc5_setup()
Ddes.c1430 right = ROLc(right, 1); in desfunc()
1435 leftt = ROLc(leftt, 1); in desfunc()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_macros.h243 #define ROLc(x,n) _lrotl(x,n) macro
265 static inline unsigned ROLc(unsigned word, const int i) in ROLc() function
283 #define ROLc ROL macro
308 static inline unsigned ROLc(unsigned word, const int i) in ROLc() function
326 #define ROLc ROL macro
337 #define ROLc(x, y) ( (((unsigned long)(x)<<(unsigned long)((y)&31)) | (((unsigned long)(x)&0xFFFFFF… macro
/external/dropbear/libtomcrypt/src/ciphers/twofish/
Dtwofish.c323 #define g1_func(x, key) g_func(ROLc(x, 8), key)
404 B = ROLc(B, 8); in _twofish_setup()
410 skey->twofish.K[x+x+1] = ROLc(B + B + A, 9); in _twofish_setup()
507 d = ROLc(d, 1) ^ (t2 + t1 + k[1]); in _twofish_ecb_encrypt()
512 b = ROLc(b, 1) ^ (t2 + t1 + k[3]); in _twofish_ecb_encrypt()
582 a = ROLc(a, 1) ^ (t1 + k[2]); in _twofish_ecb_decrypt()
587 c = ROLc(c, 1) ^ (t1 + k[0]); in _twofish_ecb_decrypt()
/external/wpa_supplicant/
Ddes.c46 #define ROLc(x, y) \ macro
350 right = ROLc(right, 1); in desfunc()
355 leftt = ROLc(leftt, 1); in desfunc()
/external/dropbear/libtomcrypt/
Dchanges362 trouble building the library (old GCCs for instance dislike the ROLc macro)
Dcrypt.tex297 \index{ROL} \index{ROR} \index{ROL64} \index{ROR64} \index{ROLc} \index{RORc} \index{ROL64c} \index…
303 …\hline ROLc(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x << y, 0 \le y \le 31$ …