Home
last modified time | relevance | path

Searched refs:ror32 (Results 1 – 19 of 19) 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.h729 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 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((x), 19) ^ ((x) >> 10))
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 Daes.c223 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 Dsha1.c64 B = ror32(B, 2); \
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/linux/
H A Drandomize_kstack.h89 offset = ror32(offset, 5) ^ (rand); \
H A Dbitops.h134 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() function
/linux/include/asm-generic/
H A Dchecksum.h36 return (__force __sum16)((~sum - ror32(sum, 16)) >> 16); in csum_fold()
/linux/net/mac80211/
H A Dmichael.c23 mctx->r ^= ror32(mctx->l, 2); in michael_block()
/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/irqchip/
H A Dirq-gic.c992 val |= ror32(active_mask, ror_val); in gic_migrate_target()
/linux/arch/arm/net/
H A Dbpf_jit_32.c344 if ((x & ~ror32(0xff, 2 * rot)) == 0) in imm8m()