/linux-6.1.9/lib/crypto/ |
D | chacha.c | 24 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 16); in chacha_permute() 25 x[1] += x[5]; x[13] = rol32(x[13] ^ x[1], 16); in chacha_permute() 26 x[2] += x[6]; x[14] = rol32(x[14] ^ x[2], 16); in chacha_permute() 27 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 16); in chacha_permute() 29 x[8] += x[12]; x[4] = rol32(x[4] ^ x[8], 12); in chacha_permute() 30 x[9] += x[13]; x[5] = rol32(x[5] ^ x[9], 12); in chacha_permute() 31 x[10] += x[14]; x[6] = rol32(x[6] ^ x[10], 12); in chacha_permute() 32 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 12); in chacha_permute() 34 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 8); in chacha_permute() 35 x[1] += x[5]; x[13] = rol32(x[13] ^ x[1], 8); in chacha_permute() [all …]
|
D | sha1.c | 55 #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-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_jhash.h | 7 static __always_inline u32 rol32(u32 word, unsigned int shift) in rol32() 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(a, 25); \ [all …]
|
D | test_l4lb_noinline.c | 20 static __always_inline __u32 rol32(__u32 word, unsigned int shift) in rol32() 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(a, 25); \ [all …]
|
D | test_l4lb.c | 24 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() 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(a, 25); \ [all …]
|
D | test_xdp_noinline.c | 19 static __always_inline __u32 rol32(__u32 word, unsigned int shift) in rol32() function 29 a -= c; a ^= rol32(c, 4); c += b; \ 30 b -= a; b ^= rol32(a, 6); a += c; \ 31 c -= b; c ^= rol32(b, 8); b += a; \ 32 a -= c; a ^= rol32(c, 16); c += b; \ 33 b -= a; b ^= rol32(a, 19); a += c; \ 34 c -= b; c ^= rol32(b, 4); b += a; \ 39 c ^= b; c -= rol32(b, 14); \ 40 a ^= c; a -= rol32(c, 11); \ 41 b ^= a; b -= rol32(a, 25); \ [all …]
|
/linux-6.1.9/crypto/ |
D | aegis.h | 68 d0 = t[s[ 0]] ^ rol32(t[s[ 5]], 8) ^ rol32(t[s[10]], 16) ^ rol32(t[s[15]], 24); in crypto_aegis_aesenc() 69 d1 = t[s[ 4]] ^ rol32(t[s[ 9]], 8) ^ rol32(t[s[14]], 16) ^ rol32(t[s[ 3]], 24); in crypto_aegis_aesenc() 70 d2 = t[s[ 8]] ^ rol32(t[s[13]], 8) ^ rol32(t[s[ 2]], 16) ^ rol32(t[s[ 7]], 24); in crypto_aegis_aesenc() 71 d3 = t[s[12]] ^ rol32(t[s[ 1]], 8) ^ rol32(t[s[ 6]], 16) ^ rol32(t[s[11]], 24); in crypto_aegis_aesenc()
|
D | sm4.c | 86 return x ^ rol32(x, 13) ^ rol32(x, 23); in sm4_key_lin_sub() 91 return x ^ rol32(x, 2) ^ rol32(x, 10) ^ rol32(x, 18) ^ rol32(x, 24); in sm4_enc_lin_sub()
|
D | sm3.c | 40 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(W[(i-3) & 0x0f], 15)) \ 69 ^ rol32(W[(i-13) & 0x0f], 7) \
|
D | camellia_generic.c | 371 subR[1] ^= rol32(dw, 1); /* modified for FLinv(kl2) */ in camellia_setup_tail() 380 subR[1] ^= rol32(dw, 1); /* modified for FLinv(kl4) */ in camellia_setup_tail() 396 subR[1] ^= rol32(dw, 1); /* modified for FLinv(kl6) */ in camellia_setup_tail() 416 kw4r ^= rol32(dw, 1); /* modified for FL(kl5) */ in camellia_setup_tail() 426 kw4r ^= rol32(dw, 1); /* modified for FL(kl3) */ in camellia_setup_tail() 435 kw4r ^= rol32(dw, 1); /* modified for FL(kl1) */ in camellia_setup_tail() 460 tr = subR[10] ^ rol32(dw, 1); in camellia_setup_tail() 469 tr = subR[7] ^ rol32(dw, 1); in camellia_setup_tail() 482 tr = subR[18] ^ rol32(dw, 1); in camellia_setup_tail() 491 tr = subR[15] ^ rol32(dw, 1); in camellia_setup_tail() [all …]
|
D | twofish_common.c | 538 y = rol32(y, 8); \ 540 ctx->a[(j) + 1] = rol32(y, 9) 551 y = rol32(y, 8); \ 553 ctx->a[(j) + 1] = rol32(y, 9) 564 y = rol32(y, 8); \ 566 ctx->a[(j) + 1] = rol32(y, 9)
|
D | michael_mic.c | 36 r ^= rol32(l, 17); \ 40 r ^= rol32(l, 3); \
|
D | twofish_generic.c | 58 (d) = rol32((d), 1) ^ y 65 (c) = rol32((c), 1); \
|
D | cast6_generic.c | 27 #define F1(D, r, m) ((I = ((m) + (D))), (I = rol32(I, (r))), \ 29 #define F2(D, r, m) ((I = ((m) ^ (D))), (I = rol32(I, (r))), \ 31 #define F3(D, r, m) ((I = ((m) - (D))), (I = rol32(I, (r))), \
|
/linux-6.1.9/tools/include/linux/ |
D | jhash.h | 37 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(b, 16); \ [all …]
|
D | bitops.h | 85 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() function
|
/linux-6.1.9/include/linux/ |
D | jhash.h | 37 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(b, 16); \ [all …]
|
D | siphash.h | 158 (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-6.1.9/arch/x86/crypto/ |
D | camellia_glue.c | 813 subRL[1] ^= rol32(dw, 1); in camellia_setup_tail() 825 subRL[1] ^= rol32(dw, 1); in camellia_setup_tail() 844 subRL[1] ^= rol32(dw, 1); in camellia_setup_tail() 867 kw4 ^= rol32(dw, 1); in camellia_setup_tail() 880 kw4 ^= rol32(dw, 1); in camellia_setup_tail() 892 kw4 ^= rol32(dw, 1); in camellia_setup_tail() 913 tr = subRL[10] ^ rol32(dw, 1); in camellia_setup_tail() 922 tr = subRL[7] ^ rol32(dw, 1); in camellia_setup_tail() 933 tr = subRL[18] ^ rol32(dw, 1); in camellia_setup_tail() 942 tr = subRL[15] ^ rol32(dw, 1); in camellia_setup_tail() [all …]
|
/linux-6.1.9/fs/fscache/ |
D | main.c | 43 y ^= x, x = rol32(x, 7),\ 44 x += y, y = rol32(y,20),\
|
/linux-6.1.9/net/mac80211/ |
D | michael.c | 16 mctx->r ^= rol32(mctx->l, 17); in michael_block() 21 mctx->r ^= rol32(mctx->l, 3); in michael_block()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | checksum.h | 49 return (__force __sum16)(~(tmp + rol32(tmp, 16)) >> 16); in csum_fold() 119 return (__force __wsum)rol32((__force u32)sum, (offset & 1) << 3); in csum_shift()
|
/linux-6.1.9/drivers/platform/mellanox/ |
D | mlxreg-io.c | 88 in_val = rol32(in_val, data->bit - 1) & data->mask; in mlxreg_io_get_reg() 103 *regval |= rol32(val, regsize * i * 8); in mlxreg_io_get_reg()
|
/linux-6.1.9/drivers/leds/ |
D | leds-mlxreg.c | 86 nib = (ror32(data->mask, data->bit) == 0xf0) ? rol32(vset, data->bit) : in mlxreg_led_store_hw() 87 rol32(vset, data->bit + 4); in mlxreg_led_store_hw()
|
/linux-6.1.9/arch/powerpc/mm/book3s32/ |
D | mmu_context.c | 129 mtspr(SPRN_SDR1, rol32(__pa(next->pgd), 4) & 0xffff01ff); in switch_mmu_context()
|