Home
last modified time | relevance | path

Searched refs:ROTL32 (Results 1 – 7 of 7) sorted by relevance

/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/
H A Dcore_hsalsa20_ref2.c51 x4 ^= ROTL32(x0 + x12, 7); in crypto_core_hsalsa20()
52 x8 ^= ROTL32(x4 + x0, 9); in crypto_core_hsalsa20()
55 x9 ^= ROTL32(x5 + x1, 7); in crypto_core_hsalsa20()
56 x13 ^= ROTL32(x9 + x5, 9); in crypto_core_hsalsa20()
64 x7 ^= ROTL32(x3 + x15, 9); in crypto_core_hsalsa20()
67 x1 ^= ROTL32(x0 + x3, 7); in crypto_core_hsalsa20()
68 x2 ^= ROTL32(x1 + x0, 9); in crypto_core_hsalsa20()
69 x3 ^= ROTL32(x2 + x1, 13); in crypto_core_hsalsa20()
70 x0 ^= ROTL32(x3 + x2, 18); in crypto_core_hsalsa20()
71 x6 ^= ROTL32(x5 + x4, 7); in crypto_core_hsalsa20()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/salsa/ref/
H A Dcore_salsa_ref.c46 x4 ^= ROTL32(x0 + x12, 7); in crypto_core_salsa()
47 x8 ^= ROTL32(x4 + x0, 9); in crypto_core_salsa()
48 x12 ^= ROTL32(x8 + x4, 13); in crypto_core_salsa()
49 x0 ^= ROTL32(x12 + x8, 18); in crypto_core_salsa()
50 x9 ^= ROTL32(x5 + x1, 7); in crypto_core_salsa()
51 x13 ^= ROTL32(x9 + x5, 9); in crypto_core_salsa()
54 x14 ^= ROTL32(x10 + x6, 7); in crypto_core_salsa()
62 x1 ^= ROTL32(x0 + x3, 7); in crypto_core_salsa()
63 x2 ^= ROTL32(x1 + x0, 9); in crypto_core_salsa()
66 x6 ^= ROTL32(x5 + x4, 7); in crypto_core_salsa()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/hchacha20/
H A Dcore_hchacha20.c10 A += B; D = ROTL32(D ^ A, 16); \
11 C += D; B = ROTL32(B ^ C, 12); \
12 A += B; D = ROTL32(D ^ A, 8); \
13 C += D; B = ROTL32(B ^ C, 7); \
/f-stack/freebsd/contrib/ck/src/
H A Dck_ht_hash.h57 #define ROTL32(x,y) _rotl(x,y) macro
78 #define ROTL32(x,y) rotl32(x,y) macro
140 k1 = ROTL32(k1,15); in MurmurHash3_x86_32()
144 h1 = ROTL32(h1,13); in MurmurHash3_x86_32()
162 k1 *= c1; k1 = ROTL32(k1,15); k1 *= c2; h1 ^= k1; in MurmurHash3_x86_32()
/f-stack/freebsd/crypto/chacha20/
H A Dchacha.c28 #define ROTL32(v, n) \ macro
45 #define ROTATE(v,c) (ROTL32(v,c))
/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/private/
H A Dcommon.h18 #define ROTL32(X, B) rotl32((X), (B)) macro
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c30 #define ROTATE(v, c) (ROTL32(v, c))