/freebsd/crypto/openssl/crypto/sm4/ |
H A D | sm4.c | 88 static ossl_inline uint32_t rotl(uint32_t a, uint8_t n) in rotl() function 121 return t ^ rotl(t, 2) ^ rotl(t, 10) ^ rotl(t, 18) ^ rotl(t, 24); in SM4_T_slow() 127 rotl(SM4_SBOX_T[(uint8_t)(X >> 16)], 24) ^ in SM4_T() 128 rotl(SM4_SBOX_T[(uint8_t)(X >> 8)], 16) ^ in SM4_T() 129 rotl(SM4_SBOX_T[(uint8_t)X], 8); in SM4_T() 171 t = t ^ rotl(t, 13) ^ rotl(t, 23); in ossl_sm4_set_key()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_draid_rand.c | 23 static inline uint64_t rotl(const uint64_t x, int k) in rotl() function 33 const uint64_t result = rotl(s0 + s1, 17) + s0; in vdev_draid_rand() 36 s[0] = rotl(s0, 49) ^ s1 ^ (s1 << 21); // a, b in vdev_draid_rand() 37 s[1] = rotl(s1, 28); // c in vdev_draid_rand()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace_xoroshiro128_plus.c | 38 rotl(const uint64_t x, int k) in rotl() function 85 state[0] = rotl(s0, 55) ^ s1 ^ (s1 << 14); in dtrace_xoroshiro128_plus_next() 86 state[1] = rotl(s1, 36); in dtrace_xoroshiro128_plus_next()
|
/freebsd/crypto/openssl/crypto/ripemd/asm/ |
H A D | rmd-586.pl | 100 &rotl($c, 10); 104 &rotl($a, $s); 116 &rotl($c, 10); 121 &rotl($a, $s); 145 &rotl($c, 10); 149 &rotl($a, $s); 165 &rotl($c, 10); 172 &rotl($c, 10); 176 &rotl($a, $s); 196 &rotl($c, 10); [all …]
|
/freebsd/crypto/openssl/crypto/des/asm/ |
H A D | des-586.pl | 162 &rotl($R,3); 164 &rotl($L,3); 257 &rotl( $a, $shift ) if ($shift != 0); 290 else { &rotl($tt, $lr-3); } 296 else { &rotl($r, $lr-2); } 307 { &rotl($r, 2-$lr); } 313 { &rotl($l, 3-$lr); }
|
H A D | crypt586.pl | 151 &rotl( $a, $shift ) if ($shift != 0); 182 else { &rotl($tt, $lr-3); } 188 else { &rotl($r, $lr-2); } 199 { &rotl($r, 2-$lr); } 205 { &rotl($l, 3-$lr); }
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.td | 156 let AltOrders = [(rotl GPR32common, 8)]; 161 let AltOrders = [(rotl GPR64common, 8)]; 167 let AltOrders = [(rotl GPR32, 8)]; 172 let AltOrders = [(rotl GPR64, 8)]; 179 let AltOrders = [(rotl GPR32sp, 8)]; 184 let AltOrders = [(rotl GPR64sp, 8)]; 243 let AltOrders = [(rotl GPR64noip, 8)]; 506 def DSeqPairs : RegisterTuples<[dsub0, dsub1], [(rotl FPR64, 0), (rotl FPR64, 1)]>; 508 [(rotl FPR64, 0), (rotl FPR64, 1), 509 (rotl FPR64, 2)]>; [all …]
|
H A D | AArch64ExpandImm.cpp | 260 uint64_t Closure = Result | llvm::rotl<uint64_t>(Result, Rotation); in MaximallyReplicateSubImmediate() 311 return std::make_pair(rotl(MaximalImm1, InitialTrailingOnes), in decomposeIntoOrrOfLogicalImmediates() 312 rotl(MaximalImm2, InitialTrailingOnes)); in decomposeIntoOrrOfLogicalImmediates() 394 uint64_t RunStarts = Imm & ~rotl<uint64_t>(Imm, 1); in tryEorOfLogicalImmediates() 444 rotl<uint64_t>((SmallOnes << RunLength) - SmallOnes, Rotation); in tryEorOfLogicalImmediates()
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | des_ct.c | 64 rotl(uint32_t x, int n) in rotl() function 125 sk0 |= rotl(kr & (uint32_t)0x08000021, 6); in keysched_unit() 322 z0 |= rotl(y0 & 0x12020120, 5); in Fconf() 327 z0 |= rotl(y0 & 0x20000200, 12); in Fconf() 332 z0 |= rotl(y0 & 0x40801800, 17); in Fconf() 336 z0 |= rotl(y0 & 0x88000008, 24); in Fconf()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrShiftRotate.td | 230 defm ROL: ShiftRotate<"rol", MRM0r, MRM0m, rotl, WriteRotateCL, WriteRotate, WriteRotateCLLd, WriteRotateLd>; 244 def : Pat<(rotl GR8:$src1, (i8 7)), (ROR8r1 GR8:$src1)>; 245 def : Pat<(rotl GR16:$src1, (i8 15)), (ROR16r1 GR16:$src1)>; 246 def : Pat<(rotl GR32:$src1, (i8 31)), (ROR32r1 GR32:$src1)>; 247 def : Pat<(rotl GR64:$src1, (i8 63)), (ROR64r1 GR64:$src1)>; 254 def : Pat<(rotl GR8:$src1, (i8 7)), (ROR8r1_ND GR8:$src1)>; 255 def : Pat<(rotl GR16:$src1, (i8 15)), (ROR16r1_ND GR16:$src1)>; 256 def : Pat<(rotl GR32:$src1, (i8 31)), (ROR32r1_ND GR32:$src1)>; 257 def : Pat<(rotl GR64:$src1, (i8 63)), (ROR64r1_ND GR64:$src1)>; 264 def : Pat<(store (rotl (loadi [all...] |
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha1-586.pl | 177 &rotl($tmp1,5); # tmp1=ROTATE(a,5) 207 &rotl($f,1); # f=ROTATE(f,1) 213 &rotl($a,5); # ROTATE(a,5) 224 &rotl($f,1); # f=ROTATE(f,1) 230 &rotl($tmp1,5); # ROTATE(a,5) 251 &rotl($f,1); # f=ROTATE(f,1) 255 &rotl($a,5); # ROTATE(a,5) 269 &rotl($f,1); # f=ROTATE(f,1) 273 &rotl($tmp1,5); # ROTATE(a,5) 294 &rotl($f,1); # f=ROTATE(f,1) [all …]
|
/freebsd/crypto/openssl/crypto/md5/asm/ |
H A D | md5-586.pl | 77 &rotl($a,$s); 102 &rotl($a,$s); 126 &rotl($a,$s); 148 &rotl($a,$s); 174 &rotl($a,$s);
|
/freebsd/crypto/openssl/crypto/rc5/asm/ |
H A D | rc5-586.pl | 69 &rotl($A, &LB("ecx")); 75 &rotl($B, &LB("ecx"));
|
/freebsd/contrib/lua/src/ |
H A D | lmathlib.c | 304 static Rand64 rotl (Rand64 x, int n) { in rotl() function 313 Rand64 res = rotl(state1 * 5, 7) * 9; in nextrand() 317 state[3] = rotl(state3, 45); in nextrand() 420 static Rand64 rotl (Rand64 i, int n) { in rotl() function 438 Rand64 res = times9(rotl(times5(state[1]), 7)); in nextrand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMRegisterInfo.td | 426 (decimate (rotl SPR, 1), 4), 427 (decimate (rotl SPR, 1), 2))]; 438 (decimate (rotl HPR, 1), 4), 439 (decimate (rotl HPR, 1), 2))]; 460 let AltOrders = [(rotl DPR, 16), 461 (add (decimate (rotl DPR, 16), 2), (rotl DPR, 16))]; 493 let AltOrders = [(rotl QPR, 8), (trunc QPR, 8)]; 532 let AltOrders = [(add (rotl QPR, 8), (rotl DPair, 16)), 578 let AltOrders = [(rotl QQPR, 8)]; 604 let AltOrders = [(rotl QQQQPR, 8)];
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrInteger.td | 69 defm ROTL : BinaryInt<rotl, "rotl", 0x77, 0x89>; 105 def : Pat<(rotl I32:$lhs, (and I32:$rhs, 31)), (ROTL_I32 I32:$lhs, I32:$rhs)>; 107 def : Pat<(rotl I64:$lhs, (and I64:$rhs, 63)), (ROTL_I64 I64:$lhs, I64:$rhs)>;
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | bit.cppm |
|
/freebsd/contrib/llvm-project/libcxx/include/__bit/ |
H A D | rotate.h | 59 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Tp rotl(_Tp __t, int __cnt) noexcept { in rotl() function
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-generic.c | 102 static inline uint64_t rotl(const uint64_t x, int k) in rotl() function 110 const uint64_t result = rotl(s[0] + s[3], 23) + s[0]; in spl_rand_next() 121 s[3] = rotl(s[3], 45); in spl_rand_next()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | bit.h | 389 // Forward-declare rotr so that rotl can use it. 394 [[nodiscard]] constexpr T rotl(T V, int R) { 415 return llvm::rotl(V, -R);
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | arm_neon_incl.td | 155 // rotl - Rotate set left by a number of elements. 156 // example: (rotl mask0, 3) -> [3, 4, 5, 6, 0, 1, 2] 157 def rotl; 158 // rotl - Rotate set right by a number of elements.
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | bit | 37 constexpr T rotl(T x, int s) noexcept; // C++20
|
/freebsd/sys/net80211/ |
H A D | ieee80211_crypto_tkip.c | 790 static __inline u32 rotl(u32 val, int bits) in rotl() function 807 r ^= rotl(l, 17); \ 811 r ^= rotl(l, 3); \
|
/freebsd/crypto/openssl/crypto/perlasm/ |
H A D | x86asm.pl | 71 sub ::rotl { &rol(@_); }
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kInstrShiftRotate.td | 97 defm ROL : MxSROp<"rol", rotl, MxRODI_L, MxROOP_RO>;
|