Searched refs:rol64 (Results 1 – 6 of 6) sorted by relevance
/linux/crypto/ |
H A D | sha3_generic.c | 58 t[0] = bc[4] ^ rol64(bc[1], 1); in keccakf_round() 59 t[1] = bc[0] ^ rol64(bc[2], 1); in keccakf_round() 60 t[2] = bc[1] ^ rol64(bc[3], 1); in keccakf_round() 61 t[3] = bc[2] ^ rol64(bc[4], 1); in keccakf_round() 62 t[4] = bc[3] ^ rol64(bc[0], 1); in keccakf_round() 68 st[ 1] = rol64(st[ 6] ^ t[1], 44); in keccakf_round() 69 st[ 6] = rol64(st[ 9] ^ t[4], 20); in keccakf_round() 70 st[ 9] = rol64(st[22] ^ t[2], 61); in keccakf_round() 71 st[22] = rol64(st[14] ^ t[4], 39); in keccakf_round() 72 st[14] = rol64(st[20] ^ t[0], 18); in keccakf_round() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_siphash.h | 8 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/fs/bcachefs/ |
H A D | siphash.c | 59 ctx->v[1] = rol64(ctx->v[1], 13); in SipHash_Rounds() 60 ctx->v[3] = rol64(ctx->v[3], 16); in SipHash_Rounds() 64 ctx->v[0] = rol64(ctx->v[0], 32); in SipHash_Rounds() 68 ctx->v[1] = rol64(ctx->v[1], 17); in SipHash_Rounds() 69 ctx->v[3] = rol64(ctx->v[3], 21); in SipHash_Rounds() 73 ctx->v[2] = rol64(ctx->v[2], 32); in SipHash_Rounds()
|
/linux/include/linux/ |
H A D | siphash.h | 147 (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 D | bitops.h | 101 * rol64 - rotate a 64-bit value left 105 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() function
|
/linux/fs/ |
H A D | namei.c | 2180 y ^= x, x = rol64(x,12),\ 2181 x += y, y = rol64(y,45),\
|