Home
last modified time | relevance | path

Searched refs:rol (Results 1 – 25 of 58) sorted by relevance

123

/external/v8/test/mjsunit/asm/
Dword32ror.js9 var rol = (function Module(stdlib, foreign, heap) { function
11 function rol(x, y) { function
16 return { rol: rol };
17 })(stdlib, foreign, heap).rol;
19 assertEquals(10, rol(10, 0));
20 assertEquals(2, rol(1, 1));
21 assertEquals(0x40000000, rol(1, 30));
22 assertEquals(-0x80000000, rol(1, 31));
/external/boringssl/win-x86/crypto/md5/
Dmd5-586.asm48 rol eax,7
58 rol edx,12
68 rol ecx,17
78 rol ebx,22
88 rol eax,7
98 rol edx,12
108 rol ecx,17
118 rol ebx,22
128 rol eax,7
138 rol edx,12
[all …]
/external/boringssl/win-x86_64/crypto/md5/
Dmd5-x86_64.asm62 rol eax,7
71 rol edx,12
80 rol ecx,17
89 rol ebx,22
98 rol eax,7
107 rol edx,12
116 rol ecx,17
125 rol ebx,22
134 rol eax,7
143 rol edx,12
[all …]
/external/boringssl/win-x86_64/crypto/sha/
Dsha1-x86_64.asm67 rol ecx,5
72 rol edi,30
80 rol ecx,5
85 rol esi,30
93 rol ecx,5
98 rol r13d,30
106 rol ecx,5
111 rol r12d,30
119 rol ecx,5
124 rol r11d,30
[all …]
/external/v8/test/mjsunit/compiler/
Dregress-452427.js9 var rol = (function Module(stdlib, foreign, heap) { function
11 function rol() { function
15 return { rol: rol };
16 })(stdlib, foreign, heap).rol;
18 assertEquals(1, rol());
/external/boringssl/win-x86/crypto/sha/
Dsha1-586.asm113 rol ebp,5
125 rol ebp,5
137 rol ebp,5
149 rol ebp,5
161 rol ebp,5
173 rol ebp,5
185 rol ebp,5
197 rol ebp,5
209 rol ebp,5
221 rol ebp,5
[all …]
/external/llvm/test/MC/Mips/
Drotations32.s9 rol $4,$5
16 rol $4,$5,$6
23 rol $4,0
26 rol $4,$5,0
29 rol $4,1
34 rol $4,$5,1
39 rol $4,2
44 rol $4,$5,2
Drotations64.s9 rol $4,$5
16 rol $4,$5,$6
23 rol $4,0
26 rol $4,$5,0
29 rol $4,1
34 rol $4,$5,1
39 rol $4,2
44 rol $4,$5,2
/external/selinux/libselinux/src/
Dsha1.c37 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
40 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
41 |(rol(block->l[i],8)&0x00FF00FF))
43 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
47 #define R0(v,w,x,y,z,i) z += ((w&(x^y))^y) + blk0(i)+ 0x5A827999 + rol(v,5); w=rol(w,30);
48 #define R1(v,w,x,y,z,i) z += ((w&(x^y))^y) + blk(i) + 0x5A827999 + rol(v,5); w=rol(w,30);
49 #define R2(v,w,x,y,z,i) z += (w^x^y) + blk(i) + 0x6ED9EBA1 + rol(v,5); w=rol(w,30);
50 #define R3(v,w,x,y,z,i) z += (((w|x)&y)|(w&x)) + blk(i) + 0x8F1BBCDC + rol(v,5); w=rol(w,30);
51 #define R4(v,w,x,y,z,i) z += (w^x^y) + blk(i) + 0xCA62C1D6 + rol(v,5); w=rol(w,30);
/external/webrtc/webrtc/base/
Dsha1.cc119 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
127 #define blk0(i) (block->l[i] = (rol(block->l[i], 24) & 0xFF00FF00) | \
128 (rol(block->l[i], 8) & 0x00FF00FF))
130 #define blk(i) (block->l[i & 15] = rol(block->l[(i + 13) & 15] ^ \
135 z += ((w & (x ^ y)) ^ y) + blk0(i) + 0x5A827999 + rol(v, 5); \
136 w = rol(w, 30);
138 z += ((w & (x ^ y)) ^ y) + blk(i) + 0x5A827999 + rol(v, 5); \
139 w = rol(w, 30);
141 z += (w ^ x ^ y) + blk(i) + 0x6ED9EBA1 + rol(v, 5);\
142 w = rol(w, 30);
[all …]
/external/valgrind/none/tests/
Dsha1_test.c77 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
82 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
83 |(rol(block->l[i],8)&0x00FF00FF))
89 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
93 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30);
94 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
95 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
96 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
97 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/external/wpa_supplicant_8/src/crypto/
Dsha1-internal.c130 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
135 #define blk0(i) (block->l[i] = (rol(block->l[i], 24) & 0xFF00FF00) | \
136 (rol(block->l[i], 8) & 0x00FF00FF))
140 #define blk(i) (block->l[i & 15] = rol(block->l[(i + 13) & 15] ^ \
145 z += ((w & (x ^ y)) ^ y) + blk0(i) + 0x5A827999 + rol(v, 5); \
146 w = rol(w, 30);
148 z += ((w & (x ^ y)) ^ y) + blk(i) + 0x5A827999 + rol(v, 5); \
149 w = rol(w, 30);
151 z += (w ^ x ^ y) + blk(i) + 0x6ED9EBA1 + rol(v, 5); w = rol(w, 30);
153 z += (((w | x) & y) | (w & x)) + blk(i) + 0x8F1BBCDC + rol(v, 5); \
[all …]
/external/toybox/toys/lsb/
Dmd5sum.c52 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
109 x[1] += rol(temp, md5rot[i]); in md5_transform()
143 work += block[count] = (rol(block[count],24)&0xFF00FF00) in sha1_transform()
144 | (rol(block[count],8)&0x00FF00FF); in sha1_transform()
146 work += block[count&15] = rol(block[(count+13)&15] in sha1_transform()
148 *rot[4] += work + rol(*rot[0],5) + rconsts[i]; in sha1_transform()
149 *rot[1] = rol(*rot[1],30); in sha1_transform()
/external/ppp/pppd/
Dsha1.c27 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
32 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
36 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30);
37 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
38 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
39 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
40 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/external/pcre/dist/sljit/
DsljitNativeARM_32.c1142 sljit_si rol; in get_imm() local
1149 rol = 8; in get_imm()
1153 rol = 0; in get_imm()
1158 rol += 4; in get_imm()
1163 rol += 2; in get_imm()
1168 rol += 1; in get_imm()
1172 return SRC2_IMM | (imm >> 24) | (rol << 8); in get_imm()
1183 sljit_si rol; in generate_int() local
1187 rol = 8; in generate_int()
1191 imm = (imm << rol) | (imm >> (32 - rol)); in generate_int()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_amd64.S191 rol $0x11, %rsi
232 rol $0x11, %rsi
280 rol $0x11, %rsi
333 rol $0x11, %rsi
/external/boringssl/win-x86/crypto/aes/
Daes-586.asm127 rol ecx,24
145 rol edx,24
163 rol eax,24
181 rol ebx,24
1159 rol ecx,8
1165 rol eax,24
1167 rol ebx,16
1169 rol ebp,8
1202 rol edx,8
1208 rol ebx,24
[all …]
/external/boringssl/win-x86/crypto/modes/
Dghash-x86.asm577 rol edx,8
583 rol edx,8
599 rol edx,8
617 rol edx,8
637 rol edx,8
656 rol edx,8
675 rol edx,8
694 rol edx,8
714 rol edx,8
733 rol edx,8
[all …]
/external/vboot_reference/firmware/2lib/
D2sha1.c187 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
206 W[t] = rol(1,W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]); in sha1_transform()
216 uint32_t tmp = rol(5,A) + E + W[t]; in sha1_transform()
229 C = rol(30,B); in sha1_transform()
/external/boringssl/win-x86_64/crypto/aes/
Daes-x86_64.asm273 rol eax,24
275 rol ebx,24
310 rol ecx,24
312 rol edx,24
735 rol eax,8
737 rol ecx,8
739 rol ebx,8
742 rol edx,8
751 rol r8d,24
753 rol r11d,24
[all …]
/external/pdfium/core/src/fdrm/crypto/
Dfx_crypt_sha.cpp18 #define rol(x, y) (((x) << (y)) | (((unsigned int)x) >> (32 - y))) macro
35 w[t] = rol(tmp, 1); in SHATransform()
43 unsigned int tmp = rol(a, 5) + ((b & c) | (d & ~b)) + e + w[t] + 0x5a827999; in SHATransform()
46 c = rol(b, 30); in SHATransform()
51 unsigned int tmp = rol(a, 5) + (b ^ c ^ d) + e + w[t] + 0x6ed9eba1; in SHATransform()
54 c = rol(b, 30); in SHATransform()
60 rol(a, 5) + ((b & c) | (b & d) | (c & d)) + e + w[t] + 0x8f1bbcdc; in SHATransform()
63 c = rol(b, 30); in SHATransform()
68 unsigned int tmp = rol(a, 5) + (b ^ c ^ d) + e + w[t] + 0xca62c1d6; in SHATransform()
71 c = rol(b, 30); in SHATransform()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha1.c176 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro
193 W[t] = rol(1,W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]); in SHA1_transform()
203 uint32_t tmp = rol(5,A) + E + W[t]; in SHA1_transform()
216 C = rol(30,B); in SHA1_transform()
/external/llvm/lib/Target/X86/
DX86InstrShiftRotate.td472 "rol{b}\t{%cl, $dst|$dst, cl}",
475 "rol{w}\t{%cl, $dst|$dst, cl}",
478 "rol{l}\t{%cl, $dst|$dst, cl}",
481 "rol{q}\t{%cl, $dst|$dst, cl}",
486 "rol{b}\t{$src2, $dst|$dst, $src2}",
489 "rol{w}\t{$src2, $dst|$dst, $src2}",
493 "rol{l}\t{$src2, $dst|$dst, $src2}",
498 "rol{q}\t{$src2, $dst|$dst, $src2}",
504 "rol{b}\t$dst",
508 "rol{w}\t$dst",
[all …]
/external/boringssl/win-x86_64/crypto/modes/
Dghash-x86_64.asm342 rol edx,8
347 rol edx,8
363 rol edx,8
383 rol edx,8
404 rol edx,8
424 rol edx,8
444 rol edx,8
464 rol edx,8
485 rol edx,8
505 rol edx,8
[all …]
/external/llvm/test/CodeGen/X86/
Drotate2.ll1 ; RUN: llc < %s -march=x86-64 -mcpu=corei7 | grep rol | count 2

123