Searched refs:rotl (Results 1 - 21 of 21) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dvdev_draid_rand.c23 static inline uint64_t rotl(const uint64_t x, int k) function
33 const uint64_t result = rotl(s0 + s1, 17) + s0;
36 s[0] = rotl(s0, 49) ^ s1 ^ (s1 << 21); // a, b
37 s[1] = rotl(s1, 28); // c
/freebsd-13-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace_xoroshiro128_plus.c38 rotl(const uint64_t x, int k) function
85 state[0] = rotl(s0, 55) ^ s1 ^ (s1 << 14);
86 state[1] = rotl(s1, 36);
/freebsd-13-stable/crypto/openssl/crypto/rc5/asm/
H A Drc5-586.pl70 &rotl($A, &LB("ecx"));
76 &rotl($B, &LB("ecx"));
/freebsd-13-stable/crypto/openssl/crypto/sm4/
H A Dsm4.c88 static ossl_inline uint32_t rotl(uint32_t a, uint8_t n) function
121 return t ^ rotl(t, 2) ^ rotl(t, 10) ^ rotl(t, 18) ^ rotl(t, 24);
127 rotl(SM4_SBOX_T[(uint8_t)(X >> 16)], 24) ^
128 rotl(SM4_SBOX_T[(uint8_t)(X >> 8)], 16) ^
129 rotl(SM4_SBOX_T[(uint8_t)X], 8);
171 t = t ^ rotl(t, 13) ^ rotl(
[all...]
/freebsd-13-stable/crypto/openssl/crypto/des/asm/
H A Dcrypt586.pl152 &rotl( $a, $shift ) if ($shift != 0);
183 else { &rotl($tt, $lr-3); }
189 else { &rotl($r, $lr-2); }
200 { &rotl($r, 2-$lr); }
206 { &rotl($l, 3-$lr); }
H A Ddes-586.pl163 &rotl($R,3);
165 &rotl($L,3);
258 &rotl( $a, $shift ) if ($shift != 0);
291 else { &rotl($tt, $lr-3); }
297 else { &rotl($r, $lr-2); }
308 { &rotl($r, 2-$lr); }
314 { &rotl($l, 3-$lr); }
/freebsd-13-stable/crypto/openssl/crypto/ripemd/asm/
H A Drmd-586.pl101 &rotl($c, 10);
105 &rotl($a, $s);
117 &rotl($c, 10);
122 &rotl($a, $s);
146 &rotl($c, 10);
150 &rotl($a, $s);
166 &rotl($c, 10);
173 &rotl($c, 10);
177 &rotl($a, $s);
197 &rotl(
[all...]
/freebsd-13-stable/contrib/bearssl/src/symcipher/
H A Ddes_ct.c64 rotl(uint32_t x, int n) function
125 sk0 |= rotl(kr & (uint32_t)0x08000021, 6);
322 z0 |= rotl(y0 & 0x12020120, 5);
327 z0 |= rotl(y0 & 0x20000200, 12);
332 z0 |= rotl(y0 & 0x40801800, 17);
336 z0 |= rotl(y0 & 0x88000008, 24);
/freebsd-13-stable/crypto/openssl/crypto/md5/asm/
H A Dmd5-586.pl75 &rotl($a,$s);
100 &rotl($a,$s);
124 &rotl($a,$s);
146 &rotl($a,$s);
172 &rotl($a,$s);
/freebsd-13-stable/crypto/openssl/crypto/sha/asm/
H A Dsha1-586.pl178 &rotl($tmp1,5); # tmp1=ROTATE(a,5)
208 &rotl($f,1); # f=ROTATE(f,1)
214 &rotl($a,5); # ROTATE(a,5)
225 &rotl($f,1); # f=ROTATE(f,1)
231 &rotl($tmp1,5); # ROTATE(a,5)
252 &rotl($f,1); # f=ROTATE(f,1)
256 &rotl($a,5); # ROTATE(a,5)
270 &rotl($f,1); # f=ROTATE(f,1)
274 &rotl($tmp1,5); # ROTATE(a,5)
295 &rotl(
[all...]
/freebsd-13-stable/contrib/lua/src/
H A Dlmathlib.c303 static Rand64 rotl (Rand64 x, int n) { function
312 Rand64 res = rotl(state1 * 5, 7) * 9;
316 state[3] = rotl(state3, 45);
419 static Rand64 rotl (Rand64 i, int n) { function
437 Rand64 res = times9(rotl(times5(state[1]), 7));
/freebsd-13-stable/crypto/openssl/crypto/perlasm/
H A Dx86asm.pl71 sub ::rotl { &rol(@_); }
/freebsd-13-stable/crypto/openssl/crypto/camellia/asm/
H A Dcmll-x86.pl270 &rotl ($idx,1);
282 &rotl (@T[2],1);
445 &rotl ($idx,1);
457 &rotl (@T[2],1);
/freebsd-13-stable/crypto/openssl/crypto/cast/asm/
H A Dcast-586.pl155 &rotl( $tmp4, &LB($tmp1));
/freebsd-13-stable/sys/net80211/
H A Dieee80211_crypto_tkip.c792 static __inline u32 rotl(u32 val, int bits) function
809 r ^= rotl(l, 17); \
813 r ^= rotl(l, 3); \
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1018 APInt rotl(unsigned rotateAmt) const;
1057 APInt rotl(const APInt &rotateAmt) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp563 return *this == rotl(SplatSizeInBits);
1068 APInt APInt::rotl(const APInt &rotateAmt) const {
1069 return rotl(rotateModulo(BitWidth, rotateAmt));
1072 APInt APInt::rotl(unsigned rotateAmt) const {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp910 APInt RotatedSrcMask = MaskSrc.rotl(SHMI);
H A DPPCInstrInfo.cpp3766 InVal = InVal.rotl(SH);
3790 InVal = InVal.rotl(SH);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2492 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize);
9791 Elt = SValInt.rotl(i*EltSize+FloatEltSize).trunc(FloatEltSize);
9800 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3829 // number that are left. This handles rotl(sext(x), 1) for example.
4855 case ISD::ROTL: return C1.rotl(C2);

Completed in 269 milliseconds