Home
last modified time | relevance | path

Searched refs:ror32 (Results 1 – 13 of 13) sorted by relevance

/linux/tools/lib/bpf/
H A Dlibbpf_utils.c169 #define Sigma_0(x) (ror32((x), 2) ^ ror32((x), 13) ^ ror32((x), 22))
170 #define Sigma_1(x) (ror32((x), 6) ^ ror32((x), 11) ^ ror32((x), 25))
171 #define sigma_0(x) (ror32((x), 7) ^ ror32((x), 18) ^ ((x) >> 3))
172 #define sigma_1(x) (ror32((x), 17) ^ ror32((x), 19) ^ ((x) >> 10))
H A Dlibbpf_internal.h741 static inline __u32 ror32(__u32 v, int bits) in ror32() function
/linux/tools/perf/util/
H A Dblake2s.c13 static inline u32 ror32(u32 v, int n) in ror32() function
72 d = ror32(d ^ a, 16); \ in blake2s_compress()
74 b = ror32(b ^ c, 12); \ in blake2s_compress()
76 d = ror32(d ^ a, 8); \ in blake2s_compress()
78 b = ror32(b ^ c, 7); \ in blake2s_compress()
/linux/lib/crypto/
H A Dblake2s.c66 d = ror32(d ^ a, 16); \ in blake2s_compress_generic()
68 b = ror32(b ^ c, 12); \ in blake2s_compress_generic()
70 d = ror32(d ^ a, 8); \ in blake2s_compress_generic()
72 b = ror32(b ^ c, 7); \ in blake2s_compress_generic()
H A Dsha256.c59 #define e0(x) (ror32((x), 2) ^ ror32((x), 13) ^ ror32((x), 22))
60 #define e1(x) (ror32((x), 6) ^ ror32((x), 11) ^ ror32((x), 25))
61 #define s0(x) (ror32((x), 7) ^ ror32((x), 18) ^ ((x) >> 3))
62 #define s1(x) (ror32((x), 17) ^ ror32((
[all...]
H A Ddes.c25 #define ROR(x, r) ((x) = ror32((x), (r)))
/linux/fs/adfs/
H A Ddir_fplus.c89 dircheck = ror32(dircheck, 13) ^ le32_to_cpup(bp++); in adfs_fplus_checkbyte()
95 dircheck = ror32(dircheck, 13) ^ le32_to_cpu(t->bigdirendname); in adfs_fplus_checkbyte()
96 dircheck = ror32(dircheck, 13) ^ t->bigdirendmasseq; in adfs_fplus_checkbyte()
97 dircheck = ror32(dircheck, 13) ^ t->reserved[0]; in adfs_fplus_checkbyte()
98 dircheck = ror32(dircheck, 13) ^ t->reserved[1]; in adfs_fplus_checkbyte()
/linux/arch/riscv/lib/
H A Dcsum.c194 csum = (u32)csum + ror32((u32)csum, 16); in do_csum_with_alignment()
253 csum = (u32)csum + ror32((u32)csum, 16); in do_csum_no_alignment()
/linux/include/asm-generic/
H A Dchecksum.h36 return (__force __sum16)((~sum - ror32(sum, 16)) >> 16); in csum_fold()
/linux/include/net/
H A Dchecksum.h90 return (__force __wsum)ror32((__force u32)sum, 8); in csum_shift()
/linux/drivers/platform/mellanox/
H A Dmlxreg-io.c84 *regval = ror32(*regval & data->mask, (data->bit - 1)); in mlxreg_io_get_reg()
/linux/arch/arm/kernel/
H A Dmodule.c227 offset = ror32(tmp & 0xff, (tmp & 0xf00) >> 7); in apply_relocate()
/linux/drivers/i2c/busses/
H A Di2c-mlxbf.c631 data32 = ror32(data32, MLXBF_I2C_SHIFT_8); in mlxbf_i2c_smbus_read_data()