Home
last modified time | relevance | path

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

/Linux-v5.10/lib/crypto/
Dblake2s-generic.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()
Dsha256.c31 #define e0(x) (ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22))
32 #define e1(x) (ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25))
33 #define s0(x) (ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3))
34 #define s1(x) (ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10))
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()
Ddes.c26 #define ROR(x, r) ((x) = ror32((x), (r)))
/Linux-v5.10/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-v5.10/drivers/leds/
Dleds-mlxreg.c85 nib = (ror32(data->mask, data->bit) == 0xf0) ? rol32(vset, data->bit) : in mlxreg_led_store_hw()
125 regval = (ror32(data->mask, data->bit) == 0xf0) ? ror32(regval, in mlxreg_led_get_hw()
126 data->bit) : ror32(regval, data->bit + 4); in mlxreg_led_get_hw()
/Linux-v5.10/crypto/
Dtwofish_generic.c57 (c) = ror32((c), 1); \
64 (d) = ror32((d), 1); \
Dmichael_mic.c42 r ^= ror32(l, 2); \
Dserpent_generic.c60 x3 ^= k[4*i+3]; x0 = ror32(x0, 5); x2 = ror32(x2, 22);\
62 x4 <<= 7; x0 ^= x1; x1 = ror32(x1, 1); \
63 x2 ^= x4; x3 = ror32(x3, 7); x4 = x0 << 3; \
64 x1 ^= x0; x3 ^= x4; x0 = ror32(x0, 13);\
65 x1 ^= x2; x3 ^= x2; x2 = ror32(x2, 3); \
Dcamellia_generic.c358 yr = ror32(yr, 8); \
847 yr ^= ror32(il, 8) ^ ir; \
/Linux-v5.10/net/mac80211/
Dmichael.c23 mctx->r ^= ror32(mctx->l, 2); in michael_block()
/Linux-v5.10/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-v5.10/include/net/
Dchecksum.h90 sum = ror32(sum, 8); in csum_block_add()
/Linux-v5.10/include/linux/
Dbitops.h113 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() function
/Linux-v5.10/drivers/platform/mellanox/
Dmlxreg-io.c83 *regval = ror32(*regval & data->mask, (data->bit - 1)); in mlxreg_io_get_reg()
/Linux-v5.10/drivers/mmc/host/
Ddw_mmc-k3.c345 v = ror32(sample_flag, i); in dw_mci_get_best_clksmpl()
/Linux-v5.10/lib/
Dsha1.c58 B = ror32(B, 2); } while (0)
/Linux-v5.10/arch/x86/crypto/
Ddes3_ede_glue.c368 tmp = ror32(ctx->enc.expkey[i + 1], 4); in des3_ede_x86_setkey()
/Linux-v5.10/arch/arm/crypto/
Daes-ce-glue.c97 rko[0] = ror32(ce_aes_sub(rki[kwords - 1]), 8); in ce_aes_expandkey()
/Linux-v5.10/drivers/irqchip/
Dirq-gic.c941 val |= ror32(active_mask, ror_val); in gic_migrate_target()
/Linux-v5.10/drivers/i2c/busses/
Di2c-mlxbf.c654 data32 = ror32(data32, MLXBF_I2C_SHIFT_8); in mlxbf_i2c_smbus_read_data()
/Linux-v5.10/arch/arm/net/
Dbpf_jit_32.c292 if ((x & ~ror32(0xff, 2 * rot)) == 0) in imm8m()