Lines Matching +full:- +full:seed
2 * xxHash - Extremely Fast Hash algorithm
3 * Copyright (C) 2012-2016, Yann Collet.
5 * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
32 * Free Software Foundation. This program is dual-licensed; you may select
37 * - xxHash homepage: https://cyan4973.github.io/xxHash/
38 * - xxHash source repository: https://github.com/Cyan4973/xxHash
61 * MD5-32 0.33 GB/s 10 Ronald L. Rivest
62 * SHA1-32 0.28 GB/s 10
68 * A 64-bits version, named xxh64 offers much better speed,
69 * but for 64-bits applications only.
80 /*-****************************
85 * xxh32() - calculate the 32-bit hash of the input with a given seed.
89 * @seed: The seed can be used to alter the result predictably.
93 * Return: The 32-bit hash of the data.
95 uint32_t xxh32(const void *input, size_t length, uint32_t seed);
98 * xxh64() - calculate the 64-bit hash of the input with a given seed.
102 * @seed: The seed can be used to alter the result predictably.
104 * This function runs 2x faster on 64-bit systems, but slower on 32-bit systems.
106 * Return: The 64-bit hash of the data.
108 uint64_t xxh64(const void *input, size_t length, uint64_t seed);
111 * xxhash() - calculate wordsize hash of the input with a given seed
114 * @seed: The seed can be used to alter the result predictably.
124 uint64_t seed) in xxhash() argument
127 return xxh64(input, length, seed); in xxhash()
129 return xxh32(input, length, seed); in xxhash()
133 /*-****************************
144 * struct xxh32_state - private xxh32 state, do not use members directly
158 * struct xxh32_state - private xxh64 state, do not use members directly
171 * xxh32_reset() - reset the xxh32 state to start a new hashing operation
174 * @seed: Initialize the hash state with this seed.
178 void xxh32_reset(struct xxh32_state *state, uint32_t seed);
181 * xxh32_update() - hash the data given and update the xxh32 state
194 * xxh32_digest() - produce the current xxh32 hash
207 * xxh64_reset() - reset the xxh64 state to start a new hashing operation
210 * @seed: Initialize the hash state with this seed.
212 void xxh64_reset(struct xxh64_state *state, uint64_t seed);
215 * xxh64_update() - hash the data given and update the xxh64 state
227 * xxh64_digest() - produce the current xxh64 hash
239 /*-**************************
244 * xxh32_copy_state() - copy the source state into the destination state
252 * xxh64_copy_state() - copy the source state into the destination state