Home
last modified time | relevance | path

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

/linux/lib/crypto/
H A Dsha256.c49 #define e0(x) (ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22))
50 #define e1(x) (ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25))
51 #define s0(x) (ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3))
52 #define s1(x) (ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10))
H A Dblake2s-generic.c69 d = ror32(d ^ a, 16); \ in blake2s_compress_generic()
71 b = ror32(b ^ c, 12); \ in blake2s_compress_generic()
73 d = ror32(d ^ a, 8); \ in blake2s_compress_generic()
75 b = ror32(b ^ c, 7); \ in blake2s_compress_generic()
H A Daes.c120 u32 y = mul_by_x(x) ^ ror32(x, 16); in mix_columns()
122 return y ^ ror32(x ^ y, 8); in mix_columns()
144 return mix_columns(x ^ y ^ ror32(y, 16)); in inv_mix_columns()
205 rko[0] = ror32(subw(rki[kwords - 1]), 8) ^ rc ^ rki[0]; in aes_expandkey()
H A Dsha1.c60 B = ror32(B, 2); \
H A Ddes.c26 #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/crypto/
H A Dtwofish_generic.c57 (c) = ror32((c), 1); \
64 (d) = ror32((d), 1); \
H A Dmichael_mic.c42 r ^= ror32(l, 2); \
H A Dserpent_generic.c55 x3 ^= k[4*i+3]; x0 = ror32(x0, 5); x2 = ror32(x2, 22);\
57 x4 <<= 7; x0 ^= x1; x1 = ror32(x1, 1); \
58 x2 ^= x4; x3 = ror32(x3, 7); x4 = x0 << 3; \
59 x1 ^= x0; x3 ^= x4; x0 = ror32(x0, 13);\
60 x1 ^= x2; x3 ^= x2; x2 = ror32(x2, 3); \
H A Dcamellia_generic.c350 yr = ror32(yr, 8); \
839 yr ^= ror32(il, 8) ^ ir; \
/linux/arch/riscv/lib/
H A Dcsum.c223 csum = (u32)csum + ror32((u32)csum, 16); in do_csum_with_alignment()
297 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.h131 * ror32 - rotate a 32-bit value right
135 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/arch/arm64/crypto/
H A Daes-ce-glue.c102 rko[0] = ror32(__aes_ce_sub(rki[kwords - 1]), 8) ^ rcon[i] ^ rki[0]; in ce_aes_expandkey()
/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/arch/arm/crypto/
H A Daes-ce-glue.c97 rko[0] = ror32(ce_aes_sub(rki[kwords - 1]), 8); in ce_aes_expandkey()
/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()