Home
last modified time | relevance | path

Searched refs:ROTR (Results 1 – 25 of 52) sorted by relevance

123

/freebsd-12-stable/sys/cddl/boot/zfs/
Dsha256.c49 #define ROTR(x, n) (((x) >> (n)) | ((x) << ((sizeof (x) * NBBY)-(n)))) macro
52 #define BIGSIGMA0_256(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
53 #define BIGSIGMA1_256(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
54 #define SIGMA0_256(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ ((x) >> 3))
55 #define SIGMA1_256(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ ((x) >> 10))
58 #define BIGSIGMA0_512(x) (ROTR((x), 28) ^ ROTR((x), 34) ^ ROTR((x), 39))
59 #define BIGSIGMA1_512(x) (ROTR((x), 14) ^ ROTR((x), 18) ^ ROTR((x), 41))
60 #define SIGMA0_512(x) (ROTR((x), 1) ^ ROTR((x), 8) ^ ((x) >> 7))
61 #define SIGMA1_512(x) (ROTR((x), 19) ^ ROTR((x), 61) ^ ((x) >> 6))
/freebsd-12-stable/contrib/bearssl/src/hash/
Dsha2big.c30 #define ROTR(x, n) (((uint64_t)(x) << (64 - (n))) | ((uint64_t)(x) >> (n))) macro
32 #define BSG5_0(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
33 #define BSG5_1(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
34 #define SSG5_0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ (uint64_t)((x) >> 7))
35 #define SSG5_1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ (uint64_t)((x) >> 6))
Dsha2small.c30 #define ROTR(x, n) (((uint32_t)(x) << (32 - (n))) | ((uint32_t)(x) >> (n))) macro
32 #define BSG2_0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
33 #define BSG2_1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
34 #define SSG2_0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ (uint32_t)((x) >> 3))
35 #define SSG2_1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ (uint32_t)((x) >> 10))
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/
Dhash_sha256_cp.c77 #define ROTR(x, n) ROTR32(x, n) macro
78 #define S0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
79 #define S1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
80 #define s0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3))
81 #define s1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10))
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/
Dhash_sha512_cp.c93 #define ROTR(x, n) ROTR64(x, n) macro
94 #define S0(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
95 #define S1(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
96 #define s0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7))
97 #define s1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHR(x, 6))
/freebsd-12-stable/sys/crypto/sha2/
Dsha256c.c106 #define ROTR(x, n) ((x >> n) | (x << (32 - n))) macro
107 #define S0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
108 #define S1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
109 #define s0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3))
110 #define s1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10))
Dsha512c.c135 #define ROTR(x, n) ((x >> n) | (x << (64 - n))) macro
136 #define S0(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
137 #define S1(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
138 #define s0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7))
139 #define s1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHR(x, 6))
/freebsd-12-stable/crypto/openssl/crypto/sha/asm/
Dsha512-mips.pl99 $ROTR="drotr";
114 $ROTR="rotr";
189 $ROTR $tmp0,$e,@Sigma1[0]
191 $ROTR $tmp1,$e,@Sigma1[1]
193 $ROTR $h,$e,@Sigma1[2]
195 $ROTR $tmp1,$a,@Sigma0[0]
199 $ROTR $h,$a,@Sigma0[1]
203 $ROTR $tmp1,$a,@Sigma0[2]
262 $ROTR $tmp0,@X[1],@sigma0[1]
265 $ROTR $tmp0,@X[1],@sigma0[2]
[all …]
/freebsd-12-stable/crypto/openssl/crypto/sha/
Dsha512.c402 # define ROTR(a,n) ({ SHA_LONG64 ret; \ macro
432 # define ROTR(a,n) ({ SHA_LONG64 ret; \ macro
437 # define ROTR(a,n) ({ SHA_LONG64 ret; \ macro
452 # define ROTR(a,n) _rotr64((a),n) macro
485 # ifndef ROTR
486 # define ROTR(x,s) (((x)>>s) | (x)<<(64-s)) macro
488 # define Sigma0(x) (ROTR((x),28) ^ ROTR((x),34) ^ ROTR((x),39))
489 # define Sigma1(x) (ROTR((x),14) ^ ROTR((x),18) ^ ROTR((x),41))
490 # define sigma0(x) (ROTR((x),1) ^ ROTR((x),8) ^ ((x)>>7))
491 # define sigma1(x) (ROTR((x),19) ^ ROTR((x),61) ^ ((x)>>6))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DSHA256.cpp36 #define ROTR(x, n) (((x) >> n) | ((x) << (32 - (n)))) macro
41 #define SIGMA_0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
42 #define SIGMA_1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
44 #define SIGMA_2(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10))
45 #define SIGMA_3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.h29 case ISD::ROTR: return ARM_AM::ror; in getShiftOpcForNode()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp3208 { ISD::ROTR, MVT::v8i64, 1 }, in getIntrinsicInstrCost()
3209 { ISD::ROTR, MVT::v4i64, 1 }, in getIntrinsicInstrCost()
3210 { ISD::ROTR, MVT::v2i64, 1 }, in getIntrinsicInstrCost()
3211 { ISD::ROTR, MVT::v16i32, 1 }, in getIntrinsicInstrCost()
3212 { ISD::ROTR, MVT::v8i32, 1 }, in getIntrinsicInstrCost()
3213 { ISD::ROTR, MVT::v4i32, 1 } in getIntrinsicInstrCost()
3225 { ISD::ROTR, MVT::v4i64, 6 }, in getIntrinsicInstrCost()
3226 { ISD::ROTR, MVT::v8i32, 6 }, in getIntrinsicInstrCost()
3227 { ISD::ROTR, MVT::v16i16, 6 }, in getIntrinsicInstrCost()
3228 { ISD::ROTR, MVT::v32i8, 6 }, in getIntrinsicInstrCost()
[all …]
DX86InstrShiftRotate.td862 // Convert a ROTL shamt to a ROTR shamt on 32-bit integer.
867 // Convert a ROTL shamt to a ROTR shamt on 64-bit integer.
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DISDOpcodes.h661 ROTR, enumerator
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp144 setOperationAction(ISD::ROTR, MVT::i32, Expand); in Mips16TargetLowering()
145 setOperationAction(ISD::ROTR, MVT::i64, Expand); in Mips16TargetLowering()
DMipsScheduleP5600.td224 def : InstRW<[P5600WriteEitherALU], (instrs ADD, ADDi, ADDiu, ANDi, ORi, ROTR,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AVR/
DAVRISelLowering.cpp94 setOperationAction(ISD::ROTR, MVT::i8, Custom); in AVRTargetLowering()
95 setOperationAction(ISD::ROTR, MVT::i16, Expand); in AVRTargetLowering()
299 case ISD::ROTR: { in LowerShifts()
323 case ISD::ROTR: in LowerShifts()
804 case ISD::ROTR: in LowerOperation()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInteger.td70 defm ROTR : BinaryInt<rotr, "rotr", 0x78, 0x8a>;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp388 case ISD::ROTR: in LegalizeOp()
813 case ISD::ROTR: in Expand()
DSelectionDAGDumper.cpp251 case ISD::ROTR: return "rotr"; in getOperationName()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp82 setOperationAction(ISD::ROTR, MVT::i8, Expand); in MSP430TargetLowering()
84 setOperationAction(ISD::ROTR, MVT::i16, Expand); in MSP430TargetLowering()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARC/
DARCISelLowering.cpp103 setOperationAction(ISD::ROTR, MVT::i32, Legal); in ARCTargetLowering()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
DBPFISelLowering.cpp111 setOperationAction(ISD::ROTR, VT, Expand); in BPFTargetLowering()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1588 ISD::SDIVREM, ISD::UDIVREM, ISD::ROTL, ISD::ROTR, in HexagonTargetLowering()
1637 ISD::AND, ISD::OR, ISD::XOR, ISD::ROTL, ISD::ROTR, in HexagonTargetLowering()
1793 setOperationAction(ISD::ROTR, MVT::i32, Legal); in HexagonTargetLowering()
1794 setOperationAction(ISD::ROTR, MVT::i64, Legal); in HexagonTargetLowering()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp409 setOperationAction(ISD::ROTR, MVT::i64, Legal); in NVPTXTargetLowering()
411 setOperationAction(ISD::ROTR, MVT::i32, Legal); in NVPTXTargetLowering()
414 setOperationAction(ISD::ROTR, MVT::i16, Expand); in NVPTXTargetLowering()
416 setOperationAction(ISD::ROTR, MVT::i8, Expand); in NVPTXTargetLowering()

123