Searched refs:ror32 (Results 1 – 13 of 13) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | libbpf_utils.c | 169 #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 D | libbpf_internal.h | 741 static inline __u32 ror32(__u32 v, int bits) in ror32() function
|
| /linux/tools/perf/util/ |
| H A D | blake2s.c | 13 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 D | blake2s.c | 66 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 D | sha256.c | 59 #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 D | des.c | 25 #define ROR(x, r) ((x) = ror32((x), (r)))
|
| /linux/fs/adfs/ |
| H A D | dir_fplus.c | 89 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 D | csum.c | 194 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 D | checksum.h | 36 return (__force __sum16)((~sum - ror32(sum, 16)) >> 16); in csum_fold()
|
| /linux/include/net/ |
| H A D | checksum.h | 90 return (__force __wsum)ror32((__force u32)sum, 8); in csum_shift()
|
| /linux/drivers/platform/mellanox/ |
| H A D | mlxreg-io.c | 84 *regval = ror32(*regval & data->mask, (data->bit - 1)); in mlxreg_io_get_reg()
|
| /linux/arch/arm/kernel/ |
| H A D | module.c | 227 offset = ror32(tmp & 0xff, (tmp & 0xf00) >> 7); in apply_relocate()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 631 data32 = ror32(data32, MLXBF_I2C_SHIFT_8); in mlxbf_i2c_smbus_read_data()
|