Home
last modified time | relevance | path

Searched refs:h64 (Results 1 – 3 of 3) sorted by relevance

/lib/
Dxxhash.c176 uint64_t h64; in xxh64() local
196 h64 = xxh_rotl64(v1, 1) + xxh_rotl64(v2, 7) + in xxh64()
198 h64 = xxh64_merge_round(h64, v1); in xxh64()
199 h64 = xxh64_merge_round(h64, v2); in xxh64()
200 h64 = xxh64_merge_round(h64, v3); in xxh64()
201 h64 = xxh64_merge_round(h64, v4); in xxh64()
204 h64 = seed + PRIME64_5; in xxh64()
207 h64 += (uint64_t)len; in xxh64()
212 h64 ^= k1; in xxh64()
213 h64 = xxh_rotl64(h64, 27) * PRIME64_1 + PRIME64_4; in xxh64()
[all …]
Dtest_hash.c69 test_int_hash(unsigned long long h64, u32 hash_or[2][33]) in test_int_hash() argument
72 u32 h0 = (u32)h64, h1, h2; in test_int_hash()
114 hash_or[1][k] |= h1 = hash_64(h64, k); in test_int_hash()
116 pr_err("hash_64(%#llx, %d) = %#x > %#x", h64, k, h1, m); in test_int_hash()
120 h2 = hash_64_generic(h64, k); in test_int_hash()
124 "= %#x", h64, k, h1, h2); in test_int_hash()
130 h64, k, h1, m); in test_int_hash()
149 unsigned long long h64 = 0; in test_hash_init() local
178 h64 = h64 << 32 | h0; /* For use with hash_64 */ in test_hash_init()
179 if (!test_int_hash(h64, hash_or)) in test_hash_init()
/lib/crypto/
Dpoly1305-donna64.c55 h0 = state->h64[0]; in poly1305_core_blocks()
56 h1 = state->h64[1]; in poly1305_core_blocks()
57 h2 = state->h64[2]; in poly1305_core_blocks()
107 state->h64[0] = h0; in poly1305_core_blocks()
108 state->h64[1] = h1; in poly1305_core_blocks()
109 state->h64[2] = h2; in poly1305_core_blocks()
122 h0 = state->h64[0]; in poly1305_core_emit()
123 h1 = state->h64[1]; in poly1305_core_emit()
124 h2 = state->h64[2]; in poly1305_core_emit()