Home
last modified time | relevance | path

Searched refs:rol64 (Results 1 – 6 of 6) sorted by relevance

/linux/lib/crypto/
H A Dsha3.c63 t[0] = bc[4] ^ rol64(bc[1], 1); in sha3_keccakf_one_round_generic()
64 t[1] = bc[0] ^ rol64(bc[2], 1); in sha3_keccakf_one_round_generic()
65 t[2] = bc[1] ^ rol64(bc[3], 1); in sha3_keccakf_one_round_generic()
66 t[3] = bc[2] ^ rol64(bc[4], 1); in sha3_keccakf_one_round_generic()
67 t[4] = bc[3] ^ rol64(bc[0], 1); in sha3_keccakf_one_round_generic()
73 st[ 1] = rol64(st[ 6] ^ t[1], 44); in sha3_keccakf_one_round_generic()
74 st[ 6] = rol64(st[ 9] ^ t[4], 20); in sha3_keccakf_one_round_generic()
75 st[ 9] = rol64(st[22] ^ t[2], 61); in sha3_keccakf_one_round_generic()
76 st[22] = rol64(st[14] ^ t[4], 39); in sha3_keccakf_one_round_generic()
77 st[14] = rol64(st[20] ^ t[0], 18); in sha3_keccakf_one_round_generic()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_siphash.h8 static inline u64 rol64(u64 word, unsigned int shift) in rol64() function
15 (a) += (b), (b) = rol64((b), 13), (b) ^= (a), (a) = rol64((a), 32), \
16 (c) += (d), (d) = rol64((d), 16), (d) ^= (c), \
17 (a) += (d), (d) = rol64((d), 21), (d) ^= (a), \
18 (c) += (b), (b) = rol64((b), 17), (b) ^= (c), (c) = rol64((c), 32))
/linux/include/linux/
H A Dsiphash.h147 (a) += (b), (b) = rol64((b), 13), (b) ^= (a), (a) = rol64((a), 32), \
148 (c) += (d), (d) = rol64((d), 16), (d) ^= (c), \
149 (a) += (d), (d) = rol64((d), 21), (d) ^= (a), \
150 (c) += (b), (b) = rol64((b), 17), (b) ^= (c), (c) = rol64((c), 32))
H A Dbitops.h104 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() function
/linux/fs/
H A Dnamei.c2345 y ^= x, x = rol64(x,12),\
2346 x += y, y = rol64(y,45),\
/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c4602 return rol64(wwn, 32); in lpfc_get_wwpn()