Home
last modified time | relevance | path

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

/linux-6.1.9/lib/crypto/
Dsha256.c50 #define e0(x) (ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22))
51 #define e1(x) (ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25))
52 #define s0(x) (ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3))
53 #define s1(x) (ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10))
Dblake2s-generic.c70 d = ror32(d ^ a, 16); \ in blake2s_compress_generic()
72 b = ror32(b ^ c, 12); \ in blake2s_compress_generic()
74 d = ror32(d ^ a, 8); \ in blake2s_compress_generic()
76 b = ror32(b ^ c, 7); \ in blake2s_compress_generic()
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()
Dsha1.c60 B = ror32(B, 2); \
Ddes.c26 #define ROR(x, r) ((x) = ror32((x), (r)))
/linux-6.1.9/fs/adfs/
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-6.1.9/drivers/leds/
Dleds-mlxreg.c86 nib = (ror32(data->mask, data->bit) == 0xf0) ? rol32(vset, data->bit) : in mlxreg_led_store_hw()
126 regval = (ror32(data->mask, data->bit) == 0xf0) ? ror32(regval, in mlxreg_led_get_hw()
127 data->bit) : ror32(regval, data->bit + 4); in mlxreg_led_get_hw()
/linux-6.1.9/crypto/
Dtwofish_generic.c57 (c) = ror32((c), 1); \
64 (d) = ror32((d), 1); \
Dmichael_mic.c42 r ^= ror32(l, 2); \
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); \
Dcamellia_generic.c350 yr = ror32(yr, 8); \
839 yr ^= ror32(il, 8) ^ ir; \
/linux-6.1.9/arch/x86/lib/
Dcsum-partial_64.c44 temp64 = ror32((__force u32)sum, 8); in csum_partial()
/linux-6.1.9/net/mac80211/
Dmichael.c23 mctx->r ^= ror32(mctx->l, 2); in michael_block()
/linux-6.1.9/arch/arm64/crypto/
Daes-ce-glue.c102 rko[0] = ror32(__aes_ce_sub(rki[kwords - 1]), 8) ^ rcon[i] ^ rki[0]; in ce_aes_expandkey()
/linux-6.1.9/include/net/
Dchecksum.h88 return (__force __wsum)ror32((__force u32)sum, 8); in csum_shift()
/linux-6.1.9/drivers/platform/mellanox/
Dmlxreg-io.c85 *regval = ror32(*regval & data->mask, (data->bit - 1)); in mlxreg_io_get_reg()
/linux-6.1.9/include/linux/
Dbitops.h134 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() function
/linux-6.1.9/arch/x86/crypto/
Ddes3_ede_glue.c270 tmp = ror32(ctx->enc.expkey[i + 1], 4); in des3_ede_x86_setkey()
/linux-6.1.9/drivers/mmc/host/
Ddw_mmc-k3.c345 v = ror32(sample_flag, i); in dw_mci_get_best_clksmpl()
/linux-6.1.9/arch/arm/kernel/
Dmodule.c262 offset = ror32(tmp & 0xff, (tmp & 0xf00) >> 7); in apply_relocate()
/linux-6.1.9/arch/arm/crypto/
Daes-ce-glue.c97 rko[0] = ror32(ce_aes_sub(rki[kwords - 1]), 8); in ce_aes_expandkey()
/linux-6.1.9/drivers/irqchip/
Dirq-gic.c996 val |= ror32(active_mask, ror_val); in gic_migrate_target()
/linux-6.1.9/drivers/i2c/busses/
Di2c-mlxbf.c692 data32 = ror32(data32, MLXBF_I2C_SHIFT_8); in mlxbf_i2c_smbus_read_data()
/linux-6.1.9/arch/arm/net/
Dbpf_jit_32.c304 if ((x & ~ror32(0xff, 2 * rot)) == 0) in imm8m()