/openbmc/qemu/target/arm/tcg/ |
H A D | crypto_helper.c | 199 CR_ST_WORD(d, 2) = ror32(CR_ST_WORD(d, 1), 2); in crypto_sha1_3reg() 245 CR_ST_WORD(m, 0) = ror32(CR_ST_WORD(m, 0), 2); in HELPER() 279 return ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22); in S0() 284 return ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25); in S1() 289 return ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3); in s0() 294 return ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10); in s1() 503 t = CR_ST_WORD(d, 0) ^ CR_ST_WORD(n, 0) ^ ror32(CR_ST_WORD(m, 1), 17); in HELPER() 504 CR_ST_WORD(d, 0) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER() 506 t = CR_ST_WORD(d, 1) ^ CR_ST_WORD(n, 1) ^ ror32(CR_ST_WORD(m, 2), 17); in HELPER() 507 CR_ST_WORD(d, 1) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER() [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | sha256.c | 49 #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 D | blake2s-generic.c | 69 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 D | aes.c | 120 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 D | sha1.c | 60 B = ror32(B, 2); \
|
/openbmc/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()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-mlxreg.c | 85 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()
|
/openbmc/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 67 RVVCALL(OPIVV2, vror_vv_w, OP_UUU_W, H4, H4, H4, ror32) in RVVCALL() 76 RVVCALL(OPIVX2, vror_vx_w, OP_UUU_W, H4, H4, ror32) in RVVCALL() 330 tmp = ror32(rk[3], 8); 384 tmp = ror32(rk[7], 8); in HELPER() 412 return ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3); in sig0_sha256() 417 return ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10); in sig1_sha256() 493 return ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22); in sum0_32() 503 return ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25); in sum1_32()
|
H A D | crypto_helper.c | 154 temp = ror32(temp, 8); /* Rotate right by 8 */ in HELPER()
|
/openbmc/linux/crypto/ |
H A D | twofish_generic.c | 57 (c) = ror32((c), 1); \ 64 (d) = ror32((d), 1); \
|
H A D | michael_mic.c | 42 r ^= ror32(l, 2); \
|
H A D | serpent_generic.c | 55 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 D | camellia_generic.c | 350 yr = ror32(yr, 8); \ 839 yr ^= ror32(il, 8) ^ ir; \
|
/openbmc/linux/include/linux/ |
H A D | randomize_kstack.h | 83 offset = ror32(offset, 5) ^ (rand); \
|
H A D | bitops.h | 135 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() function
|
/openbmc/linux/net/mac80211/ |
H A D | michael.c | 23 mctx->r ^= ror32(mctx->l, 2); in michael_block()
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | aes-ce-glue.c | 102 rko[0] = ror32(__aes_ce_sub(rki[kwords - 1]), 8) ^ rcon[i] ^ rki[0]; in ce_aes_expandkey()
|
/openbmc/linux/include/net/ |
H A D | checksum.h | 90 return (__force __wsum)ror32((__force u32)sum, 8); in csum_shift()
|
/openbmc/qemu/target/ppc/ |
H A D | int_helper.c | 2964 r->VsrW(i) = ror32(a->VsrW(i), 7) ^ in helper_vshasigmaw() 2965 ror32(a->VsrW(i), 18) ^ in helper_vshasigmaw() 2968 r->VsrW(i) = ror32(a->VsrW(i), 17) ^ in helper_vshasigmaw() 2969 ror32(a->VsrW(i), 19) ^ in helper_vshasigmaw() 2974 r->VsrW(i) = ror32(a->VsrW(i), 2) ^ in helper_vshasigmaw() 2975 ror32(a->VsrW(i), 13) ^ in helper_vshasigmaw() 2976 ror32(a->VsrW(i), 22); in helper_vshasigmaw() 2978 r->VsrW(i) = ror32(a->VsrW(i), 6) ^ in helper_vshasigmaw() 2979 ror32(a->VsrW(i), 11) ^ in helper_vshasigmaw() 2980 ror32(a->VsrW(i), 25); in helper_vshasigmaw()
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxreg-io.c | 84 *regval = ror32(*regval & data->mask, (data->bit - 1)); in mlxreg_io_get_reg()
|
/openbmc/qemu/target/i386/ |
H A D | ops_sse.h | 2605 #define SHA256_RNDS0(w) (ror32((w), 2) ^ ror32((w), 13) ^ ror32((w), 22)) 2606 #define SHA256_RNDS1(w) (ror32((w), 6) ^ ror32((w), 11) ^ ror32((w), 25)) 2607 #define SHA256_MSGS0(w) (ror32((w), 7) ^ ror32((w), 18) ^ ((w) >> 3)) 2608 #define SHA256_MSGS1(w) (ror32((w), 17) ^ ror32((w), 19) ^ ((w) >> 10))
|
/openbmc/linux/arch/x86/crypto/ |
H A D | des3_ede_glue.c | 270 tmp = ror32(ctx->enc.expkey[i + 1], 4); in des3_ede_x86_setkey()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | dw_mmc-k3.c | 345 v = ror32(sample_flag, i); in dw_mci_get_best_clksmpl()
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 448 static inline uint32_t ror32(uint32_t word, unsigned int shift) in ror32() function
|
/openbmc/linux/arch/arm/kernel/ |
H A D | module.c | 261 offset = ror32(tmp & 0xff, (tmp & 0xf00) >> 7); in apply_relocate()
|