Home
last modified time | relevance | path

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

123

/external/dhcpcd-6.8.2/crypt/
Dsha256.c78 #define ROTR(x, n) ((x >> n) | (x << (32 - n))) macro
79 #define S0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
80 #define S1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
81 #define s0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3))
82 #define s1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10))
/external/openssh/
Dblocks.c41 #define ROTR(x,c) (((x) >> (c)) | ((x) << (64 - (c)))) macro
45 #define Sigma0(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39))
46 #define Sigma1(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41))
47 #define sigma0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x,7))
48 #define sigma1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x,6))
/external/vboot_reference/firmware/2lib/
D2sha256.c43 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
48 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
49 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
50 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3))
51 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10))
D2sha512.c43 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
48 #define SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
49 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
50 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7))
51 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6))
/external/avb/libavb/
Davb_sha256.c41 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
46 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
47 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
48 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3))
49 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10))
Davb_sha512.c41 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
46 #define SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
47 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
48 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7))
49 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6))
/external/vboot_reference/firmware/lib/cryptolib/
Dsha256.c44 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
49 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
50 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
51 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3))
52 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10))
Dsha512.c44 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
49 #define SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
50 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
51 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7))
52 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6))
/external/mmc-utils/3rdparty/hmac_sha/
Dsha2.c47 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
52 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
53 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
54 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3))
55 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10))
57 #define SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
58 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
59 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7))
60 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6))
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c350 #define ROTR(a, n) \ macro
371 #define ROTR(a, n) \ macro
378 #define ROTR(a, n) \ macro
397 #define ROTR(a, n) _rotr64((a), n) macro
421 #ifndef ROTR
422 #define ROTR(x, s) (((x) >> s) | (x) << (64 - s)) macro
425 #define Sigma0(x) (ROTR((x), 28) ^ ROTR((x), 34) ^ ROTR((x), 39))
426 #define Sigma1(x) (ROTR((x), 14) ^ ROTR((x), 18) ^ ROTR((x), 41))
427 #define sigma0(x) (ROTR((x), 1) ^ ROTR((x), 8) ^ ((x) >> 7))
428 #define sigma1(x) (ROTR((x), 19) ^ ROTR((x), 61) ^ ((x) >> 6))
[all …]
/external/pdfium/core/fdrm/crypto/
Dfx_crypt_sha.cpp199 #define ROTR(x, n) (SHR(x, n) | (x << (32 - n))) in sha256_process() macro
200 #define S0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) in sha256_process()
201 #define S1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10)) in sha256_process()
202 #define S2(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) in sha256_process()
203 #define S3(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) in sha256_process()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMSelectionDAGInfo.h29 case ISD::ROTR: return ARM_AM::ror; in getShiftOpcForNode()
/external/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.h30 case ISD::ROTR: return ARM_AM::ror; in getShiftOpcForNode()
/external/valgrind/none/tests/mips64/
Dshift_instructions.c9 ROTR, ROTRV, SLL, SLLV, enumerator
143 case ROTR: in main()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DISDOpcodes.h317 SHL, SRA, SRL, ROTL, ROTR, enumerator
/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h339 SHL, SRA, SRL, ROTL, ROTR, enumerator
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInteger.td40 defm ROTR : BinaryInt<rotr, "rotr">;
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp145 setOperationAction(ISD::ROTR, MVT::i32, Expand); in Mips16TargetLowering()
146 setOperationAction(ISD::ROTR, MVT::i64, Expand); in Mips16TargetLowering()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp158 case ISD::ROTR: in LegalizeOp()
/external/llvm/lib/Target/X86/
DX86IntrinsicsInfo.h1230 X86_INTRINSIC_DATA(avx512_mask_prorv_d_128, INTR_TYPE_2OP_MASK, ISD::ROTR, 0),
1231 X86_INTRINSIC_DATA(avx512_mask_prorv_d_256, INTR_TYPE_2OP_MASK, ISD::ROTR, 0),
1232 X86_INTRINSIC_DATA(avx512_mask_prorv_d_512, INTR_TYPE_2OP_MASK, ISD::ROTR, 0),
1233 X86_INTRINSIC_DATA(avx512_mask_prorv_q_128, INTR_TYPE_2OP_MASK, ISD::ROTR, 0),
1234 X86_INTRINSIC_DATA(avx512_mask_prorv_q_256, INTR_TYPE_2OP_MASK, ISD::ROTR, 0),
1235 X86_INTRINSIC_DATA(avx512_mask_prorv_q_512, INTR_TYPE_2OP_MASK, ISD::ROTR, 0),
/external/llvm/test/CodeGen/AArch64/
Dlogical_shifted_reg.ll175 ; operations. DAGCombiner should ensure we the ROTR during
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelLowering.cpp105 setOperationAction(ISD::ROTR, MVT::i8, Expand); in MSP430TargetLowering()
107 setOperationAction(ISD::ROTR, MVT::i16, Expand); in MSP430TargetLowering()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp195 case ISD::ROTR: return "rotr"; in getOperationName()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp176 setOperationAction(ISD::ROTR, MVT::i64, Legal); in NVPTXTargetLowering()
179 setOperationAction(ISD::ROTR, MVT::i64, Expand); in NVPTXTargetLowering()
183 setOperationAction(ISD::ROTR, MVT::i32, Legal); in NVPTXTargetLowering()
186 setOperationAction(ISD::ROTR, MVT::i32, Expand); in NVPTXTargetLowering()
190 setOperationAction(ISD::ROTR, MVT::i16, Expand); in NVPTXTargetLowering()
192 setOperationAction(ISD::ROTR, MVT::i8, Expand); in NVPTXTargetLowering()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.cpp235 setOperationAction(ISD::ROTR, MVT::i32, Expand /*Legal*/); in SPUTargetLowering()
236 setOperationAction(ISD::ROTR, MVT::i16, Expand /*Legal*/); in SPUTargetLowering()
237 setOperationAction(ISD::ROTR, MVT::i8, Expand /*Custom*/); in SPUTargetLowering()
2224 case ISD::ROTR: in LowerI8Math()
2809 case ISD::ROTR: in LowerOperation()

123