Searched refs:rol32 (Results 1 - 25 of 41) sorted by relevance

12

/linux-master/lib/crypto/
H A Dchacha.c24 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 16);
25 x[1] += x[5]; x[13] = rol32(x[13] ^ x[1], 16);
26 x[2] += x[6]; x[14] = rol32(x[14] ^ x[2], 16);
27 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 16);
29 x[8] += x[12]; x[4] = rol32(x[4] ^ x[8], 12);
30 x[9] += x[13]; x[5] = rol32(x[5] ^ x[9], 12);
31 x[10] += x[14]; x[6] = rol32(x[6] ^ x[10], 12);
32 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 12);
34 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 8);
35 x[1] += x[5]; x[13] = rol32(
[all...]
H A Dsha1.c55 #define SHA_MIX(t) rol32(W(t+13) ^ W(t+8) ^ W(t+2) ^ W(t), 1)
59 E += TEMP + rol32(A,5) + (fn) + (constant); \
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_jhash.h7 static __always_inline u32 rol32(u32 word, unsigned int shift) function
14 a -= c; a ^= rol32(c, 4); c += b; \
15 b -= a; b ^= rol32(a, 6); a += c; \
16 c -= b; c ^= rol32(b, 8); b += a; \
17 a -= c; a ^= rol32(c, 16); c += b; \
18 b -= a; b ^= rol32(a, 19); a += c; \
19 c -= b; c ^= rol32(b, 4); b += a; \
24 c ^= b; c -= rol32(b, 14); \
25 a ^= c; a -= rol32(c, 11); \
26 b ^= a; b -= rol32(
[all...]
H A Dtest_l4lb.c24 static inline __u32 rol32(__u32 word, unsigned int shift) function
34 a -= c; a ^= rol32(c, 4); c += b; \
35 b -= a; b ^= rol32(a, 6); a += c; \
36 c -= b; c ^= rol32(b, 8); b += a; \
37 a -= c; a ^= rol32(c, 16); c += b; \
38 b -= a; b ^= rol32(a, 19); a += c; \
39 c -= b; c ^= rol32(b, 4); b += a; \
44 c ^= b; c -= rol32(b, 14); \
45 a ^= c; a -= rol32(c, 11); \
46 b ^= a; b -= rol32(
[all...]
H A Dtest_l4lb_noinline.c20 static __always_inline __u32 rol32(__u32 word, unsigned int shift) function
30 a -= c; a ^= rol32(c, 4); c += b; \
31 b -= a; b ^= rol32(a, 6); a += c; \
32 c -= b; c ^= rol32(b, 8); b += a; \
33 a -= c; a ^= rol32(c, 16); c += b; \
34 b -= a; b ^= rol32(a, 19); a += c; \
35 c -= b; c ^= rol32(b, 4); b += a; \
40 c ^= b; c -= rol32(b, 14); \
41 a ^= c; a -= rol32(c, 11); \
42 b ^= a; b -= rol32(
[all...]
H A Dtest_l4lb_noinline_dynptr.c22 static __always_inline __u32 rol32(__u32 word, unsigned int shift) function
32 a -= c; a ^= rol32(c, 4); c += b; \
33 b -= a; b ^= rol32(a, 6); a += c; \
34 c -= b; c ^= rol32(b, 8); b += a; \
35 a -= c; a ^= rol32(c, 16); c += b; \
36 b -= a; b ^= rol32(a, 19); a += c; \
37 c -= b; c ^= rol32(b, 4); b += a; \
42 c ^= b; c -= rol32(b, 14); \
43 a ^= c; a -= rol32(c, 11); \
44 b ^= a; b -= rol32(
[all...]
H A Dtest_xdp_noinline.c20 static __always_inline __u32 rol32(__u32 word, unsigned int shift) function
30 a -= c; a ^= rol32(c, 4); c += b; \
31 b -= a; b ^= rol32(a, 6); a += c; \
32 c -= b; c ^= rol32(b, 8); b += a; \
33 a -= c; a ^= rol32(c, 16); c += b; \
34 b -= a; b ^= rol32(a, 19); a += c; \
35 c -= b; c ^= rol32(b, 4); b += a; \
40 c ^= b; c -= rol32(b, 14); \
41 a ^= c; a -= rol32(c, 11); \
42 b ^= a; b -= rol32(
[all...]
/linux-master/crypto/
H A Daegis.h68 d0 = t[s[ 0]] ^ rol32(t[s[ 5]], 8) ^ rol32(t[s[10]], 16) ^ rol32(t[s[15]], 24);
69 d1 = t[s[ 4]] ^ rol32(t[s[ 9]], 8) ^ rol32(t[s[14]], 16) ^ rol32(t[s[ 3]], 24);
70 d2 = t[s[ 8]] ^ rol32(t[s[13]], 8) ^ rol32(t[s[ 2]], 16) ^ rol32(t[s[ 7]], 24);
71 d3 = t[s[12]] ^ rol32(
[all...]
H A Dsm4.c86 return x ^ rol32(x, 13) ^ rol32(x, 23);
91 return x ^ rol32(x, 2) ^ rol32(x, 10) ^ rol32(x, 18) ^ rol32(x, 24);
H A Dsm3.c40 ss1 = rol32((rol32((a), 12) + (e) + (t)), 7); \
41 ss2 = ss1 ^ rol32((a), 12); \
44 b = rol32((b), 9); \
45 f = rol32((f), 19); \
61 #define P0(x) ((x) ^ rol32((x), 9) ^ rol32((x), 17))
62 #define P1(x) ((x) ^ rol32((x), 15) ^ rol32((x), 23))
68 ^ rol32(
[all...]
H A Dmichael_mic.c36 r ^= rol32(l, 17); \
40 r ^= rol32(l, 3); \
H A Dtwofish_generic.c58 (d) = rol32((d), 1) ^ y
65 (c) = rol32((c), 1); \
H A Dcamellia_generic.c371 subR[1] ^= rol32(dw, 1); /* modified for FLinv(kl2) */
380 subR[1] ^= rol32(dw, 1); /* modified for FLinv(kl4) */
396 subR[1] ^= rol32(dw, 1); /* modified for FLinv(kl6) */
416 kw4r ^= rol32(dw, 1); /* modified for FL(kl5) */
426 kw4r ^= rol32(dw, 1); /* modified for FL(kl3) */
435 kw4r ^= rol32(dw, 1); /* modified for FL(kl1) */
460 tr = subR[10] ^ rol32(dw, 1);
469 tr = subR[7] ^ rol32(dw, 1);
482 tr = subR[18] ^ rol32(dw, 1);
491 tr = subR[15] ^ rol32(d
[all...]
/linux-master/tools/include/linux/
H A Djhash.h37 a -= c; a ^= rol32(c, 4); c += b; \
38 b -= a; b ^= rol32(a, 6); a += c; \
39 c -= b; c ^= rol32(b, 8); b += a; \
40 a -= c; a ^= rol32(c, 16); c += b; \
41 b -= a; b ^= rol32(a, 19); a += c; \
42 c -= b; c ^= rol32(b, 4); b += a; \
48 c ^= b; c -= rol32(b, 14); \
49 a ^= c; a -= rol32(c, 11); \
50 b ^= a; b -= rol32(a, 25); \
51 c ^= b; c -= rol32(
[all...]
H A Dbitops.h81 * rol32 - rotate a 32-bit value left
85 static inline __u32 rol32(__u32 word, unsigned int shift) function
/linux-master/include/linux/
H A Djhash.h37 a -= c; a ^= rol32(c, 4); c += b; \
38 b -= a; b ^= rol32(a, 6); a += c; \
39 c -= b; c ^= rol32(b, 8); b += a; \
40 a -= c; a ^= rol32(c, 16); c += b; \
41 b -= a; b ^= rol32(a, 19); a += c; \
42 c -= b; c ^= rol32(b, 4); b += a; \
48 c ^= b; c -= rol32(b, 14); \
49 a ^= c; a -= rol32(c, 11); \
50 b ^= a; b -= rol32(a, 25); \
51 c ^= b; c -= rol32(
[all...]
H A Dsiphash.h158 (a) += (b), (b) = rol32((b), 5), (b) ^= (a), (a) = rol32((a), 16), \
159 (c) += (d), (d) = rol32((d), 8), (d) ^= (c), \
160 (a) += (d), (d) = rol32((d), 7), (d) ^= (a), \
161 (c) += (b), (b) = rol32((b), 13), (b) ^= (c), (c) = rol32((c), 16))
/linux-master/fs/netfs/
H A Dfscache_main.c34 y ^= x, x = rol32(x, 7),\
35 x += y, y = rol32(y,20),\
/linux-master/arch/loongarch/include/asm/
H A Dchecksum.h31 return (__force __sum16)(~(tmp + rol32(tmp, 16)) >> 16);
/linux-master/net/mac80211/
H A Dmichael.c16 mctx->r ^= rol32(mctx->l, 17);
21 mctx->r ^= rol32(mctx->l, 3);
/linux-master/arch/powerpc/mm/book3s32/
H A Dmmu_context.c129 mtspr(SPRN_SDR1, rol32(__pa(next->pgd), 4) & 0xffff01ff);
/linux-master/arch/powerpc/include/asm/
H A Dchecksum.h49 return (__force __sum16)(~(tmp + rol32(tmp, 16)) >> 16);
119 return (__force __wsum)rol32((__force u32)sum, (offset & 1) << 3);
/linux-master/drivers/platform/mellanox/
H A Dmlxreg-io.c87 in_val = rol32(in_val, data->bit - 1) & data->mask;
102 *regval |= rol32(val, regsize * i * 8);
/linux-master/drivers/leds/
H A Dleds-mlxreg.c84 nib = (ror32(data->mask, data->bit) == 0xf0) ? rol32(vset, data->bit) :
85 rol32(vset, data->bit + 4);
/linux-master/arch/x86/crypto/
H A Dcamellia_glue.c813 subRL[1] ^= rol32(dw, 1);
825 subRL[1] ^= rol32(dw, 1);
844 subRL[1] ^= rol32(dw, 1);
867 kw4 ^= rol32(dw, 1);
880 kw4 ^= rol32(dw, 1);
892 kw4 ^= rol32(dw, 1);
913 tr = subRL[10] ^ rol32(dw, 1);
922 tr = subRL[7] ^ rol32(dw, 1);
933 tr = subRL[18] ^ rol32(dw, 1);
942 tr = subRL[15] ^ rol32(d
[all...]

Completed in 967 milliseconds

12