| /netbsd-src/external/bsd/wpa/dist/src/crypto/ |
| H A D | sha1-internal.c | 130 #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 …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/liblutil/ |
| H A D | sha1.c | 56 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro 63 # define blk0(i) (block[i] = (rol(block[i],24)&0xFF00FF00) \ 64 |(rol(block[i],8)&0x00FF00FF)) 68 #define blk(i) (block[i&15] = rol(block[(i+13)&15]^block[(i+8)&15] \ 74 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); 75 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); 76 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); 77 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); 78 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/avr/ |
| H A D | lib1funcs.S | 317 rol B1 456 lsl B0 $ rol B1 $ rol B2 $ rol B3 764 LSL A0 $ rol A1 $ rol A2 1039 LSL A0 $ rol A1 $ rol A2 $ rol A3 1040 rol A4 $ rol A5 $ rol A6 $ rol A7 1346 rol r_rem ; shift dividend into remainder 1351 rol r_arg1 ; shift dividend (with CARRY) 1409 rol r_remL ; shift dividend into remainder 1410 rol r_remH 1417 rol r_arg1L ; shift dividend (with CARRY) [all …]
|
| H A D | lib1funcs-fixed.S | 419 mul A0, B1 $ add C3, r0 $ adc C0, r1 $ rol C1
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/avr/ |
| H A D | lib1funcs.S | 317 rol B1 456 lsl B0 $ rol B1 $ rol B2 $ rol B3 764 LSL A0 $ rol A1 $ rol A2 1039 LSL A0 $ rol A1 $ rol A2 $ rol A3 1040 rol A4 $ rol A5 $ rol A6 $ rol A7 1346 rol r_rem ; shift dividend into remainder 1351 rol r_arg1 ; shift dividend (with CARRY) 1409 rol r_remL ; shift dividend into remainder 1410 rol r_remH 1417 rol r_arg1L ; shift dividend (with CARRY) [all …]
|
| H A D | lib1funcs-fixed.S | 419 mul A0, B1 $ add C3, r0 $ adc C0, r1 $ rol C1
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | SHA1.cpp | 30 static inline uint32_t rol(uint32_t Number, int Bits) { in rol() function 37 Buf[I & 15] = rol(Buf[(I + 13) & 15] ^ Buf[(I + 8) & 15] ^ Buf[(I + 2) & 15] ^ in blk() 45 E += ((B & (C ^ D)) ^ D) + blk0(Buf, I) + 0x5A827999 + rol(A, 5); in r0() 46 B = rol(B, 30); in r0() 51 E += ((B & (C ^ D)) ^ D) + blk(Buf, I) + 0x5A827999 + rol(A, 5); in r1() 52 B = rol(B, 30); in r1() 57 E += (B ^ C ^ D) + blk(Buf, I) + 0x6ED9EBA1 + rol(A, 5); in r2() 58 B = rol(B, 30); in r2() 63 E += (((B | C) & D) | (B & C)) + blk(Buf, I) + 0x8F1BBCDC + rol(A, 5); in r3() 64 B = rol(B, 30); in r3() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/digest/ |
| H A D | ripemd.d | 94 import core.bitop : rol; 128 a = rol(a, s) + e; in FF() 129 c = rol(c, 10); in FF() 136 a = rol(a, s) + e; in GG() 137 c = rol(c, 10); in GG() 144 a = rol(a, s) + e; in HH() 145 c = rol(c, 10); in HH() 152 a = rol(a, s) + e; in II() 153 c = rol(c, 10); in II() 160 a = rol(a, s) + e; in JJ() [all …]
|
| H A D | md.d | 90 import core.bitop : rol; 122 a = rol(a, s); in FF() 130 a = rol(a, s); in GG() 138 a = rol(a, s); in HH() 146 a = rol(a, s); in II()
|
| H A D | sha.d | 344 T = Ch(B, C, D) + E + core.bitop.rol(A, 5) + Wi + 0x5a827999; in SHA() 345 B = core.bitop.rol(B, 30); in SHA() 351 W[i&15] = core.bitop.rol(W[(i-3)&15] ^ W[(i-8)&15] ^ W[(i-14)&15] ^ W[(i-16)&15], 1); in SHA() 352 T = Ch(B, C, D) + E + core.bitop.rol(A, 5) + W[i&15] + 0x5a827999; in SHA() 353 B = core.bitop.rol(B, 30); in SHA() 359 W[i&15] = core.bitop.rol(W[(i-3)&15] ^ W[(i-8)&15] ^ W[(i-14)&15] ^ W[(i-16)&15], 1); in SHA() 360 T = Parity(B, C, D) + E + core.bitop.rol(A, 5) + W[i&15] + 0x6ed9eba1; in SHA() 361 B = core.bitop.rol(B, 30); in SHA() 367 W[i&15] = core.bitop.rol(W[(i-3)&15] ^ W[(i-8)&15] ^ W[(i-14)&15] ^ W[(i-16)&15], 1); in SHA() 368 T = Maj(B, C, D) + E + core.bitop.rol(A, 5) + W[i&15] + 0x8f1bbcdc; in SHA() [all …]
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| H A D | sha1.c | 28 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro 35 # define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ 36 |(rol(block->l[i],8)&0x00FF00FF)) 40 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ 46 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); 47 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); 48 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); 49 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); 50 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
|
| /netbsd-src/common/lib/libc/hash/sha1/ |
| H A D | sha1.c | 49 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) macro 56 # define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ 57 |(rol(block->l[i],8)&0x00FF00FF)) 61 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ 67 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); 68 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); 69 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); 70 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); 71 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
|
| /netbsd-src/sys/external/bsd/sljit/dist/sljit_src/ |
| H A D | sljitNativeARM_32.c | 1128 sljit_s32 rol; in get_imm() local 1135 rol = 8; in get_imm() 1139 rol = 0; in get_imm() 1144 rol += 4; in get_imm() 1149 rol += 2; in get_imm() 1154 rol += 1; in get_imm() 1158 return SRC2_IMM | (imm >> 24) | (rol << 8); in get_imm() 1169 sljit_s32 rol; in generate_int() local 1173 rol = 8; in generate_int() 1177 imm = (imm << rol) | (imm >> (32 - rol)); in generate_int() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/ |
| H A D | bitop.d | 939 pure T rol(T)(const T value, const uint count) 959 pure T rol(uint count, T)(const T value) 985 assert(rol(a, 1) == 0b11100001); 987 assert(rol(a, 3) == 0b10000111); 990 assert(rol(a, 0) == a); 993 assert(rol(b, 63) == ~(1UL << 63)); 996 assert(rol!3(a) == 0b10000111); 999 enum c = rol(uint(1), 0);
|
| H A D | int128.d | 298 Cent rol(Cent c, uint n) in rol() function 940 assert(rol(Cm1, 1) == Cm1); 942 assert(rol(ror(C7_9, 5), 5) == C7_9); 943 assert(rol(C7_9, 1) == rol1(C7_9));
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| H A D | tsan_rtl_amd64.S | 212 rol $0x11, %rsi 261 rol $0x11, %rsi 317 rol $0x11, %rsi 377 rol $0x11, %rsi
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| H A D | tsan_rtl_amd64.S | 204 rol $0x11, %rsi 253 rol $0x11, %rsi 309 rol $0x11, %rsi 369 rol $0x11, %rsi
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86InstrShiftRotate.td | 460 "rol{b}\t{%cl, $dst|$dst, cl}", 463 "rol{w}\t{%cl, $dst|$dst, cl}", 466 "rol{l}\t{%cl, $dst|$dst, cl}", 469 "rol{q}\t{%cl, $dst|$dst, cl}", 474 "rol{b}\t{$src2, $dst|$dst, $src2}", 477 "rol{w}\t{$src2, $dst|$dst, $src2}", 481 "rol{l}\t{$src2, $dst|$dst, $src2}", 486 "rol{q}\t{$src2, $dst|$dst, $src2}", 491 "rol{b}\t$dst", 494 "rol{w}\t$dst", [all …]
|
| /netbsd-src/external/bsd/ntp/dist/sntp/libevent/test/ |
| H A D | regress_iocp.c | 240 struct event_overlapped rol, wol; in test_iocp_evbuffer() local 249 event_overlapped_init_(&rol, read_complete); in test_iocp_evbuffer() 274 tt_assert(!evbuffer_launch_read_(rbuf, 2048, &rol)); in test_iocp_evbuffer()
|
| /netbsd-src/external/bsd/libevent/dist/test/ |
| H A D | regress_iocp.c | 239 struct event_overlapped rol, wol; in test_iocp_evbuffer() local 248 event_overlapped_init_(&rol, read_complete); in test_iocp_evbuffer() 273 tt_assert(!evbuffer_launch_read_(rbuf, 2048, &rol)); in test_iocp_evbuffer()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/avr/libf7/ |
| H A D | libf7-asm.sx | 138 rol r24 1132 rol C1 1133 rol C2 1134 rol C3 1135 rol C4 1136 rol C5 1137 rol C6 1161 rol Q0 1164 rol Q1 1165 rol Q2 [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/avr/libf7/ |
| H A D | libf7-asm.sx | 138 rol r24 1132 rol C1 1133 rol C2 1134 rol C3 1135 rol C4 1136 rol C5 1137 rol C6 1161 rol Q0 1164 rol Q1 1165 rol Q2 [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | sha1.c | 308 #define rol(x, n) (((x) << (n)) | ((sha1_uint32) (x) >> (32 - (n)))) in sha1_process_block() macro 312 , (x[I&0x0f] = rol(tm, 1)) ) in sha1_process_block() 314 #define R(A,B,C,D,E,F,K,M) do { E += rol( A, 5 ) \ in sha1_process_block() 318 B = rol( B, 30 ); \ in sha1_process_block()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | sha1.c | 304 #define rol(x, n) (((x) << (n)) | ((sha1_uint32) (x) >> (32 - (n)))) in sha1_process_block() macro 308 , (x[I&0x0f] = rol(tm, 1)) ) in sha1_process_block() 310 #define R(A,B,C,D,E,F,K,M) do { E += rol( A, 5 ) \ in sha1_process_block() 314 B = rol( B, 30 ); \ in sha1_process_block()
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | sha1.c | 308 #define rol(x, n) (((x) << (n)) | ((sha1_uint32) (x) >> (32 - (n)))) in sha1_process_block() macro 312 , (x[I&0x0f] = rol(tm, 1)) ) in sha1_process_block() 314 #define R(A,B,C,D,E,F,K,M) do { E += rol( A, 5 ) \ in sha1_process_block() 318 B = rol( B, 30 ); \ in sha1_process_block()
|