| /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 | 729 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 | 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((x), 19) ^ ((x) >> 10))
|
| 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 | aes.c | 223 u32 y = mul_by_x(x) ^ ror32(x, 16); in mix_columns() 225 return y ^ ror32(x ^ y, 8); in mix_columns() 247 return mix_columns(x ^ y ^ ror32(y, 16)); in inv_mix_columns() 271 rko[0] = ror32(subw(rki[kwords - 1]), 8) ^ rc ^ rki[0]; in aes_expandkey_generic()
|
| H A D | sha1.c | 64 B = ror32(B, 2); \
|
| 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/linux/ |
| H A D | randomize_kstack.h | 89 offset = ror32(offset, 5) ^ (rand); \
|
| H A D | bitops.h | 134 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() function
|
| /linux/include/asm-generic/ |
| H A D | checksum.h | 36 return (__force __sum16)((~sum - ror32(sum, 16)) >> 16); in csum_fold()
|
| /linux/net/mac80211/ |
| H A D | michael.c | 23 mctx->r ^= ror32(mctx->l, 2); in michael_block()
|
| /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/irqchip/ |
| H A D | irq-gic.c | 992 val |= ror32(active_mask, ror_val); in gic_migrate_target()
|
| /linux/arch/arm/net/ |
| H A D | bpf_jit_32.c | 344 if ((x & ~ror32(0xff, 2 * rot)) == 0) in imm8m()
|