Home
last modified time | relevance | path

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

12345

/external/epid-sdk/epid/member/tiny/math/src/
Dsha512.c96 static uint64_t ROTR(const uint64_t x, unsigned char s) { in ROTR() function
100 #define Sigma0(x) (ROTR((x), 28) ^ ROTR((x), 34) ^ ROTR((x), 39))
102 #define Sigma1(x) (ROTR((x), 14) ^ ROTR((x), 18) ^ ROTR((x), 41))
103 #define sigma0(x) (ROTR((x), 1) ^ ROTR((x), 8) ^ ((x) >> 7))
104 #define sigma1(x) (ROTR((x), 19) ^ ROTR((x), 61) ^ ((x) >> 6))
Dsha256.c144 static unsigned int ROTR(unsigned int a, unsigned int n) { in ROTR() function
148 #define Sigma0(a) (ROTR((a), 2) ^ ROTR((a), 13) ^ ROTR((a), 22))
149 #define Sigma1(a) (ROTR((a), 6) ^ ROTR((a), 11) ^ ROTR((a), 25))
150 #define sigma0(a) (ROTR((a), 7) ^ ROTR((a), 18) ^ ((a) >> 3))
151 #define sigma1(a) (ROTR((a), 17) ^ ROTR((a), 19) ^ ((a) >> 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/u-boot/lib/libavb/
Davb_sha512.c14 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
19 #define SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39))
20 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41))
21 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7))
22 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6))
Davb_sha256.c14 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
19 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
20 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
21 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3))
22 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10))
/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/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c316 #define ROTR(a, n) \ macro
323 #define ROTR(a, n) \ macro
330 #define ROTR(a, n) \ macro
339 #define ROTR(a, n) _rotr64((a), n) macro
342 #ifndef ROTR
343 #define ROTR(x, s) (((x) >> s) | (x) << (64 - s)) macro
352 #define Sigma0(x) (ROTR((x), 28) ^ ROTR((x), 34) ^ ROTR((x), 39))
353 #define Sigma1(x) (ROTR((x), 14) ^ ROTR((x), 18) ^ ROTR((x), 41))
354 #define sigma0(x) (ROTR((x), 1) ^ ROTR((x), 8) ^ ((x) >> 7))
355 #define sigma1(x) (ROTR((x), 19) ^ ROTR((x), 61) ^ ((x) >> 6))
[all …]
/external/u-boot/lib/
Dsha256.c82 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) in sha256_process() macro
84 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) in sha256_process()
85 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) in sha256_process()
87 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) in sha256_process()
88 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25)) in sha256_process()
/external/pdfium/core/fdrm/crypto/
Dfx_crypt_sha.cpp65 #define ROTR(x, n) (SHR(x, n) | (x << (32 - n))) macro
66 #define S0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3))
67 #define S1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10))
68 #define S2(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
69 #define S3(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.h30 case ISD::ROTR: return ARM_AM::ror; in getShiftOpcForNode()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/RISCV/
Drotl-rotr.ll5 ; These IR sequences will generate ISD::ROTL and ISD::ROTR nodes, that the
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DISDOpcodes.h382 SHL, SRA, SRL, ROTL, ROTR, enumerator
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInteger.td40 defm ROTR : BinaryInt<rotr, "rotr">;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86IntrinsicsInfo.h988 X86_INTRINSIC_DATA(avx512_prorv_d_128, INTR_TYPE_2OP, ISD::ROTR, 0),
989 X86_INTRINSIC_DATA(avx512_prorv_d_256, INTR_TYPE_2OP, ISD::ROTR, 0),
990 X86_INTRINSIC_DATA(avx512_prorv_d_512, INTR_TYPE_2OP, ISD::ROTR, 0),
991 X86_INTRINSIC_DATA(avx512_prorv_q_128, INTR_TYPE_2OP, ISD::ROTR, 0),
992 X86_INTRINSIC_DATA(avx512_prorv_q_256, INTR_TYPE_2OP, ISD::ROTR, 0),
993 X86_INTRINSIC_DATA(avx512_prorv_q_512, INTR_TYPE_2OP, ISD::ROTR, 0),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInteger.td40 defm ROTR : BinaryInt<rotr, "rotr", 0x78, 0x8a>;
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp145 setOperationAction(ISD::ROTR, MVT::i32, Expand); in Mips16TargetLowering()
146 setOperationAction(ISD::ROTR, MVT::i64, Expand); in Mips16TargetLowering()

12345