Searched refs:rotr (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-current/contrib/wpa/src/crypto/
H A Daes_i.h70 static inline u32 rotr(u32 val, int bits) function
76 #define TE1(i) rotr(Te0[((i) >> 16) & 0xff], 8)
77 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16)
78 #define TE3(i) rotr(Te0[(i) & 0xff], 24)
94 #define TD1(i) rotr(Td0[((i) >> 16) & 0xff], 8)
95 #define TD2(i) rotr(Td0[((i) >> 8) & 0xff], 16)
96 #define TD3(i) rotr(Td0[(i) & 0xff], 24)
102 #define TD1_(i) rotr(Td0[(i) & 0xff], 8)
103 #define TD2_(i) rotr(Td0[(i) & 0xff], 16)
104 #define TD3_(i) rotr(Td
[all...]
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dbit.inc27 using std::rotr;
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h128 if ((llvm::rotr<uint32_t>(Imm, RotAmt) & ~255U) == 0)
136 if ((llvm::rotr<uint32_t>(Imm, RotAmt2) & ~255U) == 0)
157 if (llvm::rotr<uint32_t>(~255U, RotAmt) & Arg)
168 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V;
173 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V;
180 return llvm::rotr<uint32_t>(255U, getSOImmValRotate(V)) & V;
187 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V;
190 assert(V == (llvm::rotr<uint32_t>(255U, getSOImmValRotate(V)) & V));
205 return !(llvm::rotr<uint32_t>(~255U, getSOImmValRotate(First)) & First);
296 if ((llvm::rotr<uint32_
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DHashing.h222 return hash_16_bytes(llvm::rotr<uint64_t>(a - b, 43) +
223 llvm::rotr<uint64_t>(c ^ seed, 30) + d,
224 a + llvm::rotr<uint64_t>(b ^ k3, 20) - c + len + seed);
230 uint64_t b = llvm::rotr<uint64_t>(a + z, 52);
231 uint64_t c = llvm::rotr<uint64_t>(a, 37);
233 c += llvm::rotr<uint64_t>(a, 7);
236 uint64_t vs = b + llvm::rotr<uint64_t>(a, 31) + c;
239 b = llvm::rotr<uint64_t>(a + z, 52);
240 c = llvm::rotr<uint64_t>(a, 37);
242 c += llvm::rotr<uint64_
[all...]
H A Dbit.h389 // Forward-declare rotr so that rotl can use it.
391 [[nodiscard]] constexpr T rotr(T V, int R);
402 return llvm::rotr(V, -R);
407 template <typename T, typename> [[nodiscard]] constexpr T rotr(T V, int R) { function in class:llvm::endianness
H A DAPInt.h881 APInt rotr(unsigned rotateAmt) const;
920 APInt rotr(const APInt &rotateAmt) const;
/freebsd-current/crypto/openssl/crypto/rc5/asm/
H A Drc5-586.pl96 &rotr($B, &LB("ecx"));
102 &rotr($A, &LB("ecx"));
/freebsd-current/crypto/openssl/crypto/des/asm/
H A Dcrypt586.pl116 &rotr( $t, 4 );
181 { &rotr($tt, 3-$lr); }
187 { &rotr($r, 2-$lr); }
200 else { &rotr($r, $lr-2); }
206 else { &rotr($l, $lr-3); }
214 &rotr($tt , 4);
H A Ddes-586.pl197 &rotr($L,3); # r
199 &rotr($R,3); # l
227 &rotr( $t, 4 );
289 { &rotr($tt, 3-$lr); }
295 { &rotr($r, 2-$lr); }
308 else { &rotr($r, $lr-2); }
314 else { &rotr($l, $lr-3); }
322 &rotr($tt , 4);
/freebsd-current/crypto/openssl/crypto/sha/asm/
H A Dsha1-mips.pl114 rotr @X[$i],@X[$i],16
131 rotr $t1,$a,27
142 rotr $b,$b,2
171 rotr @X[$i],@X[$i],16
189 rotr $t1,$a,27
196 rotr @X[$j%16],@X[$j%16],31
197 rotr $b,$b,2
230 rotr $t1,$a,27
237 rotr @X[$j%16],@X[$j%16],31
238 rotr
[all...]
H A Dsha1-586.pl184 &rotr($b,2); # b=ROTATE(b,30)
211 &rotr($b,$n==16?2:7); # b=ROTATE(b,30)
228 &rotr($b,2); # b=ROTATE(b,30)
253 &rotr($b,7); # b=ROTATE(b,30)
261 &rotr($a,5) if ($n==79);
271 &rotr($b,2); # b=ROTATE(b,30)
296 &rotr($b,7); # b=ROTATE(b,30)
315 &rotr($b,2); # b=ROTATE(b,30)
H A Dsha512-mips.pl120 $ROTR="rotr";
154 rotr @X[0],@X[0],16
/freebsd-current/contrib/bearssl/src/symcipher/
H A Daes_big_enc.c76 rotr(uint32_t x, int n) function
82 #define SboxExt1(x) (rotr(Ssm0[x], 8))
83 #define SboxExt2(x) (rotr(Ssm0[x], 16))
84 #define SboxExt3(x) (rotr(Ssm0[x], 24))
H A Daes_big_dec.c176 rotr(uint32_t x, int n) function
182 #define iSboxExt1(x) (rotr(iSsm0[x], 8))
183 #define iSboxExt2(x) (rotr(iSsm0[x], 16))
184 #define iSboxExt3(x) (rotr(iSsm0[x], 24))
/freebsd-current/contrib/llvm-project/libcxx/include/__bit/
H A Drotate.h32 return (__t << (__cnt % __dig)) | (__t >> (__dig - (__cnt % __dig))); // rotr with negative __cnt is similar to rotl
51 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Tp rotr(_Tp __t, int __cnt) noexcept {
/freebsd-current/crypto/openssl/crypto/aes/asm/
H A Daes-mips.pl183 rotr $t0,$t0,8
184 rotr $t1,$t1,8
185 rotr $t2,$t2,8
186 rotr $t3,$t3,8
188 rotr $t4,$t4,16
189 rotr $t5,$t5,16
190 rotr $t6,$t6,16
191 rotr $t7,$t7,16
202 rotr $t8,$t8,24
204 rotr
[all...]
H A Daes-586.pl315 &rotr ($s2,8); # 8,11,10, 9
318 &rotr ($s3,16); # 13,12,15,14
321 &rotr ($s0,16); # 1, 0, 3, 2
497 &rotr ($tmp,16);
502 &rotr ($r2,16+8);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp294 uint64_t RotatedBits = llvm::rotr<uint64_t>(UImm, InitialTrailingOnes);
436 uint64_t RotatedImm = rotr<uint64_t>(Imm, Rotation);
457 Rotation += countr_zero(rotr<uint64_t>(RunStarts, Rotation) & ~1);
458 RotatedImm = rotr<uint64_t>(Imm, Rotation);
/freebsd-current/crypto/openssl/crypto/perlasm/
H A Dcbc.pl297 &rotr("edx", 16);
308 &rotr("ecx", 16);
H A Dx86asm.pl72 sub ::rotr { &ror(@_); }
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h177 uint32_t result = llvm::rotr<uint32_t>(value, amount);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCInstructionSelector.cpp447 uint64_t RotImm = APInt(64, Imm).rotr(Shift).getZExtValue();
572 uint64_t RotImm = APInt(64, Imm).rotr(Shift).getZExtValue();
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.cpp400 ThisVal = ThisVal & llvm::rotr<uint32_t>(0xff000000U, RotAmt);
605 unsigned ThisImmVal = Offset & llvm::rotr<uint32_t>(0xff000000U, RotAmt);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp487 auto FClassMask = MIB.buildConstant(sXLen, GFpClassImm.rotr(2).zext(XLen));
/freebsd-current/sys/net80211/
H A Dieee80211_crypto_tkip.c795 static __inline u32 rotr(u32 val, int bits) function
813 r ^= rotr(l, 2); \

Completed in 159 milliseconds

12