From 70d26658e62eb27c49ec4e70274c112ef50572b8 Mon Sep 17 00:00:00 2001 From: punk-design Date: Fri, 5 Dec 2025 15:59:17 -0700 Subject: [PATCH 1/4] Added binary fuse filter via indef during compile. _BLOOM_FILE --- fusefilter/binaryfusefilter.h | 1998 ++++++ fusefilter/xorfilter.h | 1457 +++++ keyhunt.cpp | 708 ++- xxhash/LICENSE | 96 +- xxhash/xxhash.c | 86 +- xxhash/xxhash.h | 10894 ++++++++++++++++---------------- 6 files changed, 9644 insertions(+), 5595 deletions(-) create mode 100644 fusefilter/binaryfusefilter.h create mode 100644 fusefilter/xorfilter.h diff --git a/fusefilter/binaryfusefilter.h b/fusefilter/binaryfusefilter.h new file mode 100644 index 00000000..6896a4a0 --- /dev/null +++ b/fusefilter/binaryfusefilter.h @@ -0,0 +1,1998 @@ +#ifndef BINARYFUSEFILTER_H +#define BINARYFUSEFILTER_H +#include +#include +#include +#include +#include +#include +#include +#ifndef XOR_MAX_ITERATIONS +// probability of success should always be > 0.5 so 100 iterations is highly unlikely +#define XOR_MAX_ITERATIONS 100 +#endif + +void erase_elements_conditional(std::vector& vector_a, std::vector& vector_b, uint64_t threshold) { + if (vector_a.size() != vector_b.size()) { + // Handle error: vectors must be of the same size + return; + } + + // Create a temporary vector to store elements that should be kept + std::vector temp_a; + std::vector temp_b; + + for (size_t i = 0; i < vector_a.size(); ++i) { + if (vector_b[i] < threshold) { + // Keep elements where vector_a[i] is not greater than vector_b[i] + temp_a.push_back(vector_a[i]); + temp_b.push_back(vector_b[i]); + } + } + + // Replace original vectors with the filtered elements + vector_a = temp_a; + vector_b = temp_b; +} + + +static inline void store20(uint8_t *buf, uint32_t idx, uint32_t value) { + /* write 20-bit value into buf at bit-offset = idx * 20 (little-endian bit ordering) */ + const uint32_t BITWIDTH = 20U; + const uint32_t MASK = (1U << BITWIDTH) - 1U; + value &= MASK; + + size_t bit = (size_t)idx * BITWIDTH; + size_t byte = bit >> 3; /* byte index */ + unsigned shift = (unsigned)(bit & 7U); /* bit offset within starting byte, 0..7 */ + + /* read 32-bit word containing the 20-bit field (4 bytes are sufficient since shift<=7 and 20+7<32) */ + uint32_t w = (uint32_t)buf[byte] + | ((uint32_t)buf[byte + 1] << 8) + | ((uint32_t)buf[byte + 2] << 16) + | ((uint32_t)buf[byte + 3] << 24); + + uint32_t mask = ((MASK) << shift); + w = (w & ~mask) | ((value << shift) & mask); + + /* write back 4 bytes */ + buf[byte + 0] = (uint8_t)(w & 0xFF); + buf[byte + 1] = (uint8_t)((w >> 8) & 0xFF); + buf[byte + 2] = (uint8_t)((w >> 16) & 0xFF); + buf[byte + 3] = (uint8_t)((w >> 24) & 0xFF); +} + + +static inline uint32_t load20(const uint8_t *buf, uint32_t idx) { + const uint32_t BITWIDTH = 20U; + const uint32_t MASK = (1U << BITWIDTH) - 1U; + + size_t bit = (size_t)idx * BITWIDTH; + size_t byte = bit >> 3; + unsigned shift = (unsigned)(bit & 7U); + + uint32_t w = (uint32_t)buf[byte] + | ((uint32_t)buf[byte + 1] << 8) + | ((uint32_t)buf[byte + 2] << 16) + | ((uint32_t)buf[byte + 3] << 24); + + return (uint32_t)((w >> shift) & MASK); +} + + +// =============================================================== +// 24-bit FP storage (packed 3 bytes) +// =============================================================== +static inline void store24(uint8_t *dst, uint32_t fp) { + dst[0] = (uint8_t)(fp); + dst[1] = (uint8_t)(fp >> 8); + dst[2] = (uint8_t)(fp >> 16); +} + +static inline uint32_t load24(const uint8_t *src) { + return (uint32_t)src[0] + | ((uint32_t)src[1] << 8) + | ((uint32_t)src[2] << 16); +} + +static int binary_fuse_cmpfunc(const void * a, const void * b) { + return (int)( *(const uint64_t*)a - *(const uint64_t*)b ); +} + +static size_t binary_fuse_sort_and_remove_dup(uint64_t* keys, size_t length) { + qsort(keys, length, sizeof(uint64_t), binary_fuse_cmpfunc); + size_t j = 1; + for(size_t i = 1; i < length; i++) { + if(keys[i] != keys[i-1]) { + keys[j] = keys[i]; + j++; + } + } + return j; +} + +/** + * We start with a few utilities. + ***/ +static inline uint64_t binary_fuse_murmur64(uint64_t h) { + h ^= h >> 33U; + h *= UINT64_C(0xff51afd7ed558ccd); + h ^= h >> 33U; + h *= UINT64_C(0xc4ceb9fe1a85ec53); + h ^= h >> 33U; + return h; +} +static inline uint64_t binary_fuse_mix_split(uint64_t key, uint64_t seed) { + return binary_fuse_murmur64(key + seed); +} +static inline uint64_t binary_fuse_rotl64(uint64_t n, unsigned int c) { + return (n << (c & 63U)) | (n >> ((-c) & 63U)); +} +static inline uint32_t binary_fuse_reduce(uint32_t hash, uint32_t n) { + // http://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/ + return (uint32_t)(((uint64_t)hash * n) >> 32U); +} +static inline uint8_t binary_fuse8_fingerprint(uint64_t hash) { + return (uint8_t)(hash ^ (hash >> 32U)); +} + +/** + * We need a decent random number generator. + **/ + +// returns random number, modifies the seed +static inline uint64_t binary_fuse_rng_splitmix64(uint64_t *seed) { + uint64_t z = (*seed += UINT64_C(0x9E3779B97F4A7C15)); + z = (z ^ (z >> 30U)) * UINT64_C(0xBF58476D1CE4E5B9); + z = (z ^ (z >> 27U)) * UINT64_C(0x94D049BB133111EB); + return z ^ (z >> 31U); +} + +typedef struct binary_fuse8_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + uint8_t *Fingerprints; +} binary_fuse8_t; + +// #ifdefs adapted from: +// https://stackoverflow.com/a/50958815 +#ifdef __SIZEOF_INT128__ // compilers supporting __uint128, e.g., gcc, clang +static inline uint64_t binary_fuse_mulhi(uint64_t a, uint64_t b) { + return (uint64_t)(((__uint128_t)a * b) >> 64U); +} +#elif defined(_M_X64) || defined(_MARM64) // MSVC +static inline uint64_t binary_fuse_mulhi(uint64_t a, uint64_t b) { + return __umulh(a, b); +} +#elif defined(_M_IA64) // also MSVC +static inline uint64_t binary_fuse_mulhi(uint64_t a, uint64_t b) { + unsigned __int64 hi; + (void) _umul128(a, b, &hi); + return hi; +} +#else // portable implementation using uint64_t +static inline uint64_t binary_fuse_mulhi(uint64_t a, uint64_t b) { + // Adapted from: + // https://stackoverflow.com/a/51587262 + + /* + This is implementing schoolbook multiplication: + + a1 a0 + X b1 b0 + ------------- + 00 LOW PART + ------------- + 00 + 10 10 MIDDLE PART + + 01 + ------------- + 01 + + 11 11 HIGH PART + ------------- + */ + + const uint64_t a0 = (uint32_t) a; + const uint64_t a1 = a >> 32; + const uint64_t b0 = (uint32_t) b; + const uint64_t b1 = b >> 32; + const uint64_t p11 = a1 * b1; + const uint64_t p01 = a0 * b1; + const uint64_t p10 = a1 * b0; + const uint64_t p00 = a0 * b0; + + // 64-bit product + two 32-bit values + const uint64_t middle = p10 + (p00 >> 32) + (uint32_t) p01; + + /* + Proof that 64-bit products can accumulate two more 32-bit values + without overflowing: + + Max 32-bit value is 2^32 - 1. + PSum = (2^32-1) * (2^32-1) + (2^32-1) + (2^32-1) + = 2^64 - 2^32 - 2^32 + 1 + 2^32 - 1 + 2^32 - 1 + = 2^64 - 1 + Therefore the high half below cannot overflow regardless of input. + */ + + // high half + return p11 + (middle >> 32) + (p01 >> 32); + + // low half (which we don't care about, but here it is) + // (middle << 32) | (uint32_t) p00; +} +#endif + +typedef struct binary_hashes_s { + uint32_t h0; + uint32_t h1; + uint32_t h2; +} binary_hashes_t; + +static inline binary_hashes_t binary_fuse8_hash_batch(uint64_t hash, + const binary_fuse8_t *filter) { + uint64_t hi = binary_fuse_mulhi(hash, filter->SegmentCountLength); + binary_hashes_t ans; + ans.h0 = (uint32_t)hi; + ans.h1 = ans.h0 + filter->SegmentLength; + ans.h2 = ans.h1 + filter->SegmentLength; + ans.h1 ^= (uint32_t)(hash >> 18U) & filter->SegmentLengthMask; + ans.h2 ^= (uint32_t)(hash)&filter->SegmentLengthMask; + return ans; +} + +static inline uint32_t binary_fuse8_hash(uint64_t index, uint64_t hash, + const binary_fuse8_t *filter) { + uint64_t h = binary_fuse_mulhi(hash, filter->SegmentCountLength); + h += index * filter->SegmentLength; + // keep the lower 36 bits + uint64_t hh = hash & ((1ULL << 36U) - 1); + // index 0: right shift by 36; index 1: right shift by 18; index 2: no shift + h ^= (size_t)((hh >> (36 - 18 * index)) & filter->SegmentLengthMask); + return (uint32_t)h; +} + +// Report if the key is in the set, with false positive rate. +static inline bool binary_fuse8_contain(uint64_t key, + const binary_fuse8_t *filter) { + uint64_t hash = binary_fuse_mix_split(key, filter->Seed); + uint8_t f = binary_fuse8_fingerprint(hash); + binary_hashes_t hashes = binary_fuse8_hash_batch(hash, filter); + f ^= (uint32_t)filter->Fingerprints[hashes.h0] ^ + filter->Fingerprints[hashes.h1] ^ + filter->Fingerprints[hashes.h2]; + return f == 0; +} + +static inline uint32_t binary_fuse_calculate_segment_length(uint32_t arity, + uint32_t size) { + // These parameters are very sensitive. Replacing 'floor' by 'round' can + // substantially affect the construction time. + if (arity == 3) { + return ((uint32_t)1) << (unsigned)(floor(log((double)(size)) / log(3.33) + 2.25)); + } + if (arity == 4) { + return ((uint32_t)1) << (unsigned)(floor(log((double)(size)) / log(2.91) - 0.5)); + } + return 65536; +} + +static inline double binary_fuse_max(double a, double b) { + if (a < b) { + return b; + } + return a; +} + +static inline double binary_fuse_calculate_size_factor(uint32_t arity, + uint32_t size) { + if (arity == 3) { + return binary_fuse_max(1.125, 0.875 + 0.25 * log(1000000.0) / log((double)size)); + } + if (arity == 4) { + return binary_fuse_max(1.075, 0.77 + 0.305 * log(600000.0) / log((double)size)); + } + return 2.0; +} + +// allocate enough capacity for a set containing up to 'size' elements +// caller is responsible to call binary_fuse8_free(filter) +// size should be at least 2. +static inline bool binary_fuse8_allocate(uint32_t size, + binary_fuse8_t *filter) { + uint32_t arity = 3; + filter->Size = size; + filter->SegmentLength = size == 0 ? 4 : binary_fuse_calculate_segment_length(arity, size); + if (filter->SegmentLength > 262144) { + filter->SegmentLength = 262144; + } + filter->SegmentLengthMask = filter->SegmentLength - 1; + double sizeFactor = size <= 1 ? 0 : binary_fuse_calculate_size_factor(arity, size); + uint32_t capacity = size <= 1 ? 0 : (uint32_t)(round((double)size * sizeFactor)); + uint32_t initSegmentCount = + (capacity + filter->SegmentLength - 1) / filter->SegmentLength - + (arity - 1); + filter->ArrayLength = (initSegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCount = + (filter->ArrayLength + filter->SegmentLength - 1) / filter->SegmentLength; + if (filter->SegmentCount <= arity - 1) { + filter->SegmentCount = 1; + } else { + filter->SegmentCount = filter->SegmentCount - (arity - 1); + } + filter->ArrayLength = + (filter->SegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCountLength = filter->SegmentCount * filter->SegmentLength; + filter->Fingerprints = + (uint8_t *)calloc(filter->ArrayLength, sizeof(uint8_t)); + return filter->Fingerprints != NULL; +} + +// report memory usage +static inline size_t binary_fuse8_size_in_bytes(const binary_fuse8_t *filter) { + return filter->ArrayLength * sizeof(uint8_t) + sizeof(binary_fuse8_t); +} + +// release memory +static inline void binary_fuse8_free(binary_fuse8_t *filter) { + free(filter->Fingerprints); + filter->Fingerprints = NULL; + filter->Seed = 0; + filter->Size = 0; + filter->SegmentLength = 0; + filter->SegmentLengthMask = 0; + filter->SegmentCount = 0; + filter->SegmentCountLength = 0; + filter->ArrayLength = 0; +} + +static inline uint8_t binary_fuse_mod3(uint8_t x) { + return x > 2 ? x - 3 : x; +} + +// Construct the filter, returns true on success, false on failure. +// The algorithm fails when there is insufficient memory. +// The caller is responsable for calling binary_fuse8_allocate(size,filter) +// before. For best performance, the caller should ensure that there are not too +// many duplicated keys. +static inline bool binary_fuse8_populate(uint64_t *keys, uint32_t size, + binary_fuse8_t *filter) { + if (size != filter->Size) { + return false; + } + + uint64_t rng_counter = 0x726b2b9d438b9d4d; + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + uint64_t *reverseOrder = (uint64_t *)calloc((size + 1), sizeof(uint64_t)); + uint32_t capacity = filter->ArrayLength; + uint32_t *alone = (uint32_t *)malloc(capacity * sizeof(uint32_t)); + uint8_t *t2count = (uint8_t *)calloc(capacity, sizeof(uint8_t)); + uint8_t *reverseH = (uint8_t *)malloc(size * sizeof(uint8_t)); + uint64_t *t2hash = (uint64_t *)calloc(capacity, sizeof(uint64_t)); + + uint32_t blockBits = 1; + while (((uint32_t)1 << blockBits) < filter->SegmentCount) { + blockBits += 1; + } + uint32_t block = ((uint32_t)1 << blockBits); + uint32_t *startPos = (uint32_t *)malloc((1U << blockBits) * sizeof(uint32_t)); + uint32_t h012[5]; + + if ((alone == NULL) || (t2count == NULL) || (reverseH == NULL) || + (t2hash == NULL) || (reverseOrder == NULL) || (startPos == NULL)) { + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + reverseOrder[size] = 1; + for (int loop = 0; true; ++loop) { + if (loop + 1 > XOR_MAX_ITERATIONS) { + // The probability of this happening is lower than the + // the cosmic-ray probability (i.e., a cosmic ray corrupts your system) + memset(filter->Fingerprints, 0xFF, filter->ArrayLength); + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + + for (uint32_t i = 0; i < block; i++) { + // important : i * size would overflow as a 32-bit number in some + // cases. + startPos[i] = (uint32_t)((uint64_t)i * size) >> blockBits; + } + + uint64_t maskblock = block - 1; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = binary_fuse_murmur64(keys[i] + filter->Seed); + uint64_t segment_index = hash >> (64 - blockBits); + while (reverseOrder[startPos[segment_index]] != 0) { + segment_index++; + segment_index &= maskblock; + } + reverseOrder[startPos[segment_index]] = hash; + startPos[segment_index]++; + } + int error = 0; + uint32_t duplicates = 0; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = reverseOrder[i]; + uint32_t h0 = binary_fuse8_hash(0, hash, filter); + t2count[h0] += 4; + t2hash[h0] ^= hash; + uint32_t h1= binary_fuse8_hash(1, hash, filter); + t2count[h1] += 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + uint32_t h2 = binary_fuse8_hash(2, hash, filter); + t2count[h2] += 4; + t2hash[h2] ^= hash; + t2count[h2] ^= 2U; + if ((t2hash[h0] & t2hash[h1] & t2hash[h2]) == 0) { + if (((t2hash[h0] == 0) && (t2count[h0] == 8)) + || ((t2hash[h1] == 0) && (t2count[h1] == 8)) + || ((t2hash[h2] == 0) && (t2count[h2] == 8))) { + duplicates += 1; + t2count[h0] -= 4; + t2hash[h0] ^= hash; + t2count[h1] -= 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + t2count[h2] -= 4; + t2count[h2] ^= 2U; + t2hash[h2] ^= hash; + } + } + error = (t2count[h0] < 4) ? 1 : error; + error = (t2count[h1] < 4) ? 1 : error; + error = (t2count[h2] < 4) ? 1 : error; + } + if(error) { + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + continue; + } + + // End of key addition + uint32_t Qsize = 0; + // Add sets with one key to the queue. + for (uint32_t i = 0; i < capacity; i++) { + alone[Qsize] = i; + Qsize += ((t2count[i] >> 2U) == 1) ? 1U : 0U; + } + uint32_t stacksize = 0; + while (Qsize > 0) { + Qsize--; + uint32_t index = alone[Qsize]; + if ((t2count[index] >> 2U) == 1) { + uint64_t hash = t2hash[index]; + + //h012[0] = binary_fuse8_hash(0, hash, filter); + h012[1] = binary_fuse8_hash(1, hash, filter); + h012[2] = binary_fuse8_hash(2, hash, filter); + h012[3] = binary_fuse8_hash(0, hash, filter); // == h012[0]; + h012[4] = h012[1]; + uint8_t found = t2count[index] & 3U; + reverseH[stacksize] = found; + reverseOrder[stacksize] = hash; + stacksize++; + uint32_t other_index1 = h012[found + 1]; + alone[Qsize] = other_index1; + Qsize += ((t2count[other_index1] >> 2U) == 2 ? 1U : 0U); + + t2count[other_index1] -= 4; + t2count[other_index1] ^= binary_fuse_mod3(found + 1); + t2hash[other_index1] ^= hash; + + uint32_t other_index2 = h012[found + 2]; + alone[Qsize] = other_index2; + Qsize += ((t2count[other_index2] >> 2U) == 2 ? 1U : 0U); + t2count[other_index2] -= 4; + t2count[other_index2] ^= binary_fuse_mod3(found + 2); + t2hash[other_index2] ^= hash; + } + } + if (stacksize + duplicates == size) { + // success + size = stacksize; + break; + } + if(duplicates > 0) { + size = (uint32_t)binary_fuse_sort_and_remove_dup(keys, size); + } + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + } + + for (uint32_t i = size - 1; i < size; i--) { + // the hash of the key we insert next + uint64_t hash = reverseOrder[i]; + uint8_t xor2 = binary_fuse8_fingerprint(hash); + uint8_t found = reverseH[i]; + h012[0] = binary_fuse8_hash(0, hash, filter); + h012[1] = binary_fuse8_hash(1, hash, filter); + h012[2] = binary_fuse8_hash(2, hash, filter); + h012[3] = h012[0]; + h012[4] = h012[1]; + filter->Fingerprints[h012[found]] = (uint8_t)((uint32_t)xor2 ^ + filter->Fingerprints[h012[found + 1]] ^ + filter->Fingerprints[h012[found + 2]]); + } + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return true; +} + +////////////////// +// fuse16 +////////////////// + +typedef struct binary_fuse16_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + uint16_t *Fingerprints; +} binary_fuse16_t; + +static inline uint16_t binary_fuse16_fingerprint(uint64_t hash) { + return (uint16_t)(hash ^ (hash >> 32U)); +} + +static inline binary_hashes_t binary_fuse16_hash_batch(uint64_t hash, + const binary_fuse16_t *filter) { + uint64_t hi = binary_fuse_mulhi(hash, filter->SegmentCountLength); + binary_hashes_t ans; + ans.h0 = (uint32_t)hi; + ans.h1 = ans.h0 + filter->SegmentLength; + ans.h2 = ans.h1 + filter->SegmentLength; + ans.h1 ^= (uint32_t)(hash >> 18U) & filter->SegmentLengthMask; + ans.h2 ^= (uint32_t)(hash)&filter->SegmentLengthMask; + return ans; +} +static inline uint32_t binary_fuse16_hash(uint64_t index, uint64_t hash, + const binary_fuse16_t *filter) { + uint64_t h = binary_fuse_mulhi(hash, filter->SegmentCountLength); + h += index * filter->SegmentLength; + // keep the lower 36 bits + uint64_t hh = hash & ((1ULL << 36U) - 1); + // index 0: right shift by 36; index 1: right shift by 18; index 2: no shift + h ^= (size_t)((hh >> (36 - 18 * index)) & filter->SegmentLengthMask); + return (uint32_t)h; +} + +// Report if the key is in the set, with false positive rate. +static inline bool binary_fuse16_contain(uint64_t key, + const binary_fuse16_t *filter) { + uint64_t hash = binary_fuse_mix_split(key, filter->Seed); + uint16_t f = binary_fuse16_fingerprint(hash); + binary_hashes_t hashes = binary_fuse16_hash_batch(hash, filter); + f ^= (uint32_t)filter->Fingerprints[hashes.h0] ^ + filter->Fingerprints[hashes.h1] ^ + filter->Fingerprints[hashes.h2]; + return f == 0; +} + + +// allocate enough capacity for a set containing up to 'size' elements +// caller is responsible to call binary_fuse16_free(filter) +// size should be at least 2. +static inline bool binary_fuse16_allocate(uint32_t size, + binary_fuse16_t *filter) { + uint32_t arity = 3; + filter->Size = size; + filter->SegmentLength = size == 0 ? 4 : binary_fuse_calculate_segment_length(arity, size); + if (filter->SegmentLength > 262144) { + filter->SegmentLength = 262144; + } + filter->SegmentLengthMask = filter->SegmentLength - 1; + double sizeFactor = size <= 1 ? 0 : binary_fuse_calculate_size_factor(arity, size); + uint32_t capacity = size <= 1 ? 0 : (uint32_t)(round((double)size * sizeFactor)); + uint32_t initSegmentCount = + (capacity + filter->SegmentLength - 1) / filter->SegmentLength - + (arity - 1); + filter->ArrayLength = (initSegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCount = + (filter->ArrayLength + filter->SegmentLength - 1) / filter->SegmentLength; + if (filter->SegmentCount <= arity - 1) { + filter->SegmentCount = 1; + } else { + filter->SegmentCount = filter->SegmentCount - (arity - 1); + } + filter->ArrayLength = + (filter->SegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCountLength = filter->SegmentCount * filter->SegmentLength; + filter->Fingerprints = + (uint16_t *)calloc(filter->ArrayLength, sizeof(uint16_t)); + return filter->Fingerprints != NULL; +} + +// report memory usage +static inline size_t binary_fuse16_size_in_bytes(const binary_fuse16_t *filter) { + return filter->ArrayLength * sizeof(uint16_t) + sizeof(binary_fuse16_t); +} + +// release memory +static inline void binary_fuse16_free(binary_fuse16_t *filter) { + free(filter->Fingerprints); + filter->Fingerprints = NULL; + filter->Seed = 0; + filter->Size = 0; + filter->SegmentLength = 0; + filter->SegmentLengthMask = 0; + filter->SegmentCount = 0; + filter->SegmentCountLength = 0; + filter->ArrayLength = 0; +} + + +// Construct the filter, returns true on success, false on failure. +// The algorithm fails when there is insufficient memory. +// The caller is responsable for calling binary_fuse8_allocate(size,filter) +// before. For best performance, the caller should ensure that there are not too +// many duplicated keys. +static inline bool binary_fuse16_populate(uint64_t *keys, uint32_t size, + binary_fuse16_t *filter) { + if (size != filter->Size) { + return false; + } + + uint64_t rng_counter = 0x726b2b9d438b9d4d; + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + uint64_t *reverseOrder = (uint64_t *)calloc((size + 1), sizeof(uint64_t)); + uint32_t capacity = filter->ArrayLength; + uint32_t *alone = (uint32_t *)malloc(capacity * sizeof(uint32_t)); + uint8_t *t2count = (uint8_t *)calloc(capacity, sizeof(uint8_t)); + uint8_t *reverseH = (uint8_t *)malloc(size * sizeof(uint8_t)); + uint64_t *t2hash = (uint64_t *)calloc(capacity, sizeof(uint64_t)); + + uint32_t blockBits = 1; + while (((uint32_t)1 << blockBits) < filter->SegmentCount) { + blockBits += 1; + } + uint32_t block = ((uint32_t)1 << blockBits); + uint32_t *startPos = (uint32_t *)malloc((1U << blockBits) * sizeof(uint32_t)); + uint32_t h012[5]; + + if ((alone == NULL) || (t2count == NULL) || (reverseH == NULL) || + (t2hash == NULL) || (reverseOrder == NULL) || (startPos == NULL)) { + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + reverseOrder[size] = 1; + for (int loop = 0; true; ++loop) { + if (loop + 1 > XOR_MAX_ITERATIONS) { + // The probability of this happening is lower than the + // the cosmic-ray probability (i.e., a cosmic ray corrupts your system). + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + + for (uint32_t i = 0; i < block; i++) { + // important : i * size would overflow as a 32-bit number in some + // cases. + startPos[i] = (uint32_t)(((uint64_t)i * size) >> blockBits); + } + + uint64_t maskblock = block - 1; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = binary_fuse_murmur64(keys[i] + filter->Seed); + uint64_t segment_index = hash >> (64 - blockBits); + while (reverseOrder[startPos[segment_index]] != 0) { + segment_index++; + segment_index &= maskblock; + } + reverseOrder[startPos[segment_index]] = hash; + startPos[segment_index]++; + } + int error = 0; + uint32_t duplicates = 0; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = reverseOrder[i]; + uint32_t h0 = binary_fuse16_hash(0, hash, filter); + t2count[h0] += 4; + t2hash[h0] ^= hash; + uint32_t h1= binary_fuse16_hash(1, hash, filter); + t2count[h1] += 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + uint32_t h2 = binary_fuse16_hash(2, hash, filter); + t2count[h2] += 4; + t2hash[h2] ^= hash; + t2count[h2] ^= 2U; + if ((t2hash[h0] & t2hash[h1] & t2hash[h2]) == 0) { + if (((t2hash[h0] == 0) && (t2count[h0] == 8)) + || ((t2hash[h1] == 0) && (t2count[h1] == 8)) + || ((t2hash[h2] == 0) && (t2count[h2] == 8))) { + duplicates += 1; + t2count[h0] -= 4; + t2hash[h0] ^= hash; + t2count[h1] -= 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + t2count[h2] -= 4; + t2count[h2] ^= 2U; + t2hash[h2] ^= hash; + } + } + error = (t2count[h0] < 4) ? 1 : error; + error = (t2count[h1] < 4) ? 1 : error; + error = (t2count[h2] < 4) ? 1 : error; + } + if(error) { + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + continue; + } + + // End of key addition + uint32_t Qsize = 0; + // Add sets with one key to the queue. + for (uint32_t i = 0; i < capacity; i++) { + alone[Qsize] = i; + Qsize += ((t2count[i] >> 2U) == 1) ? 1U : 0U; + } + uint32_t stacksize = 0; + while (Qsize > 0) { + Qsize--; + uint32_t index = alone[Qsize]; + if ((t2count[index] >> 2U) == 1) { + uint64_t hash = t2hash[index]; + + //h012[0] = binary_fuse16_hash(0, hash, filter); + h012[1] = binary_fuse16_hash(1, hash, filter); + h012[2] = binary_fuse16_hash(2, hash, filter); + h012[3] = binary_fuse16_hash(0, hash, filter); // == h012[0]; + h012[4] = h012[1]; + uint8_t found = t2count[index] & 3U; + reverseH[stacksize] = found; + reverseOrder[stacksize] = hash; + stacksize++; + uint32_t other_index1 = h012[found + 1]; + alone[Qsize] = other_index1; + Qsize += ((t2count[other_index1] >> 2U) == 2 ? 1U : 0U); + + t2count[other_index1] -= 4; + t2count[other_index1] ^= binary_fuse_mod3(found + 1); + t2hash[other_index1] ^= hash; + + uint32_t other_index2 = h012[found + 2]; + alone[Qsize] = other_index2; + Qsize += ((t2count[other_index2] >> 2U) == 2 ? 1U : 0U); + t2count[other_index2] -= 4; + t2count[other_index2] ^= binary_fuse_mod3(found + 2); + t2hash[other_index2] ^= hash; + } + } + if (stacksize + duplicates == size) { + // success + size = stacksize; + break; + } + if(duplicates > 0) { + size = (uint32_t)binary_fuse_sort_and_remove_dup(keys, size); + } + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + } + + for (uint32_t i = size - 1; i < size; i--) { + // the hash of the key we insert next + uint64_t hash = reverseOrder[i]; + uint16_t xor2 = binary_fuse16_fingerprint(hash); + uint8_t found = reverseH[i]; + h012[0] = binary_fuse16_hash(0, hash, filter); + h012[1] = binary_fuse16_hash(1, hash, filter); + h012[2] = binary_fuse16_hash(2, hash, filter); + h012[3] = h012[0]; + h012[4] = h012[1]; + filter->Fingerprints[h012[found]] = (uint16_t)( + (uint32_t)xor2 ^ + (uint32_t)filter->Fingerprints[h012[found + 1]] ^ + (uint32_t)filter->Fingerprints[h012[found + 2]]); + } + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return true; +} +//////////////////// +//// fuse24 /////// +//////////////////// +/* ---------- binary_fuse20_t definition ---------- */ +typedef struct binary_fuse20_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + uint8_t *Fingerprints; /* packed bitbuffer, length = ceil(ArrayLength*20/8) bytes */ + + // Destructor to deallocate memory + ~binary_fuse20_s(){ + // First, delete the objects pointed to by each pointer (if they were allocated) + free(Fingerprints); + } + +} binary_fuse20_t; + + +/* 20-bit fingerprint extraction */ +static inline uint32_t binary_fuse20_fingerprint(uint64_t hash) { + uint32_t fp = (uint32_t)(hash ^ (hash >> 32U)) & ((1U << 20U) - 1U); + return fp; +} + +/* batch hash -> three positions */ +static inline binary_hashes_t binary_fuse20_hash_batch(uint64_t hash, + const binary_fuse20_t *filter) { + uint64_t hi = binary_fuse_mulhi(hash, filter->SegmentCountLength); + binary_hashes_t ans; + ans.h0 = (uint32_t)hi; + ans.h1 = ans.h0 + filter->SegmentLength; + ans.h2 = ans.h1 + filter->SegmentLength; + ans.h1 ^= (uint32_t)(hash >> 18U) & filter->SegmentLengthMask; + ans.h2 ^= (uint32_t)(hash) & filter->SegmentLengthMask; + return ans; +} + +/* single-index hash used in populate */ +static inline uint32_t binary_fuse20_hash(uint64_t index, uint64_t hash, + const binary_fuse20_t *filter) { + uint64_t h = binary_fuse_mulhi(hash, filter->SegmentCountLength); + h += index * filter->SegmentLength; + uint64_t hh = hash & ((1ULL << 36U) - 1ULL); + h ^= (size_t)((hh >> (36 - 18 * index)) & filter->SegmentLengthMask); + return (uint32_t)h; +} + +/* containment check */ +static inline bool binary_fuse20_contain(uint64_t key, + const binary_fuse20_t *filter) { + uint64_t hash = binary_fuse_mix_split(key, filter->Seed); + uint32_t f = binary_fuse20_fingerprint(hash); + binary_hashes_t hashes = binary_fuse20_hash_batch(hash, filter); + + uint32_t a = load20(filter->Fingerprints, hashes.h0); + uint32_t b = load20(filter->Fingerprints, hashes.h1); + uint32_t c = load20(filter->Fingerprints, hashes.h2); + + f ^= a ^ b ^ c; + return f == 0; +} + +/* allocate */ +static inline bool binary_fuse20_allocate(uint32_t size, + binary_fuse20_t *filter) { + uint32_t arity = 3; + filter->Size = size; + filter->SegmentLength = size == 0 ? 4 : binary_fuse_calculate_segment_length(arity, size); + if (filter->SegmentLength > 262144) { + filter->SegmentLength = 262144; + } + filter->SegmentLengthMask = filter->SegmentLength - 1; + double sizeFactor = size <= 1 ? 0 : binary_fuse_calculate_size_factor(arity, size); + uint32_t capacity = size <= 1 ? 0 : (uint32_t)(round((double)size * sizeFactor)); + uint32_t initSegmentCount = + (capacity + filter->SegmentLength - 1) / filter->SegmentLength - + (arity - 1); + filter->ArrayLength = (initSegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCount = + (filter->ArrayLength + filter->SegmentLength - 1) / filter->SegmentLength; + if (filter->SegmentCount <= arity - 1) { + filter->SegmentCount = 1; + } else { + filter->SegmentCount = filter->SegmentCount - (arity - 1); + } + filter->ArrayLength = + (filter->SegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCountLength = filter->SegmentCount * filter->SegmentLength; + + /* allocate packed fingerprint buffer: ceil(ArrayLength * 20 / 8) bytes */ + size_t bits = (size_t)filter->ArrayLength * 20U; + size_t bytes = (bits + 7) >> 3; + filter->Fingerprints = (uint8_t *)calloc(bytes + 4, 1); /* +4 for safe reads */ + return filter->Fingerprints != NULL; +} + +/* size in bytes */ +static inline size_t binary_fuse20_size_in_bytes(const binary_fuse20_t *filter) { + size_t bits = (size_t)filter->ArrayLength * 20U; + size_t bytes = (bits + 7) >> 3; + return bytes + sizeof(binary_fuse20_t); +} + +/* free */ +static inline void binary_fuse20_free(binary_fuse20_t *filter) { + free(filter->Fingerprints); + filter->Fingerprints = NULL; + filter->Seed = 0; + filter->Size = 0; + filter->SegmentLength = 0; + filter->SegmentLengthMask = 0; + filter->SegmentCount = 0; + filter->SegmentCountLength = 0; + filter->ArrayLength = 0; +} + +/* populate - builder (adapted from your fuse16_populate, storing 20-bit FPs) */ +static inline bool binary_fuse20_populate(uint64_t *keys, uint32_t size, + binary_fuse20_t *filter) { + if (size != filter->Size) return false; + + uint64_t rng_counter = 0x726b2b9d438b9d4dULL; + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + + uint32_t capacity = filter->ArrayLength; + + uint64_t *reverseOrder = (uint64_t *)calloc((size + 1), sizeof(uint64_t)); + uint32_t *alone = (uint32_t *)malloc(capacity * sizeof(uint32_t)); + uint8_t *t2count = (uint8_t *)calloc(capacity, sizeof(uint8_t)); + uint8_t *reverseH = (uint8_t *)malloc(size * sizeof(uint8_t)); + uint64_t *t2hash = (uint64_t *)calloc(capacity, sizeof(uint64_t)); + uint32_t *startPos = NULL; + + if ((alone == NULL) || (t2count == NULL) || (reverseH == NULL) || + (t2hash == NULL) || (reverseOrder == NULL)) { + free(alone); free(t2count); free(reverseH); free(t2hash); free(reverseOrder); + return false; + } + + uint32_t blockBits = 1; + while (((uint32_t)1 << blockBits) < filter->SegmentCount) { blockBits += 1; } + uint32_t block = ((uint32_t)1 << blockBits); + startPos = (uint32_t *)malloc((1U << blockBits) * sizeof(uint32_t)); + if (startPos == NULL) { + free(alone); free(t2count); free(reverseH); free(t2hash); free(reverseOrder); + return false; + } + + uint32_t h012[5]; + + reverseOrder[size] = 1; + + for (int loop = 0; true; ++loop) { + if (loop + 1 > XOR_MAX_ITERATIONS) { + free(alone); free(t2count); free(reverseH); free(t2hash); free(reverseOrder); free(startPos); + return false; + } + + for (uint32_t i = 0; i < block; i++) { + startPos[i] = (uint32_t)(((uint64_t)i * size) >> blockBits); + } + + uint64_t maskblock = block - 1; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = binary_fuse_murmur64(keys[i] + filter->Seed); + uint64_t segment_index = hash >> (64 - blockBits); + while (reverseOrder[startPos[segment_index]] != 0) { + segment_index++; + segment_index &= maskblock; + } + reverseOrder[startPos[segment_index]] = hash; + startPos[segment_index]++; + } + + int error = 0; + uint32_t duplicates = 0; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = reverseOrder[i]; + uint32_t h0 = binary_fuse20_hash(0, hash, filter); + t2count[h0] += 4; + t2hash[h0] ^= hash; + uint32_t h1 = binary_fuse20_hash(1, hash, filter); + t2count[h1] += 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + uint32_t h2 = binary_fuse20_hash(2, hash, filter); + t2count[h2] += 4; + t2hash[h2] ^= hash; + t2count[h2] ^= 2U; + + if ((t2hash[h0] & t2hash[h1] & t2hash[h2]) == 0) { + if (((t2hash[h0] == 0) && (t2count[h0] == 8)) + || ((t2hash[h1] == 0) && (t2count[h1] == 8)) + || ((t2hash[h2] == 0) && (t2count[h2] == 8))) { + duplicates += 1; + t2count[h0] -= 4; t2hash[h0] ^= hash; + t2count[h1] -= 4; t2count[h1] ^= 1U; t2hash[h1] ^= hash; + t2count[h2] -= 4; t2count[h2] ^= 2U; t2hash[h2] ^= hash; + } + } + error = (t2count[h0] < 4) ? 1 : error; + error = (t2count[h1] < 4) ? 1 : error; + error = (t2count[h2] < 4) ? 1 : error; + } + + if (error) { + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + continue; + } + + /* End of key addition */ + uint32_t Qsize = 0; + for (uint32_t i = 0; i < capacity; i++) { + alone[Qsize] = i; + Qsize += ((t2count[i] >> 2U) == 1) ? 1U : 0U; + } + + uint32_t stacksize = 0; + while (Qsize > 0) { + Qsize--; + uint32_t index = alone[Qsize]; + if ((t2count[index] >> 2U) == 1) { + uint64_t hash = t2hash[index]; + + h012[1] = binary_fuse20_hash(1, hash, filter); + h012[2] = binary_fuse20_hash(2, hash, filter); + h012[3] = binary_fuse20_hash(0, hash, filter); + h012[4] = h012[1]; + + uint8_t found = t2count[index] & 3U; + reverseH[stacksize] = found; + reverseOrder[stacksize] = hash; + stacksize++; + + uint32_t other_index1 = h012[found + 1]; + alone[Qsize] = other_index1; + Qsize += ((t2count[other_index1] >> 2U) == 2 ? 1U : 0U); + + t2count[other_index1] -= 4; + t2count[other_index1] ^= binary_fuse_mod3(found + 1); + t2hash[other_index1] ^= hash; + + uint32_t other_index2 = h012[found + 2]; + alone[Qsize] = other_index2; + Qsize += ((t2count[other_index2] >> 2U) == 2 ? 1U : 0U); + t2count[other_index2] -= 4; + t2count[other_index2] ^= binary_fuse_mod3(found + 2); + t2hash[other_index2] ^= hash; + } + } + + if (stacksize + duplicates == size) { + size = stacksize; + break; + } + + if (duplicates > 0) { + size = (uint32_t)binary_fuse_sort_and_remove_dup(keys, size); + } + + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + } + + /* Assign fingerprints in reverse order (20-bit packing) */ + for (uint32_t i = size - 1; i < size; i--) { + uint64_t hash = reverseOrder[i]; + uint32_t xor2 = binary_fuse20_fingerprint(hash); + uint8_t found = reverseH[i]; + + h012[0] = binary_fuse20_hash(0, hash, filter); + h012[1] = binary_fuse20_hash(1, hash, filter); + h012[2] = binary_fuse20_hash(2, hash, filter); + h012[3] = h012[0]; + h012[4] = h012[1]; + + uint32_t a = load20(filter->Fingerprints, h012[found + 1]); + uint32_t b = load20(filter->Fingerprints, h012[found + 2]); + + uint32_t final = (xor2 ^ a ^ b) & ((1U << 20U) - 1U); + store20(filter->Fingerprints, h012[found], final); + } + + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return true; +} + + +//////////////////// +//// fuse24 /////// +//////////////////// + +/* ---------- binary_fuse24_t definition ---------- */ + +typedef struct binary_fuse24_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + // packed 24-bit FP array (3 bytes each) + uint8_t *Fingerprints; // length = ArrayLength * 3 bytes +} binary_fuse24_t; + + +/* ---------- fingerprint extraction (32-bit) with 24 bit mask ---------- */ +static inline uint32_t binary_fuse24_fingerprint(uint64_t hash) { + return (uint32_t)((hash ^ (hash >> 32)) & 0xFFFFFFU); +} + + +/* ---------- batch hash derivation (three positions) ---------- */ +/* binary_hashes_t must be defined in your code as in original (h0,h1,h2) */ +static inline binary_hashes_t binary_fuse24_hash_batch(uint64_t hash, + const binary_fuse24_t *filter) { + uint64_t hi = binary_fuse_mulhi(hash, filter->SegmentCountLength); + binary_hashes_t ans; + ans.h0 = (uint32_t)hi; + ans.h1 = ans.h0 + filter->SegmentLength; + ans.h2 = ans.h1 + filter->SegmentLength; + ans.h1 ^= (uint32_t)(hash >> 18U) & filter->SegmentLengthMask; + ans.h2 ^= (uint32_t)(hash) & filter->SegmentLengthMask; + return ans; +} + +static inline uint32_t binary_fuse24_hash(uint64_t index, uint64_t hash, + const binary_fuse24_t *filter) { + uint64_t h = binary_fuse_mulhi(hash, filter->SegmentCountLength); + h += index * filter->SegmentLength; + /* keep the lower 36 bits */ + uint64_t hh = hash & ((1ULL << 36U) - 1); + /* index 0: right shift by 36; index 1: right shift by 18; index 2: no shift */ + h ^= (size_t)((hh >> (36 - 18 * index)) & filter->SegmentLengthMask); + return (uint32_t)h; +} + + +/* ---------- contains() ---------- */ +static inline bool binary_fuse24_contain( + uint64_t key, + const binary_fuse24_t *filter) +{ + uint64_t hash = binary_fuse_mix_split(key, filter->Seed); + uint32_t fp = binary_fuse24_fingerprint(hash); + + binary_hashes_t h = binary_fuse24_hash_batch(hash, filter); + + uint32_t a = load24(&filter->Fingerprints[h.h0 * 3]); + uint32_t b = load24(&filter->Fingerprints[h.h1 * 3]); + uint32_t c = load24(&filter->Fingerprints[h.h2 * 3]); + + fp ^= a ^ b ^ c; + return fp == 0; +} + +/* ---------- allocate() ---------- */ +/* allocate enough capacity for a set containing up to 'size' elements + caller is responsible to call binary_fuse32_free(filter) + size should be at least 2. */ +static inline bool binary_fuse24_allocate(uint32_t size, + binary_fuse24_t *filter) { + uint32_t arity = 3; + filter->Size = size; + filter->SegmentLength = size == 0 ? 4 : binary_fuse_calculate_segment_length(arity, size); + if (filter->SegmentLength > 262144) { + filter->SegmentLength = 262144; + } + filter->SegmentLengthMask = filter->SegmentLength - 1; + double sizeFactor = size <= 1 ? 0 : binary_fuse_calculate_size_factor(arity, size); + uint32_t capacity = size <= 1 ? 0 : (uint32_t)(round((double)size * sizeFactor)); + uint32_t initSegmentCount = + (capacity + filter->SegmentLength - 1) / filter->SegmentLength - + (arity - 1); + filter->ArrayLength = (initSegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCount = + (filter->ArrayLength + filter->SegmentLength - 1) / filter->SegmentLength; + if (filter->SegmentCount <= arity - 1) { + filter->SegmentCount = 1; + } else { + filter->SegmentCount = filter->SegmentCount - (arity - 1); + } + filter->ArrayLength = + (filter->SegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCountLength = filter->SegmentCount * filter->SegmentLength; + + // allocate 3 bytes per slot + filter->Fingerprints = + (uint8_t *)calloc(filter->ArrayLength *3, sizeof(uint8_t)); + return filter->Fingerprints != NULL; +} + + +/* ---------- size_in_bytes() ---------- */ +static inline size_t binary_fuse24_size_in_bytes(const binary_fuse24_t *filter) { + return filter->ArrayLength * 3 + sizeof(binary_fuse24_t); +} + +/* ---------- free() ---------- */ +static inline void binary_fuse24_free(binary_fuse24_t *filter) { + free(filter->Fingerprints); + filter->Fingerprints = NULL; + filter->Seed = 0; + filter->Size = 0; + filter->SegmentLength = 0; + filter->SegmentLengthMask = 0; + filter->SegmentCount = 0; + filter->SegmentCountLength = 0; + filter->ArrayLength = 0; +} + + +/* ---------- populate() ---------- */ +/* Construct the filter, returns true on success, false on failure. + The algorithm fails when there is insufficient memory. + The caller is responsable for calling binary_fuse32_allocate(size,filter) + before. For best performance, the caller should ensure that there are not too + many duplicated keys. +*/ +static inline bool binary_fuse24_populate(uint64_t *keys, uint32_t size, + binary_fuse24_t *filter) { + if (size != filter->Size) { + return false; + } + + uint64_t rng_counter = 0x726b2b9d438b9d4d; + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + uint64_t *reverseOrder = (uint64_t *)calloc((size + 1), sizeof(uint64_t)); + uint32_t capacity = filter->ArrayLength; + uint32_t *alone = (uint32_t *)malloc(capacity * sizeof(uint32_t)); + uint8_t *t2count = (uint8_t *)calloc(capacity, sizeof(uint8_t)); + uint8_t *reverseH = (uint8_t *)malloc(size * sizeof(uint8_t)); + uint64_t *t2hash = (uint64_t *)calloc(capacity, sizeof(uint64_t)); + + uint32_t blockBits = 1; + while (((uint32_t)1 << blockBits) < filter->SegmentCount) { + blockBits += 1; + } + uint32_t block = ((uint32_t)1 << blockBits); + uint32_t *startPos = (uint32_t *)malloc((1U << blockBits) * sizeof(uint32_t)); + uint32_t h012[5]; + + if ((alone == NULL) || (t2count == NULL) || (reverseH == NULL) || + (t2hash == NULL) || (reverseOrder == NULL) || (startPos == NULL)) { + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + reverseOrder[size] = 1; + for (int loop = 0; true; ++loop) { + if (loop + 1 > XOR_MAX_ITERATIONS) { + /* The probability of this happening is lower than the + the cosmic-ray probability (i.e., a cosmic ray corrupts your system). */ + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + + for (uint32_t i = 0; i < block; i++) { + /* important : i * size would overflow as a 32-bit number in some cases. */ + startPos[i] = (uint32_t)(((uint64_t)i * size) >> blockBits); + } + + uint64_t maskblock = block - 1; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = binary_fuse_murmur64(keys[i] + filter->Seed); + uint64_t segment_index = hash >> (64 - blockBits); + while (reverseOrder[startPos[segment_index]] != 0) { + segment_index++; + segment_index &= maskblock; + } + reverseOrder[startPos[segment_index]] = hash; + startPos[segment_index]++; + } + int error = 0; + uint32_t duplicates = 0; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = reverseOrder[i]; + uint32_t h0 = binary_fuse24_hash(0, hash, filter); + t2count[h0] += 4; + t2hash[h0] ^= hash; + + uint32_t h1= binary_fuse24_hash(1, hash, filter); + t2count[h1] += 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + + uint32_t h2 = binary_fuse24_hash(2, hash, filter); + t2count[h2] += 4; + t2hash[h2] ^= hash; + t2count[h2] ^= 2U; + + if ((t2hash[h0] & t2hash[h1] & t2hash[h2]) == 0) { + if (((t2hash[h0] == 0) && (t2count[h0] == 8)) + || ((t2hash[h1] == 0) && (t2count[h1] == 8)) + || ((t2hash[h2] == 0) && (t2count[h2] == 8))) { + duplicates++; + t2count[h0] -= 4; + t2hash[h0] ^= hash; + t2count[h1] -= 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + t2count[h2] -= 4; + t2count[h2] ^= 2U; + t2hash[h2] ^= hash; + } + } + error = (t2count[h0] < 4) ? 1 : error; + error = (t2count[h1] < 4) ? 1 : error; + error = (t2count[h2] < 4) ? 1 : error; + } + if(error) { + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + continue; + } + + /* End of key addition */ + uint32_t Qsize = 0; + /* Add sets with one key to the queue. */ + for (uint32_t i = 0; i < capacity; i++) { + alone[Qsize] = i; + Qsize += ((t2count[i] >> 2U) == 1) ? 1U : 0U; + } + uint32_t stacksize = 0; + while (Qsize > 0) { + Qsize--; + uint32_t index = alone[Qsize]; + if ((t2count[index] >> 2U) == 1) { + uint64_t hash = t2hash[index]; + + /* h012[0] = binary_fuse32_hash(0, hash, filter); */ + h012[1] = binary_fuse24_hash(1, hash, filter); + h012[2] = binary_fuse24_hash(2, hash, filter); + h012[3] = binary_fuse24_hash(0, hash, filter); /* == h012[0]; */ + h012[4] = h012[1]; + uint8_t found = t2count[index] & 3U; + reverseH[stacksize] = found; + reverseOrder[stacksize] = hash; + stacksize++; + uint32_t other_index1 = h012[found + 1]; + alone[Qsize] = other_index1; + Qsize += ((t2count[other_index1] >> 2U) == 2 ? 1U : 0U); + + t2count[other_index1] -= 4; + t2count[other_index1] ^= binary_fuse_mod3(found + 1); + t2hash[other_index1] ^= hash; + + uint32_t other_index2 = h012[found + 2]; + alone[Qsize] = other_index2; + Qsize += ((t2count[other_index2] >> 2U) == 2 ? 1U : 0U); + t2count[other_index2] -= 4; + t2count[other_index2] ^= binary_fuse_mod3(found + 2); + t2hash[other_index2] ^= hash; + } + } + if (stacksize + duplicates == size) { + /* success */ + size = stacksize; + break; + } + if(duplicates > 0) { + size = (uint32_t)binary_fuse_sort_and_remove_dup(keys, size); + } + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + } + + for (uint32_t i = size - 1; i < size; i--) { + /* the hash of the key we insert next */ + uint64_t hash = reverseOrder[i]; + uint32_t fp = binary_fuse24_fingerprint(hash); + uint8_t found = reverseH[i]; + h012[0] = binary_fuse24_hash(0, hash, filter); + h012[1] = binary_fuse24_hash(1, hash, filter); + h012[2] = binary_fuse24_hash(2, hash, filter); + h012[3] = h012[0]; + h012[4] = h012[1]; + // XOR of two known locations + uint32_t a = load24(&filter->Fingerprints[h012[found + 1] * 3]); + uint32_t b = load24(&filter->Fingerprints[h012[found + 2] * 3]); + + uint32_t final = fp ^ a ^ b; + store24(&filter->Fingerprints[h012[found] * 3], final); + } + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return true; +} + + +//////////////////// +//// fuse32 /////// +//////////////////// + +/* ---------- binary_fuse32_t definition ---------- */ +typedef struct binary_fuse32_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + uint32_t *Fingerprints; // 32-bit fingerprints +} binary_fuse32_t; + +/* ---------- fingerprint extraction (32-bit) ---------- */ +static inline uint32_t binary_fuse32_fingerprint(uint64_t hash) { + return (uint32_t)(hash ^ (hash >> 32U)); +} + +/* ---------- batch hash derivation (three positions) ---------- */ +/* binary_hashes_t must be defined in your code as in original (h0,h1,h2) */ +static inline binary_hashes_t binary_fuse32_hash_batch(uint64_t hash, + const binary_fuse32_t *filter) { + uint64_t hi = binary_fuse_mulhi(hash, filter->SegmentCountLength); + binary_hashes_t ans; + ans.h0 = (uint32_t)hi; + ans.h1 = ans.h0 + filter->SegmentLength; + ans.h2 = ans.h1 + filter->SegmentLength; + ans.h1 ^= (uint32_t)(hash >> 18U) & filter->SegmentLengthMask; + ans.h2 ^= (uint32_t)(hash) & filter->SegmentLengthMask; + return ans; +} + +static inline uint32_t binary_fuse32_hash(uint64_t index, uint64_t hash, + const binary_fuse32_t *filter) { + uint64_t h = binary_fuse_mulhi(hash, filter->SegmentCountLength); + h += index * filter->SegmentLength; + /* keep the lower 36 bits */ + uint64_t hh = hash & ((1ULL << 36U) - 1); + /* index 0: right shift by 36; index 1: right shift by 18; index 2: no shift */ + h ^= (size_t)((hh >> (36 - 18 * index)) & filter->SegmentLengthMask); + return (uint32_t)h; +} + +/* ---------- contains() ---------- */ +static inline bool binary_fuse32_contain(uint64_t key, + const binary_fuse32_t *filter) { + uint64_t hash = binary_fuse_mix_split(key, filter->Seed); + uint32_t f = binary_fuse32_fingerprint(hash); + binary_hashes_t hashes = binary_fuse32_hash_batch(hash, filter); + f ^= (uint32_t)filter->Fingerprints[hashes.h0] ^ + filter->Fingerprints[hashes.h1] ^ + filter->Fingerprints[hashes.h2]; + return f == 0; +} + +/* ---------- allocate() ---------- */ +/* allocate enough capacity for a set containing up to 'size' elements + caller is responsible to call binary_fuse32_free(filter) + size should be at least 2. */ +static inline bool binary_fuse32_allocate(uint32_t size, + binary_fuse32_t *filter) { + uint32_t arity = 3; + filter->Size = size; + filter->SegmentLength = size == 0 ? 4 : binary_fuse_calculate_segment_length(arity, size); + if (filter->SegmentLength > 262144) { + filter->SegmentLength = 262144; + } + filter->SegmentLengthMask = filter->SegmentLength - 1; + double sizeFactor = size <= 1 ? 0 : binary_fuse_calculate_size_factor(arity, size); + uint32_t capacity = size <= 1 ? 0 : (uint32_t)(round((double)size * sizeFactor)); + uint32_t initSegmentCount = + (capacity + filter->SegmentLength - 1) / filter->SegmentLength - + (arity - 1); + filter->ArrayLength = (initSegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCount = + (filter->ArrayLength + filter->SegmentLength - 1) / filter->SegmentLength; + if (filter->SegmentCount <= arity - 1) { + filter->SegmentCount = 1; + } else { + filter->SegmentCount = filter->SegmentCount - (arity - 1); + } + filter->ArrayLength = + (filter->SegmentCount + arity - 1) * filter->SegmentLength; + filter->SegmentCountLength = filter->SegmentCount * filter->SegmentLength; + filter->Fingerprints = + (uint32_t *)calloc(filter->ArrayLength, sizeof(uint32_t)); + return filter->Fingerprints != NULL; +} + +/* ---------- size_in_bytes() ---------- */ +static inline size_t binary_fuse32_size_in_bytes(const binary_fuse32_t *filter) { + return filter->ArrayLength * sizeof(uint32_t) + sizeof(binary_fuse32_t); +} + +/* ---------- free() ---------- */ +static inline void binary_fuse32_free(binary_fuse32_t *filter) { + free(filter->Fingerprints); + filter->Fingerprints = NULL; + filter->Seed = 0; + filter->Size = 0; + filter->SegmentLength = 0; + filter->SegmentLengthMask = 0; + filter->SegmentCount = 0; + filter->SegmentCountLength = 0; + filter->ArrayLength = 0; +} + +/* ---------- populate() ---------- */ +/* Construct the filter, returns true on success, false on failure. + The algorithm fails when there is insufficient memory. + The caller is responsable for calling binary_fuse32_allocate(size,filter) + before. For best performance, the caller should ensure that there are not too + many duplicated keys. +*/ +static inline bool binary_fuse32_populate(uint64_t *keys, uint32_t size, + binary_fuse32_t *filter) { + if (size != filter->Size) { + return false; + } + + uint64_t rng_counter = 0x726b2b9d438b9d4d; + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + uint64_t *reverseOrder = (uint64_t *)calloc((size + 1), sizeof(uint64_t)); + uint32_t capacity = filter->ArrayLength; + uint32_t *alone = (uint32_t *)malloc(capacity * sizeof(uint32_t)); + uint8_t *t2count = (uint8_t *)calloc(capacity, sizeof(uint8_t)); + uint8_t *reverseH = (uint8_t *)malloc(size * sizeof(uint8_t)); + uint64_t *t2hash = (uint64_t *)calloc(capacity, sizeof(uint64_t)); + + uint32_t blockBits = 1; + while (((uint32_t)1 << blockBits) < filter->SegmentCount) { + blockBits += 1; + } + uint32_t block = ((uint32_t)1 << blockBits); + uint32_t *startPos = (uint32_t *)malloc((1U << blockBits) * sizeof(uint32_t)); + uint32_t h012[5]; + + if ((alone == NULL) || (t2count == NULL) || (reverseH == NULL) || + (t2hash == NULL) || (reverseOrder == NULL) || (startPos == NULL)) { + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + reverseOrder[size] = 1; + for (int loop = 0; true; ++loop) { + if (loop + 1 > XOR_MAX_ITERATIONS) { + /* The probability of this happening is lower than the + the cosmic-ray probability (i.e., a cosmic ray corrupts your system). */ + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return false; + } + + for (uint32_t i = 0; i < block; i++) { + /* important : i * size would overflow as a 32-bit number in some cases. */ + startPos[i] = (uint32_t)(((uint64_t)i * size) >> blockBits); + } + + uint64_t maskblock = block - 1; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = binary_fuse_murmur64(keys[i] + filter->Seed); + uint64_t segment_index = hash >> (64 - blockBits); + while (reverseOrder[startPos[segment_index]] != 0) { + segment_index++; + segment_index &= maskblock; + } + reverseOrder[startPos[segment_index]] = hash; + startPos[segment_index]++; + } + int error = 0; + uint32_t duplicates = 0; + for (uint32_t i = 0; i < size; i++) { + uint64_t hash = reverseOrder[i]; + uint32_t h0 = binary_fuse32_hash(0, hash, filter); + t2count[h0] += 4; + t2hash[h0] ^= hash; + uint32_t h1= binary_fuse32_hash(1, hash, filter); + t2count[h1] += 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + uint32_t h2 = binary_fuse32_hash(2, hash, filter); + t2count[h2] += 4; + t2hash[h2] ^= hash; + t2count[h2] ^= 2U; + if ((t2hash[h0] & t2hash[h1] & t2hash[h2]) == 0) { + if (((t2hash[h0] == 0) && (t2count[h0] == 8)) + || ((t2hash[h1] == 0) && (t2count[h1] == 8)) + || ((t2hash[h2] == 0) && (t2count[h2] == 8))) { + duplicates += 1; + t2count[h0] -= 4; + t2hash[h0] ^= hash; + t2count[h1] -= 4; + t2count[h1] ^= 1U; + t2hash[h1] ^= hash; + t2count[h2] -= 4; + t2count[h2] ^= 2U; + t2hash[h2] ^= hash; + } + } + error = (t2count[h0] < 4) ? 1 : error; + error = (t2count[h1] < 4) ? 1 : error; + error = (t2count[h2] < 4) ? 1 : error; + } + if(error) { + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + continue; + } + + /* End of key addition */ + uint32_t Qsize = 0; + /* Add sets with one key to the queue. */ + for (uint32_t i = 0; i < capacity; i++) { + alone[Qsize] = i; + Qsize += ((t2count[i] >> 2U) == 1) ? 1U : 0U; + } + uint32_t stacksize = 0; + while (Qsize > 0) { + Qsize--; + uint32_t index = alone[Qsize]; + if ((t2count[index] >> 2U) == 1) { + uint64_t hash = t2hash[index]; + + /* h012[0] = binary_fuse32_hash(0, hash, filter); */ + h012[1] = binary_fuse32_hash(1, hash, filter); + h012[2] = binary_fuse32_hash(2, hash, filter); + h012[3] = binary_fuse32_hash(0, hash, filter); /* == h012[0]; */ + h012[4] = h012[1]; + uint8_t found = t2count[index] & 3U; + reverseH[stacksize] = found; + reverseOrder[stacksize] = hash; + stacksize++; + uint32_t other_index1 = h012[found + 1]; + alone[Qsize] = other_index1; + Qsize += ((t2count[other_index1] >> 2U) == 2 ? 1U : 0U); + + t2count[other_index1] -= 4; + t2count[other_index1] ^= binary_fuse_mod3(found + 1); + t2hash[other_index1] ^= hash; + + uint32_t other_index2 = h012[found + 2]; + alone[Qsize] = other_index2; + Qsize += ((t2count[other_index2] >> 2U) == 2 ? 1U : 0U); + t2count[other_index2] -= 4; + t2count[other_index2] ^= binary_fuse_mod3(found + 2); + t2hash[other_index2] ^= hash; + } + } + if (stacksize + duplicates == size) { + /* success */ + size = stacksize; + break; + } + if(duplicates > 0) { + size = (uint32_t)binary_fuse_sort_and_remove_dup(keys, size); + } + memset(reverseOrder, 0, sizeof(uint64_t) * size); + memset(t2count, 0, sizeof(uint8_t) * capacity); + memset(t2hash, 0, sizeof(uint64_t) * capacity); + filter->Seed = binary_fuse_rng_splitmix64(&rng_counter); + } + + for (uint32_t i = size - 1; i < size; i--) { + /* the hash of the key we insert next */ + uint64_t hash = reverseOrder[i]; + uint32_t xor2 = binary_fuse32_fingerprint(hash); + uint8_t found = reverseH[i]; + h012[0] = binary_fuse32_hash(0, hash, filter); + h012[1] = binary_fuse32_hash(1, hash, filter); + h012[2] = binary_fuse32_hash(2, hash, filter); + h012[3] = h012[0]; + h012[4] = h012[1]; + filter->Fingerprints[h012[found]] = (uint32_t)( + (uint32_t)xor2 ^ + (uint32_t)filter->Fingerprints[h012[found + 1]] ^ + (uint32_t)filter->Fingerprints[h012[found + 2]]); + } + free(alone); + free(t2count); + free(reverseH); + free(t2hash); + free(reverseOrder); + free(startPos); + return true; +} + + + +//////////////////// + +static inline size_t binary_fuse16_serialization_bytes(binary_fuse16_t *filter) { + return sizeof(filter->Seed) + sizeof(filter->Size) + sizeof(filter->SegmentLength) + + sizeof(filter->SegmentLengthMask) + sizeof(filter->SegmentCount) + + sizeof(filter->SegmentCountLength) + sizeof(filter->ArrayLength) + + sizeof(uint16_t) * filter->ArrayLength; +} + +static inline size_t binary_fuse8_serialization_bytes(const binary_fuse8_t *filter) { + return sizeof(filter->Seed) + sizeof(filter->Size) + sizeof(filter->SegmentLength) + + sizeof(filter->SegmentCount) + + sizeof(filter->SegmentCountLength) + sizeof(filter->ArrayLength) + + sizeof(uint8_t) * filter->ArrayLength; +} + +// serialize a filter to a buffer, the buffer should have a capacity of at least +// binary_fuse16_serialization_bytes(filter) bytes. +// Native endianess only. +static inline void binary_fuse16_serialize(const binary_fuse16_t *filter, char *buffer) { + memcpy(buffer, &filter->Seed, sizeof(filter->Seed)); + buffer += sizeof(filter->Seed); + memcpy(buffer, &filter->Size, sizeof(filter->Size)); + buffer += sizeof(filter->Size); + memcpy(buffer, &filter->SegmentLength, sizeof(filter->SegmentLength)); + buffer += sizeof(filter->SegmentLength); + memcpy(buffer, &filter->SegmentCount, sizeof(filter->SegmentCount)); + buffer += sizeof(filter->SegmentCount); + memcpy(buffer, &filter->SegmentCountLength, sizeof(filter->SegmentCountLength)); + buffer += sizeof(filter->SegmentCountLength); + memcpy(buffer, &filter->ArrayLength, sizeof(filter->ArrayLength)); + buffer += sizeof(filter->ArrayLength); + memcpy(buffer, filter->Fingerprints, filter->ArrayLength * sizeof(uint16_t)); +} + +// serialize a filter to a buffer, the buffer should have a capacity of at least +// binary_fuse8_serialization_bytes(filter) bytes. +// Native endianess only. +static inline void binary_fuse8_serialize(const binary_fuse8_t *filter, char *buffer) { + memcpy(buffer, &filter->Seed, sizeof(filter->Seed)); + buffer += sizeof(filter->Seed); + memcpy(buffer, &filter->Size, sizeof(filter->Size)); + buffer += sizeof(filter->Size); + memcpy(buffer, &filter->SegmentLength, sizeof(filter->SegmentLength)); + buffer += sizeof(filter->SegmentLength); + memcpy(buffer, &filter->SegmentCount, sizeof(filter->SegmentCount)); + buffer += sizeof(filter->SegmentCount); + memcpy(buffer, &filter->SegmentCountLength, sizeof(filter->SegmentCountLength)); + buffer += sizeof(filter->SegmentCountLength); + memcpy(buffer, &filter->ArrayLength, sizeof(filter->ArrayLength)); + buffer += sizeof(filter->ArrayLength); + memcpy(buffer, filter->Fingerprints, filter->ArrayLength * sizeof(uint8_t)); +} + +// deserialize the main struct fields of a filter from a buffer, returns the buffer position +// immediately after those fields. If you used binary_fuse16_seriliaze the return value will point at +// the start of the `Fingerprints` array. Use this option if you want to allocate your own memory or +// perhaps have the memory `mmap`ed to a file. Nothing is allocated. Do not call binary_fuse16_free +// on the returned pointer. Native endianess only. +static inline const char* binary_fuse16_deserialize_header(binary_fuse16_t* filter, const char* buffer) { + memcpy(&filter->Seed, buffer, sizeof(filter->Seed)); + buffer += sizeof(filter->Seed); + memcpy(&filter->Size, buffer, sizeof(filter->Size)); + buffer += sizeof(filter->Size); + memcpy(&filter->SegmentLength, buffer, sizeof(filter->SegmentLength)); + buffer += sizeof(filter->SegmentLength); + filter->SegmentLengthMask = filter->SegmentLength - 1; + memcpy(&filter->SegmentCount, buffer, sizeof(filter->SegmentCount)); + buffer += sizeof(filter->SegmentCount); + memcpy(&filter->SegmentCountLength, buffer, sizeof(filter->SegmentCountLength)); + buffer += sizeof(filter->SegmentCountLength); + memcpy(&filter->ArrayLength, buffer, sizeof(filter->ArrayLength)); + buffer += sizeof(filter->ArrayLength); + return buffer; +} + +// deserialize a filter from a buffer, returns true on success, false on failure. +// The output will be reallocated, so the caller should call binary_fuse16_free(filter) before +// if the filter was already allocated. The caller needs to call binary_fuse16_free(filter) after. +// The number of bytes read is binary_fuse16_serialization_bytes(output). +// Native endianess only. +static inline bool binary_fuse16_deserialize(binary_fuse16_t * filter, const char *buffer) { + const char* fingerprints = binary_fuse16_deserialize_header(filter, buffer); + filter->Fingerprints = (uint16_t*)malloc(filter->ArrayLength * sizeof(uint16_t)); + if(filter->Fingerprints == NULL) { + return false; + } + memcpy(filter->Fingerprints, fingerprints, filter->ArrayLength * sizeof(uint16_t)); + return true; +} + +// deserialize the main struct fields of a filter from a buffer, returns the buffer position +// immediately after those fields. If you used binary_fuse8_seriliaze the return value will point at +// the start of the `Fingerprints` array. Use this option if you want to allocate your own memory or +// perhaps have the memory `mmap`ed to a file. Nothing is allocated. Do not call binary_fuse8_free +// on the returned pointer. Native endianess only. +static inline const char* binary_fuse8_deserialize_header(binary_fuse8_t* filter, const char* buffer) { + memcpy(&filter->Seed, buffer, sizeof(filter->Seed)); + buffer += sizeof(filter->Seed); + memcpy(&filter->Size, buffer, sizeof(filter->Size)); + buffer += sizeof(filter->Size); + memcpy(&filter->SegmentLength, buffer, sizeof(filter->SegmentLength)); + buffer += sizeof(filter->SegmentLength); + filter->SegmentLengthMask = filter->SegmentLength - 1; + memcpy(&filter->SegmentCount, buffer, sizeof(filter->SegmentCount)); + buffer += sizeof(filter->SegmentCount); + memcpy(&filter->SegmentCountLength, buffer, sizeof(filter->SegmentCountLength)); + buffer += sizeof(filter->SegmentCountLength); + memcpy(&filter->ArrayLength, buffer, sizeof(filter->ArrayLength)); + buffer += sizeof(filter->ArrayLength); + return buffer; +} + +// deserialize a filter from a buffer, returns true on success, false on failure. +// The output will be reallocated, so the caller should call binary_fuse8_free(filter) before +// if the filter was already allocated. The caller needs to call binary_fuse8_free(filter) after. +// The number of bytes read is binary_fuse8_serialization_bytes(output). +// Native endianess only. +static inline bool binary_fuse8_deserialize(binary_fuse8_t * filter, const char *buffer) { + const char* fingerprints = binary_fuse8_deserialize_header(filter, buffer); + filter->Fingerprints = (uint8_t*)malloc(filter->ArrayLength * sizeof(uint8_t)); + if(filter->Fingerprints == NULL) { + return false; + } + memcpy(filter->Fingerprints, fingerprints, filter->ArrayLength * sizeof(uint8_t)); + return true; +} + +// minimal bitfield implementation +#define XOR_bitf_w (sizeof(uint8_t) * 8) +#define XOR_bitf_sz(bits) (((bits) + XOR_bitf_w - 1) / XOR_bitf_w) +#define XOR_bitf_word(bit) (bit / XOR_bitf_w) +#define XOR_bitf_bit(bit) ((1U << (bit % XOR_bitf_w)) % 256) + +#define XOR_ser(buf, lim, src) do { \ + if ((buf) + sizeof src > (lim)) \ + return (0); \ + memcpy(buf, &src, sizeof src); \ + buf += sizeof src; \ +} while (0) + +#define XOR_deser(dst, buf, lim) do { \ + if ((buf) + sizeof dst > (lim)) \ + return (false); \ + memcpy(&dst, buf, sizeof dst); \ + buf += sizeof dst; \ +} while (0) + +// return required space for binary_fuse{8,16}_pack() +#define XOR_bytesf(fuse) \ +static inline size_t binary_ ## fuse ## _pack_bytes(const binary_ ## fuse ## _t *filter) \ +{ \ + size_t sz = 0; \ + sz += sizeof filter->Seed; \ + sz += sizeof filter->Size; \ + sz += XOR_bitf_sz(filter->ArrayLength); \ + for (size_t i = 0; i < filter->ArrayLength; i++) { \ + if (filter->Fingerprints[i] == 0) \ + continue; \ + sz += sizeof filter->Fingerprints[i]; \ + } \ + return (sz); \ +} + +// serialize as packed format, return size used or 0 for insufficient space +#define XOR_packf(fuse) \ +static inline size_t binary_ ## fuse ## _pack(const binary_ ## fuse ## _t *filter, char *buffer, size_t space) { \ + uint8_t *s = (uint8_t *)(void *)buffer; \ + uint8_t *buf = s, *e = buf + space; \ + \ + XOR_ser(buf, e, filter->Seed); \ + XOR_ser(buf, e, filter->Size); \ + size_t bsz = XOR_bitf_sz(filter->ArrayLength); \ + if (buf + bsz > e) \ + return (0); \ + uint8_t *bitf = buf; \ + memset(bitf, 0, bsz); \ + buf += bsz; \ + \ + for (size_t i = 0; i < filter->ArrayLength; i++) { \ + if (filter->Fingerprints[i] == 0) \ + continue; \ + bitf[XOR_bitf_word(i)] |= XOR_bitf_bit(i); \ + XOR_ser(buf, e, filter->Fingerprints[i]); \ + } \ + return ((size_t)(buf - s)); \ +} + +#define XOR_unpackf(fuse) \ +static inline bool binary_ ## fuse ## _unpack(binary_ ## fuse ## _t *filter, const char *buffer, size_t len) \ +{ \ + const uint8_t *s = (const uint8_t *)(const void *)buffer; \ + const uint8_t *buf = s, *e = buf + len; \ + bool r; \ + \ + uint64_t Seed; \ + uint32_t Size; \ + \ + memset(filter, 0, sizeof *filter); \ + XOR_deser(Seed, buf, e); \ + XOR_deser(Size, buf, e); \ + r = binary_ ## fuse ## _allocate(Size, filter); \ + if (! r) \ + return (r); \ + filter->Seed = Seed; \ + const uint8_t *bitf = buf; \ + buf += XOR_bitf_sz(filter->ArrayLength); \ + for (size_t i = 0; i < filter->ArrayLength; i++) { \ + if ((bitf[XOR_bitf_word(i)] & XOR_bitf_bit(i)) == 0) \ + continue; \ + XOR_deser(filter->Fingerprints[i], buf, e); \ + } \ + return (true); \ +} + +#define XOR_packers(fuse) \ +XOR_bytesf(fuse) \ +XOR_packf(fuse) \ +XOR_unpackf(fuse) \ + +XOR_packers(fuse8) +XOR_packers(fuse16) + +#undef XOR_packers +#undef XOR_bytesf +#undef XOR_packf +#undef XOR_unpackf + +#undef XOR_bitf_w +#undef XOR_bitf_sz +#undef XOR_bitf_word +#undef XOR_bitf_bit +#undef XOR_ser +#undef XOR_deser + +#endif diff --git a/fusefilter/xorfilter.h b/fusefilter/xorfilter.h new file mode 100644 index 00000000..a07d3978 --- /dev/null +++ b/fusefilter/xorfilter.h @@ -0,0 +1,1457 @@ +#ifndef XORFILTER_H +#define XORFILTER_H +#include +#include +#include +#include +#include +#include + +#ifndef XOR_SORT_ITERATIONS +#define XOR_SORT_ITERATIONS 10 // after 10 iterations, we sort and remove duplicates +#endif + +#ifndef XOR_MAX_ITERATIONS +// probabillity of success should always be > 0.5 so 100 iterations is highly unlikely +#define XOR_MAX_ITERATIONS 100 +#endif + + +static int xor_cmpfunc(const void * a, const void * b) { + return (int)( *(const uint64_t*)a - *(const uint64_t*)b ); +} + +static size_t xor_sort_and_remove_dup(uint64_t* keys, size_t length) { + qsort(keys, length, sizeof(uint64_t), xor_cmpfunc); + size_t j = 1; + for(size_t i = 1; i < length; i++) { + if(keys[i] != keys[i-1]) { + keys[j] = keys[i]; + j++; + } + } + return j; +} +/** + * We assume that you have a large set of 64-bit integers + * and you want a data structure to do membership tests using + * no more than ~8 or ~16 bits per key. If your initial set + * is made of strings or other types, you first need to hash them + * to a 64-bit integer. + */ + +/** + * We start with a few utilities. + ***/ +static inline uint64_t xor_murmur64(uint64_t h) { + h ^= h >> 33U; + h *= UINT64_C(0xff51afd7ed558ccd); + h ^= h >> 33U; + h *= UINT64_C(0xc4ceb9fe1a85ec53); + h ^= h >> 33U; + return h; +} + +static inline uint64_t xor_mix_split(uint64_t key, uint64_t seed) { + return xor_murmur64(key + seed); +} + +static inline uint64_t xor_rotl64(uint64_t n, unsigned int c) { + return (n << (c & 63U)) | (n >> ((-c) & 63U)); +} + +static inline uint32_t xor_reduce(uint32_t hash, uint32_t n) { + // http://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/ + return (uint32_t)(((uint64_t)hash * n) >> 32U); +} + +static inline uint64_t xor_fingerprint(uint64_t hash) { + return hash ^ (hash >> 32U); +} + +/** + * We need a decent random number generator. + **/ + +// returns random number, modifies the seed +static inline uint64_t xor_rng_splitmix64(uint64_t *seed) { + uint64_t z = (*seed += UINT64_C(0x9E3779B97F4A7C15)); + z = (z ^ (z >> 30U)) * UINT64_C(0xBF58476D1CE4E5B9); + z = (z ^ (z >> 27U)) * UINT64_C(0x94D049BB133111EB); + return z ^ (z >> 31U); +} + +/** + * xor8 is the recommended default, no more than + * a 0.3% false-positive probability. + */ +typedef struct xor8_s { + uint64_t seed; + uint64_t blockLength; + uint8_t + *fingerprints; // after xor8_allocate, will point to 3*blockLength values +} xor8_t; + +// Report if the key is in the set, with false positive rate. +static inline bool xor8_contain(uint64_t key, const xor8_t *filter) { + uint64_t hash = xor_mix_split(key, filter->seed); + uint8_t f = (uint8_t)xor_fingerprint(hash); + uint32_t r0 = (uint32_t)hash; + uint32_t r1 = (uint32_t)xor_rotl64(hash, 21); + uint32_t r2 = (uint32_t)xor_rotl64(hash, 42); + uint32_t h0 = xor_reduce(r0, (uint32_t)filter->blockLength); + uint32_t h1 = xor_reduce(r1, (uint32_t)filter->blockLength) + (uint32_t)filter->blockLength; + uint32_t h2 = xor_reduce(r2, (uint32_t)filter->blockLength) + 2 * (uint32_t)filter->blockLength; + return f == ((uint32_t)filter->fingerprints[h0] ^ + filter->fingerprints[h1] ^ + filter->fingerprints[h2]); +} + +typedef struct xor16_s { + uint64_t seed; + uint64_t blockLength; + uint16_t + *fingerprints; // after xor16_allocate, will point to 3*blockLength values +} xor16_t; + +// Report if the key is in the set, with false positive rate. +static inline bool xor16_contain(uint64_t key, const xor16_t *filter) { + uint64_t hash = xor_mix_split(key, filter->seed); + uint16_t f = (uint16_t)xor_fingerprint(hash); + uint32_t r0 = (uint32_t)hash; + uint32_t r1 = (uint32_t)xor_rotl64(hash, 21); + uint32_t r2 = (uint32_t)xor_rotl64(hash, 42); + uint32_t h0 = xor_reduce(r0, (uint32_t)filter->blockLength); + uint32_t h1 = xor_reduce(r1, (uint32_t)filter->blockLength) + (uint32_t)filter->blockLength; + uint32_t h2 = xor_reduce(r2, (uint32_t)filter->blockLength) + 2 * (uint32_t)filter->blockLength; + return f == ((uint32_t)filter->fingerprints[h0] ^ + filter->fingerprints[h1] ^ + filter->fingerprints[h2]); +} + +// allocate enough capacity for a set containing up to 'size' elements +// caller is responsible to call xor8_free(filter) +static inline bool xor8_allocate(uint32_t size, xor8_t *filter) { + size_t capacity = (size_t)(32 + 1.23 * size); + capacity = capacity / 3 * 3; + filter->fingerprints = (uint8_t *)malloc(capacity * sizeof(uint8_t)); + if (filter->fingerprints != NULL) { + filter->blockLength = capacity / 3; + return true; + } + return false; +} + +// allocate enough capacity for a set containing up to 'size' elements +// caller is responsible to call xor16_free(filter) +static inline bool xor16_allocate(uint32_t size, xor16_t *filter) { + size_t capacity = (size_t)(32 + 1.23 * size); + capacity = capacity / 3 * 3; + filter->fingerprints = (uint16_t *)malloc(capacity * sizeof(uint16_t)); + if (filter->fingerprints != NULL) { + filter->blockLength = capacity / 3; + return true; + } + return false; +} + +// report memory usage +static inline size_t xor8_size_in_bytes(const xor8_t *filter) { + return 3 * (size_t)(filter->blockLength) * sizeof(uint8_t) + sizeof(xor8_t); +} + +// report memory usage +static inline size_t xor16_size_in_bytes(const xor16_t *filter) { + return 3 * (size_t)(filter->blockLength) * sizeof(uint16_t) + sizeof(xor16_t); +} + +// release memory +static inline void xor8_free(xor8_t *filter) { + free(filter->fingerprints); + filter->fingerprints = NULL; + filter->blockLength = 0; +} + +// release memory +static inline void xor16_free(xor16_t *filter) { + free(filter->fingerprints); + filter->fingerprints = NULL; + filter->blockLength = 0; +} + +struct xor_xorset_s { + uint64_t xormask; + uint32_t count; +}; + +typedef struct xor_xorset_s xor_xorset_t; + +struct xor_hashes_s { + uint64_t h; + uint32_t h0; + uint32_t h1; + uint32_t h2; +}; + +typedef struct xor_hashes_s xor_hashes_t; + +static inline xor_hashes_t xor8_get_h0_h1_h2(uint64_t k, const xor8_t *filter) { + uint64_t hash = xor_mix_split(k, filter->seed); + xor_hashes_t answer; + answer.h = hash; + uint32_t r0 = (uint32_t)hash; + uint32_t r1 = (uint32_t)xor_rotl64(hash, 21); + uint32_t r2 = (uint32_t)xor_rotl64(hash, 42); + + answer.h0 = xor_reduce(r0, (uint32_t)filter->blockLength); + answer.h1 = xor_reduce(r1, (uint32_t)filter->blockLength); + answer.h2 = xor_reduce(r2, (uint32_t)filter->blockLength); + return answer; +} + +struct xor_h0h1h2_s { + uint32_t h0; + uint32_t h1; + uint32_t h2; +}; + +typedef struct xor_h0h1h2_s xor_h0h1h2_t; + +static inline uint32_t xor8_get_h0(uint64_t hash, const xor8_t *filter) { + uint32_t r0 = (uint32_t)hash; + return xor_reduce(r0, (uint32_t)filter->blockLength); +} +static inline uint32_t xor8_get_h1(uint64_t hash, const xor8_t *filter) { + uint32_t r1 = (uint32_t)xor_rotl64(hash, 21); + return xor_reduce(r1, (uint32_t)filter->blockLength); +} +static inline uint32_t xor8_get_h2(uint64_t hash, const xor8_t *filter) { + uint32_t r2 = (uint32_t)xor_rotl64(hash, 42); + return xor_reduce(r2, (uint32_t)filter->blockLength); +} +static inline uint32_t xor16_get_h0(uint64_t hash, const xor16_t *filter) { + uint32_t r0 = (uint32_t)hash; + return xor_reduce(r0, (uint32_t)filter->blockLength); +} +static inline uint32_t xor16_get_h1(uint64_t hash, const xor16_t *filter) { + uint32_t r1 = (uint32_t)xor_rotl64(hash, 21); + return xor_reduce(r1, (uint32_t)filter->blockLength); +} +static inline uint32_t xor16_get_h2(uint64_t hash, const xor16_t *filter) { + uint32_t r2 = (uint32_t)xor_rotl64(hash, 42); + return xor_reduce(r2, (uint32_t)filter->blockLength); +} +static inline xor_hashes_t xor16_get_h0_h1_h2(uint64_t k, + const xor16_t *filter) { + uint64_t hash = xor_mix_split(k, filter->seed); + xor_hashes_t answer; + answer.h = hash; + uint32_t r0 = (uint32_t)hash; + uint32_t r1 = (uint32_t)xor_rotl64(hash, 21); + uint32_t r2 = (uint32_t)xor_rotl64(hash, 42); + + answer.h0 = xor_reduce(r0, (uint32_t)filter->blockLength); + answer.h1 = xor_reduce(r1, (uint32_t)filter->blockLength); + answer.h2 = xor_reduce(r2, (uint32_t)filter->blockLength); + return answer; +} + +struct xor_keyindex_s { + uint64_t hash; + uint32_t index; +}; + +typedef struct xor_keyindex_s xor_keyindex_t; + +struct xor_setbuffer_s { + xor_keyindex_t *buffer; + uint32_t *counts; + int insignificantbits; // should be an unsigned type to avoid a lot of casts + uint32_t slotsize; // should be 1<< insignificantbits + uint32_t slotcount; + size_t originalsize; +}; + +typedef struct xor_setbuffer_s xor_setbuffer_t; + +static inline bool xor_init_buffer(xor_setbuffer_t *buffer, size_t size) { + buffer->originalsize = size; + buffer->insignificantbits = 18; + buffer->slotsize = UINT32_C(1) << (uint32_t)buffer->insignificantbits; + buffer->slotcount = (uint32_t)(size + buffer->slotsize - 1) / buffer->slotsize; + buffer->buffer = (xor_keyindex_t *)malloc( + (size_t)buffer->slotcount * buffer->slotsize * sizeof(xor_keyindex_t)); + buffer->counts = (uint32_t *)malloc(buffer->slotcount * sizeof(uint32_t)); + if ((buffer->counts == NULL) || (buffer->buffer == NULL)) { + free(buffer->counts); + free(buffer->buffer); + return false; + } + memset(buffer->counts, 0, buffer->slotcount * sizeof(uint32_t)); + return true; +} + +static inline void xor_free_buffer(xor_setbuffer_t *buffer) { + free(buffer->counts); + free(buffer->buffer); + buffer->counts = NULL; + buffer->buffer = NULL; +} + +static inline void xor_buffered_increment_counter(uint32_t index, uint64_t hash, + xor_setbuffer_t *buffer, + xor_xorset_t *sets) { + uint32_t slot = index >> (uint32_t)buffer->insignificantbits; + size_t addr = buffer->counts[slot] + (slot << (uint32_t)buffer->insignificantbits); + buffer->buffer[addr].index = index; + buffer->buffer[addr].hash = hash; + buffer->counts[slot]++; + size_t offset = (slot << (uint32_t)buffer->insignificantbits); + if (buffer->counts[slot] == buffer->slotsize) { + // must empty the buffer + for (size_t i = offset; i < buffer->slotsize + offset; i++) { + xor_keyindex_t ki = + buffer->buffer[i]; + sets[ki.index].xormask ^= ki.hash; + sets[ki.index].count++; + } + buffer->counts[slot] = 0; + } +} + +static inline void xor_make_buffer_current(xor_setbuffer_t *buffer, + xor_xorset_t *sets, uint32_t index, + xor_keyindex_t *Q, size_t *Qsize) { + uint32_t slot = index >> (uint32_t)buffer->insignificantbits; + if(buffer->counts[slot] > 0) { // uncommon! + size_t qsize = *Qsize; + size_t offset = (slot << (uint32_t)buffer->insignificantbits); + for (size_t i = offset; i < buffer->counts[slot] + offset; i++) { + xor_keyindex_t ki = buffer->buffer[i]; + sets[ki.index].xormask ^= ki.hash; + sets[ki.index].count--; + if (sets[ki.index].count == 1) {// this branch might be hard to predict + ki.hash = sets[ki.index].xormask; + Q[qsize] = ki; + qsize += 1; + } + } + *Qsize = qsize; + buffer->counts[slot] = 0; + } +} + + + +static inline void xor_buffered_decrement_counter(uint32_t index, uint64_t hash, + xor_setbuffer_t *buffer, + xor_xorset_t *sets, + xor_keyindex_t *Q, + size_t *Qsize) { + uint32_t slot = index >> (uint32_t)buffer->insignificantbits; + size_t addr = buffer->counts[slot] + (slot << (uint32_t)buffer->insignificantbits); + buffer->buffer[addr].index = index; + buffer->buffer[addr].hash = hash; + buffer->counts[slot]++; + if (buffer->counts[slot] == buffer->slotsize) { + size_t qsize = *Qsize; + size_t offset = (slot << (uint32_t)buffer->insignificantbits); + for (size_t i = offset; i < buffer->counts[slot] + offset; i++) { + xor_keyindex_t ki = + buffer->buffer[i]; + sets[ki.index].xormask ^= ki.hash; + sets[ki.index].count--; + if (sets[ki.index].count == 1) { + ki.hash = sets[ki.index].xormask; + Q[qsize] = ki; + qsize += 1; + } + } + *Qsize = qsize; + buffer->counts[slot] = 0; + } +} + +static inline void xor_flush_increment_buffer(xor_setbuffer_t *buffer, + xor_xorset_t *sets) { + for (uint32_t slot = 0; slot < buffer->slotcount; slot++) { + size_t offset = (slot << (uint32_t)buffer->insignificantbits); + for (size_t i = offset; i < buffer->counts[slot] + offset; i++) { + xor_keyindex_t ki = + buffer->buffer[i]; + sets[ki.index].xormask ^= ki.hash; + sets[ki.index].count++; + } + buffer->counts[slot] = 0; + } +} + +static inline void xor_flush_decrement_buffer(xor_setbuffer_t *buffer, + xor_xorset_t *sets, + xor_keyindex_t *Q, + size_t *Qsize) { + size_t qsize = *Qsize; + for (uint32_t slot = 0; slot < buffer->slotcount; slot++) { + uint32_t base = (slot << (uint32_t)buffer->insignificantbits); + for (size_t i = base; i < buffer->counts[slot] + base; i++) { + xor_keyindex_t ki = buffer->buffer[i]; + sets[ki.index].xormask ^= ki.hash; + sets[ki.index].count--; + if (sets[ki.index].count == 1) { + ki.hash = sets[ki.index].xormask; + Q[qsize] = ki; + qsize += 1; + } + } + buffer->counts[slot] = 0; + } + *Qsize = qsize; +} + +static inline uint32_t xor_flushone_decrement_buffer(xor_setbuffer_t *buffer, + xor_xorset_t *sets, + xor_keyindex_t *Q, + size_t *Qsize) { + uint32_t bestslot = 0; + uint32_t bestcount = buffer->counts[bestslot]; + for (uint32_t slot = 1; slot < buffer->slotcount; slot++) { + if (buffer->counts[slot] > bestcount) { + bestslot = slot; + bestcount = buffer->counts[slot]; + } + } + uint32_t slot = bestslot; + size_t qsize = *Qsize; + // for(uint32_t slot = 0; slot < buffer->slotcount; slot++) { + uint32_t base = (slot << (uint32_t)buffer->insignificantbits); + for (size_t i = base; i < buffer->counts[slot] + base; i++) { + xor_keyindex_t ki = buffer->buffer[i]; + sets[ki.index].xormask ^= ki.hash; + sets[ki.index].count--; + if (sets[ki.index].count == 1) { + ki.hash = sets[ki.index].xormask; + Q[qsize] = ki; + qsize += 1; + } + } + *Qsize = qsize; + buffer->counts[slot] = 0; + //} + return bestslot; +} + +// Construct the filter, returns true on success, false on failure. +// The algorithm fails when there is insufficient memory. +// The caller is responsable for calling xor8_allocate(size,filter) +// before. For best performance, the caller should ensure that there are not too +// many duplicated keys. +static inline bool xor8_buffered_populate(uint64_t *keys, uint32_t size, xor8_t *filter) { + if(size == 0) { return false; } + uint64_t rng_counter = 1; + filter->seed = xor_rng_splitmix64(&rng_counter); + size_t arrayLength = (size_t)(filter->blockLength) * 3; // size of the backing array + xor_setbuffer_t buffer0, buffer1, buffer2; + size_t blockLength = (size_t)(filter->blockLength); + bool ok0 = xor_init_buffer(&buffer0, blockLength); + bool ok1 = xor_init_buffer(&buffer1, blockLength); + bool ok2 = xor_init_buffer(&buffer2, blockLength); + if (!ok0 || !ok1 || !ok2) { + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + return false; + } + + xor_xorset_t *sets = + (xor_xorset_t *)malloc(arrayLength * sizeof(xor_xorset_t)); + xor_xorset_t *sets0 = sets; + + xor_keyindex_t *Q = + (xor_keyindex_t *)malloc(arrayLength * sizeof(xor_keyindex_t)); + + xor_keyindex_t *stack = + (xor_keyindex_t *)malloc(size * sizeof(xor_keyindex_t)); + + if ((sets == NULL) || (Q == NULL) || (stack == NULL)) { + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + free(sets); + free(Q); + free(stack); + return false; + } + xor_xorset_t *sets1 = sets + blockLength; + xor_xorset_t *sets2 = sets + 2 * blockLength; + xor_keyindex_t *Q0 = Q; + xor_keyindex_t *Q1 = Q + blockLength; + xor_keyindex_t *Q2 = Q + 2 * blockLength; + + int iterations = 0; + + while (true) { + iterations ++; + if(iterations == XOR_SORT_ITERATIONS) { + size = (uint32_t)xor_sort_and_remove_dup(keys, size); + } + if(iterations > XOR_MAX_ITERATIONS) { + // The probability of this happening is lower than the + // the cosmic-ray probability (i.e., a cosmic ray corrupts your system). + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + free(sets); + free(Q); + free(stack); + return false; + } + memset(sets, 0, sizeof(xor_xorset_t) * arrayLength); + for (size_t i = 0; i < size; i++) { + uint64_t key = keys[i]; + xor_hashes_t hs = xor8_get_h0_h1_h2(key, filter); + xor_buffered_increment_counter(hs.h0, hs.h, &buffer0, sets0); + xor_buffered_increment_counter(hs.h1, hs.h, &buffer1, + sets1); + xor_buffered_increment_counter(hs.h2, hs.h, &buffer2, + sets2); + } + xor_flush_increment_buffer(&buffer0, sets0); + xor_flush_increment_buffer(&buffer1, sets1); + xor_flush_increment_buffer(&buffer2, sets2); + // todo: the flush should be sync with the detection that follows + // scan for values with a count of one + size_t Q0size = 0, Q1size = 0, Q2size = 0; + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets0[i].count == 1) { + Q0[Q0size].index = (uint32_t)i; + Q0[Q0size].hash = sets0[i].xormask; + Q0size++; + } + } + + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets1[i].count == 1) { + Q1[Q1size].index = (uint32_t)i; + Q1[Q1size].hash = sets1[i].xormask; + Q1size++; + } + } + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets2[i].count == 1) { + Q2[Q2size].index = (uint32_t)i; + Q2[Q2size].hash = sets2[i].xormask; + Q2size++; + } + } + + size_t stack_size = 0; + while (Q0size + Q1size + Q2size > 0) { + while (Q0size > 0) { + xor_keyindex_t keyindex = Q0[--Q0size]; + size_t index = keyindex.index; + xor_make_buffer_current(&buffer0, sets0, (uint32_t)index, Q0, &Q0size); + + if (sets0[index].count == 0) + continue; // not actually possible after the initial scan. + //sets0[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h1 = xor8_get_h1(hash, filter); + uint32_t h2 = xor8_get_h2(hash, filter); + + stack[stack_size] = keyindex; + stack_size++; + xor_buffered_decrement_counter(h1, hash, &buffer1, sets1, + Q1, &Q1size); + xor_buffered_decrement_counter(h2, hash, &buffer2, + sets2, Q2, &Q2size); + } + if (Q1size == 0) + xor_flushone_decrement_buffer(&buffer1, sets1, Q1, &Q1size); + + while (Q1size > 0) { + xor_keyindex_t keyindex = Q1[--Q1size]; + size_t index = keyindex.index; + xor_make_buffer_current(&buffer1, sets1, (uint32_t)index, Q1, &Q1size); + + if (sets1[index].count == 0) + continue; + //sets1[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h0 = xor8_get_h0(hash, filter); + uint32_t h2 = xor8_get_h2(hash, filter); + keyindex.index += (uint32_t)blockLength; + stack[stack_size] = keyindex; + stack_size++; + xor_buffered_decrement_counter(h0, hash, &buffer0, sets0, Q0, &Q0size); + xor_buffered_decrement_counter(h2, hash, &buffer2, + sets2, Q2, &Q2size); + } + if (Q2size == 0) + xor_flushone_decrement_buffer(&buffer2, sets2, Q2, &Q2size); + while (Q2size > 0) { + xor_keyindex_t keyindex = Q2[--Q2size]; + size_t index = keyindex.index; + xor_make_buffer_current(&buffer2, sets2, (uint32_t)index, Q2, &Q2size); + if (sets2[index].count == 0) + continue; + + //sets2[index].count = 0; + uint64_t hash = keyindex.hash; + + uint32_t h0 = xor8_get_h0(hash, filter); + uint32_t h1 = xor8_get_h1(hash, filter); + keyindex.index += 2 * (uint32_t)blockLength; + + stack[stack_size] = keyindex; + stack_size++; + xor_buffered_decrement_counter(h0, hash, &buffer0, sets0, Q0, &Q0size); + xor_buffered_decrement_counter(h1, hash, &buffer1, sets1, + Q1, &Q1size); + } + if (Q0size == 0) + xor_flushone_decrement_buffer(&buffer0, sets0, Q0, &Q0size); + if ((Q0size + Q1size + Q2size == 0) && (stack_size < size)) { + // this should basically never happen + xor_flush_decrement_buffer(&buffer0, sets0, Q0, &Q0size); + xor_flush_decrement_buffer(&buffer1, sets1, Q1, &Q1size); + xor_flush_decrement_buffer(&buffer2, sets2, Q2, &Q2size); + } + } + if (stack_size == size) { + // success + break; + } + + filter->seed = xor_rng_splitmix64(&rng_counter); + } + uint8_t * fingerprints0 = filter->fingerprints; + uint8_t * fingerprints1 = filter->fingerprints + blockLength; + uint8_t * fingerprints2 = filter->fingerprints + 2 * blockLength; + + size_t stack_size = size; + while (stack_size > 0) { + xor_keyindex_t ki = stack[--stack_size]; + uint64_t val = xor_fingerprint(ki.hash); + if(ki.index < blockLength) { + val ^= (uint32_t)fingerprints1[xor8_get_h1(ki.hash,filter)] ^ fingerprints2[xor8_get_h2(ki.hash,filter)]; + } else if(ki.index < 2 * blockLength) { + val ^= (uint32_t)fingerprints0[xor8_get_h0(ki.hash,filter)] ^ fingerprints2[xor8_get_h2(ki.hash,filter)]; + } else { + val ^= (uint32_t)fingerprints0[xor8_get_h0(ki.hash,filter)] ^ fingerprints1[xor8_get_h1(ki.hash,filter)]; + } + filter->fingerprints[ki.index] = (uint8_t)val; + } + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + + free(sets); + free(Q); + free(stack); + return true; +} + +// Construct the filter, returns true on success, false on failure. +// The algorithm fails when there is insufficient memory. +// The caller is responsable for calling xor8_allocate(size,filter) +// before. For best performance, the caller should ensure that there are not too +// many duplicated keys. +static inline bool xor8_populate(uint64_t *keys, uint32_t size, xor8_t *filter) { + if(size == 0) { return false; } + uint64_t rng_counter = 1; + filter->seed = xor_rng_splitmix64(&rng_counter); + size_t arrayLength = (size_t)(filter->blockLength) * 3; // size of the backing array + size_t blockLength = (size_t)(filter->blockLength); + + xor_xorset_t *sets = + (xor_xorset_t *)malloc(arrayLength * sizeof(xor_xorset_t)); + + xor_keyindex_t *Q = + (xor_keyindex_t *)malloc(arrayLength * sizeof(xor_keyindex_t)); + + xor_keyindex_t *stack = + (xor_keyindex_t *)malloc(size * sizeof(xor_keyindex_t)); + + if ((sets == NULL) || (Q == NULL) || (stack == NULL)) { + free(sets); + free(Q); + free(stack); + return false; + } + xor_xorset_t *sets0 = sets; + xor_xorset_t *sets1 = sets + blockLength; + xor_xorset_t *sets2 = sets + 2 * blockLength; + xor_keyindex_t *Q0 = Q; + xor_keyindex_t *Q1 = Q + blockLength; + xor_keyindex_t *Q2 = Q + 2 * blockLength; + + int iterations = 0; + + while (true) { + iterations ++; + if(iterations == XOR_SORT_ITERATIONS) { + size = (uint32_t)xor_sort_and_remove_dup(keys, size); + } + if(iterations > XOR_MAX_ITERATIONS) { + // The probability of this happening is lower than the + // the cosmic-ray probability (i.e., a cosmic ray corrupts your system). + free(sets); + free(Q); + free(stack); + return false; + } + + memset(sets, 0, sizeof(xor_xorset_t) * arrayLength); + for (size_t i = 0; i < size; i++) { + uint64_t key = keys[i]; + xor_hashes_t hs = xor8_get_h0_h1_h2(key, filter); + sets0[hs.h0].xormask ^= hs.h; + sets0[hs.h0].count++; + sets1[hs.h1].xormask ^= hs.h; + sets1[hs.h1].count++; + sets2[hs.h2].xormask ^= hs.h; + sets2[hs.h2].count++; + } + // todo: the flush should be sync with the detection that follows + // scan for values with a count of one + size_t Q0size = 0, Q1size = 0, Q2size = 0; + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets0[i].count == 1) { + Q0[Q0size].index = (uint32_t)i; + Q0[Q0size].hash = sets0[i].xormask; + Q0size++; + } + } + + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets1[i].count == 1) { + Q1[Q1size].index = (uint32_t)i; + Q1[Q1size].hash = sets1[i].xormask; + Q1size++; + } + } + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets2[i].count == 1) { + Q2[Q2size].index = (uint32_t)i; + Q2[Q2size].hash = sets2[i].xormask; + Q2size++; + } + } + + size_t stack_size = 0; + while (Q0size + Q1size + Q2size > 0) { + while (Q0size > 0) { + xor_keyindex_t keyindex = Q0[--Q0size]; + size_t index = keyindex.index; + if (sets0[index].count == 0) + continue; // not actually possible after the initial scan. + //sets0[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h1 = xor8_get_h1(hash, filter); + uint32_t h2 = xor8_get_h2(hash, filter); + + stack[stack_size] = keyindex; + stack_size++; + sets1[h1].xormask ^= hash; + sets1[h1].count--; + if (sets1[h1].count == 1) { + Q1[Q1size].index = h1; + Q1[Q1size].hash = sets1[h1].xormask; + Q1size++; + } + sets2[h2].xormask ^= hash; + sets2[h2].count--; + if (sets2[h2].count == 1) { + Q2[Q2size].index = h2; + Q2[Q2size].hash = sets2[h2].xormask; + Q2size++; + } + } + while (Q1size > 0) { + xor_keyindex_t keyindex = Q1[--Q1size]; + size_t index = keyindex.index; + if (sets1[index].count == 0) + continue; + //sets1[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h0 = xor8_get_h0(hash, filter); + uint32_t h2 = xor8_get_h2(hash, filter); + keyindex.index += (uint32_t)blockLength; + stack[stack_size] = keyindex; + stack_size++; + sets0[h0].xormask ^= hash; + sets0[h0].count--; + if (sets0[h0].count == 1) { + Q0[Q0size].index = h0; + Q0[Q0size].hash = sets0[h0].xormask; + Q0size++; + } + sets2[h2].xormask ^= hash; + sets2[h2].count--; + if (sets2[h2].count == 1) { + Q2[Q2size].index = h2; + Q2[Q2size].hash = sets2[h2].xormask; + Q2size++; + } + } + while (Q2size > 0) { + xor_keyindex_t keyindex = Q2[--Q2size]; + size_t index = keyindex.index; + if (sets2[index].count == 0) + continue; + + //sets2[index].count = 0; + uint64_t hash = keyindex.hash; + + uint32_t h0 = xor8_get_h0(hash, filter); + uint32_t h1 = xor8_get_h1(hash, filter); + keyindex.index += 2 * (uint32_t)blockLength; + + stack[stack_size] = keyindex; + stack_size++; + sets0[h0].xormask ^= hash; + sets0[h0].count--; + if (sets0[h0].count == 1) { + Q0[Q0size].index = h0; + Q0[Q0size].hash = sets0[h0].xormask; + Q0size++; + } + sets1[h1].xormask ^= hash; + sets1[h1].count--; + if (sets1[h1].count == 1) { + Q1[Q1size].index = h1; + Q1[Q1size].hash = sets1[h1].xormask; + Q1size++; + } + + } + } + if (stack_size == size) { + // success + break; + } + + filter->seed = xor_rng_splitmix64(&rng_counter); + } + uint8_t * fingerprints0 = filter->fingerprints; + uint8_t * fingerprints1 = filter->fingerprints + blockLength; + uint8_t * fingerprints2 = filter->fingerprints + 2 * blockLength; + + size_t stack_size = size; + while (stack_size > 0) { + xor_keyindex_t ki = stack[--stack_size]; + uint64_t val = xor_fingerprint(ki.hash); + if(ki.index < blockLength) { + val ^= (uint32_t)fingerprints1[xor8_get_h1(ki.hash,filter)] ^ fingerprints2[xor8_get_h2(ki.hash,filter)]; + } else if(ki.index < 2 * blockLength) { + val ^= (uint32_t)fingerprints0[xor8_get_h0(ki.hash,filter)] ^ fingerprints2[xor8_get_h2(ki.hash,filter)]; + } else { + val ^= (uint32_t)fingerprints0[xor8_get_h0(ki.hash,filter)] ^ fingerprints1[xor8_get_h1(ki.hash,filter)]; + } + filter->fingerprints[ki.index] = (uint8_t)val; + } + + free(sets); + free(Q); + free(stack); + return true; +} + + +// Construct the filter, returns true on success, false on failure. +// The algorithm fails when there is insufficient memory. +// The caller is responsable for calling xor16_allocate(size,filter) +// before. For best performance, the caller should ensure that there are not too +// many duplicated keys. +static inline bool xor16_buffered_populate(uint64_t *keys, uint32_t size, xor16_t *filter) { + if(size == 0) { return false; } + uint64_t rng_counter = 1; + filter->seed = xor_rng_splitmix64(&rng_counter); + size_t arrayLength = (size_t)(filter->blockLength) * 3; // size of the backing array + xor_setbuffer_t buffer0, buffer1, buffer2; + size_t blockLength = (size_t)(filter->blockLength); + bool ok0 = xor_init_buffer(&buffer0, blockLength); + bool ok1 = xor_init_buffer(&buffer1, blockLength); + bool ok2 = xor_init_buffer(&buffer2, blockLength); + if (!ok0 || !ok1 || !ok2) { + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + return false; + } + + xor_xorset_t *sets = + (xor_xorset_t *)malloc(arrayLength * sizeof(xor_xorset_t)); + + xor_keyindex_t *Q = + (xor_keyindex_t *)malloc(arrayLength * sizeof(xor_keyindex_t)); + + xor_keyindex_t *stack = + (xor_keyindex_t *)malloc(size * sizeof(xor_keyindex_t)); + + if ((sets == NULL) || (Q == NULL) || (stack == NULL)) { + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + free(sets); + free(Q); + free(stack); + return false; + } + xor_xorset_t *sets0 = sets; + xor_xorset_t *sets1 = sets + blockLength; + xor_xorset_t *sets2 = sets + 2 * blockLength; + xor_keyindex_t *Q0 = Q; + xor_keyindex_t *Q1 = Q + blockLength; + xor_keyindex_t *Q2 = Q + 2 * blockLength; + + int iterations = 0; + + while (true) { + iterations ++; + if(iterations == XOR_SORT_ITERATIONS) { + size = (uint32_t)xor_sort_and_remove_dup(keys, size); + } + if(iterations > XOR_MAX_ITERATIONS) { + // The probability of this happening is lower than the + // the cosmic-ray probability (i.e., a cosmic ray corrupts your system)é + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + free(sets); + free(Q); + free(stack); + return false; + } + + memset(sets, 0, sizeof(xor_xorset_t) * arrayLength); + for (size_t i = 0; i < size; i++) { + uint64_t key = keys[i]; + xor_hashes_t hs = xor16_get_h0_h1_h2(key, filter); + xor_buffered_increment_counter(hs.h0, hs.h, &buffer0, sets0); + xor_buffered_increment_counter(hs.h1, hs.h, &buffer1, + sets1); + xor_buffered_increment_counter(hs.h2, hs.h, &buffer2, + sets2); + } + xor_flush_increment_buffer(&buffer0, sets0); + xor_flush_increment_buffer(&buffer1, sets1); + xor_flush_increment_buffer(&buffer2, sets2); + // todo: the flush should be sync with the detection that follows + // scan for values with a count of one + size_t Q0size = 0, Q1size = 0, Q2size = 0; + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets0[i].count == 1) { + Q0[Q0size].index = (uint32_t)i; + Q0[Q0size].hash = sets0[i].xormask; + Q0size++; + } + } + + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets1[i].count == 1) { + Q1[Q1size].index = (uint32_t)i; + Q1[Q1size].hash = sets1[i].xormask; + Q1size++; + } + } + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets2[i].count == 1) { + Q2[Q2size].index = (uint32_t)i; + Q2[Q2size].hash = sets2[i].xormask; + Q2size++; + } + } + + size_t stack_size = 0; + while (Q0size + Q1size + Q2size > 0) { + while (Q0size > 0) { + xor_keyindex_t keyindex = Q0[--Q0size]; + size_t index = keyindex.index; + xor_make_buffer_current(&buffer0, sets0, (uint32_t)index, Q0, &Q0size); + + if (sets0[index].count == 0) + continue; // not actually possible after the initial scan. + //sets0[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h1 = xor16_get_h1(hash, filter); + uint32_t h2 = xor16_get_h2(hash, filter); + + stack[stack_size] = keyindex; + stack_size++; + xor_buffered_decrement_counter(h1, hash, &buffer1, sets1, + Q1, &Q1size); + xor_buffered_decrement_counter(h2, hash, &buffer2, + sets2, Q2, &Q2size); + } + if (Q1size == 0) + xor_flushone_decrement_buffer(&buffer1, sets1, Q1, &Q1size); + + while (Q1size > 0) { + xor_keyindex_t keyindex = Q1[--Q1size]; + size_t index = keyindex.index; + xor_make_buffer_current(&buffer1, sets1, (uint32_t)index, Q1, &Q1size); + + if (sets1[index].count == 0) + continue; + //sets1[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h0 = xor16_get_h0(hash, filter); + uint32_t h2 = xor16_get_h2(hash, filter); + keyindex.index += (uint32_t)blockLength; + stack[stack_size] = keyindex; + stack_size++; + xor_buffered_decrement_counter(h0, hash, &buffer0, sets0, Q0, &Q0size); + xor_buffered_decrement_counter(h2, hash, &buffer2, + sets2, Q2, &Q2size); + } + if (Q2size == 0) + xor_flushone_decrement_buffer(&buffer2, sets2, Q2, &Q2size); + while (Q2size > 0) { + xor_keyindex_t keyindex = Q2[--Q2size]; + size_t index = keyindex.index; + xor_make_buffer_current(&buffer2, sets2, (uint32_t)index, Q2, &Q2size); + if (sets2[index].count == 0) + continue; + + //sets2[index].count = 0; + uint64_t hash = keyindex.hash; + + uint32_t h0 = xor16_get_h0(hash, filter); + uint32_t h1 = xor16_get_h1(hash, filter); + keyindex.index += 2 * (uint32_t)blockLength; + + stack[stack_size] = keyindex; + stack_size++; + xor_buffered_decrement_counter(h0, hash, &buffer0, sets0, Q0, &Q0size); + xor_buffered_decrement_counter(h1, hash, &buffer1, sets1, + Q1, &Q1size); + } + if (Q0size == 0) + xor_flushone_decrement_buffer(&buffer0, sets0, Q0, &Q0size); + if ((Q0size + Q1size + Q2size == 0) && (stack_size < size)) { + // this should basically never happen + xor_flush_decrement_buffer(&buffer0, sets0, Q0, &Q0size); + xor_flush_decrement_buffer(&buffer1, sets1, Q1, &Q1size); + xor_flush_decrement_buffer(&buffer2, sets2, Q2, &Q2size); + } + } + if (stack_size == size) { + // success + break; + } + + filter->seed = xor_rng_splitmix64(&rng_counter); + } + uint16_t * fingerprints0 = filter->fingerprints; + uint16_t * fingerprints1 = filter->fingerprints + blockLength; + uint16_t * fingerprints2 = filter->fingerprints + 2 * blockLength; + + size_t stack_size = size; + while (stack_size > 0) { + xor_keyindex_t ki = stack[--stack_size]; + uint64_t val = xor_fingerprint(ki.hash); + if(ki.index < blockLength) { + val ^= (uint32_t)fingerprints1[xor16_get_h1(ki.hash,filter)] ^ fingerprints2[xor16_get_h2(ki.hash,filter)]; + } else if(ki.index < 2 * blockLength) { + val ^= (uint32_t)fingerprints0[xor16_get_h0(ki.hash,filter)] ^ fingerprints2[xor16_get_h2(ki.hash,filter)]; + } else { + val ^= (uint32_t)fingerprints0[xor16_get_h0(ki.hash,filter)] ^ fingerprints1[xor16_get_h1(ki.hash,filter)]; + } + filter->fingerprints[ki.index] = (uint16_t)val; + } + xor_free_buffer(&buffer0); + xor_free_buffer(&buffer1); + xor_free_buffer(&buffer2); + + free(sets); + free(Q); + free(stack); + return true; +} + + + +// Construct the filter, returns true on success, false on failure. +// The algorithm fails when there is insufficient memory. +// The caller is responsable for calling xor16_allocate(size,filter) +// before. For best performance, the caller should ensure that there are not too +// many duplicated keys. +static inline bool xor16_populate(uint64_t *keys, uint32_t size, xor16_t *filter) { + if(size == 0) { return false; } + uint64_t rng_counter = 1; + filter->seed = xor_rng_splitmix64(&rng_counter); + size_t arrayLength = (size_t)(filter->blockLength) * 3; // size of the backing array + size_t blockLength = (size_t)(filter->blockLength); + + xor_xorset_t *sets = + (xor_xorset_t *)malloc(arrayLength * sizeof(xor_xorset_t)); + + xor_keyindex_t *Q = + (xor_keyindex_t *)malloc(arrayLength * sizeof(xor_keyindex_t)); + + xor_keyindex_t *stack = + (xor_keyindex_t *)malloc(size * sizeof(xor_keyindex_t)); + + if ((sets == NULL) || (Q == NULL) || (stack == NULL)) { + free(sets); + free(Q); + free(stack); + return false; + } + xor_xorset_t *sets0 = sets; + xor_xorset_t *sets1 = sets + blockLength; + xor_xorset_t *sets2 = sets + 2 * blockLength; + + xor_keyindex_t *Q0 = Q; + xor_keyindex_t *Q1 = Q + blockLength; + xor_keyindex_t *Q2 = Q + 2 * blockLength; + + int iterations = 0; + + while (true) { + iterations ++; + if(iterations == XOR_SORT_ITERATIONS) { + size = (uint32_t)xor_sort_and_remove_dup(keys, size); + } + if(iterations > XOR_MAX_ITERATIONS) { + // The probability of this happening is lower than the + // the cosmic-ray probability (i.e., a cosmic ray corrupts your system). + free(sets); + free(Q); + free(stack); + return false; + } + + memset(sets, 0, sizeof(xor_xorset_t) * arrayLength); + for (size_t i = 0; i < size; i++) { + uint64_t key = keys[i]; + xor_hashes_t hs = xor16_get_h0_h1_h2(key, filter); + sets0[hs.h0].xormask ^= hs.h; + sets0[hs.h0].count++; + sets1[hs.h1].xormask ^= hs.h; + sets1[hs.h1].count++; + sets2[hs.h2].xormask ^= hs.h; + sets2[hs.h2].count++; + } + // todo: the flush should be sync with the detection that follows + // scan for values with a count of one + size_t Q0size = 0, Q1size = 0, Q2size = 0; + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets0[i].count == 1) { + Q0[Q0size].index = (uint32_t)i; + Q0[Q0size].hash = sets0[i].xormask; + Q0size++; + } + } + + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets1[i].count == 1) { + Q1[Q1size].index = (uint32_t)i; + Q1[Q1size].hash = sets1[i].xormask; + Q1size++; + } + } + for (size_t i = 0; i < filter->blockLength; i++) { + if (sets2[i].count == 1) { + Q2[Q2size].index = (uint32_t)i; + Q2[Q2size].hash = sets2[i].xormask; + Q2size++; + } + } + + size_t stack_size = 0; + while (Q0size + Q1size + Q2size > 0) { + while (Q0size > 0) { + xor_keyindex_t keyindex = Q0[--Q0size]; + size_t index = keyindex.index; + if (sets0[index].count == 0) + continue; // not actually possible after the initial scan. + //sets0[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h1 = xor16_get_h1(hash, filter); + uint32_t h2 = xor16_get_h2(hash, filter); + + stack[stack_size] = keyindex; + stack_size++; + sets1[h1].xormask ^= hash; + sets1[h1].count--; + if (sets1[h1].count == 1) { + Q1[Q1size].index = h1; + Q1[Q1size].hash = sets1[h1].xormask; + Q1size++; + } + sets2[h2].xormask ^= hash; + sets2[h2].count--; + if (sets2[h2].count == 1) { + Q2[Q2size].index = h2; + Q2[Q2size].hash = sets2[h2].xormask; + Q2size++; + } + } + while (Q1size > 0) { + xor_keyindex_t keyindex = Q1[--Q1size]; + size_t index = keyindex.index; + if (sets1[index].count == 0) + continue; + //sets1[index].count = 0; + uint64_t hash = keyindex.hash; + uint32_t h0 = xor16_get_h0(hash, filter); + uint32_t h2 = xor16_get_h2(hash, filter); + keyindex.index += (uint32_t)blockLength; + stack[stack_size] = keyindex; + stack_size++; + sets0[h0].xormask ^= hash; + sets0[h0].count--; + if (sets0[h0].count == 1) { + Q0[Q0size].index = h0; + Q0[Q0size].hash = sets0[h0].xormask; + Q0size++; + } + sets2[h2].xormask ^= hash; + sets2[h2].count--; + if (sets2[h2].count == 1) { + Q2[Q2size].index = h2; + Q2[Q2size].hash = sets2[h2].xormask; + Q2size++; + } + } + while (Q2size > 0) { + xor_keyindex_t keyindex = Q2[--Q2size]; + size_t index = keyindex.index; + if (sets2[index].count == 0) + continue; + + //sets2[index].count = 0; + uint64_t hash = keyindex.hash; + + uint32_t h0 = xor16_get_h0(hash, filter); + uint32_t h1 = xor16_get_h1(hash, filter); + keyindex.index += 2 * (uint32_t)blockLength; + + stack[stack_size] = keyindex; + stack_size++; + sets0[h0].xormask ^= hash; + sets0[h0].count--; + if (sets0[h0].count == 1) { + Q0[Q0size].index = h0; + Q0[Q0size].hash = sets0[h0].xormask; + Q0size++; + } + sets1[h1].xormask ^= hash; + sets1[h1].count--; + if (sets1[h1].count == 1) { + Q1[Q1size].index = h1; + Q1[Q1size].hash = sets1[h1].xormask; + Q1size++; + } + + } + } + if (stack_size == size) { + // success + break; + } + + filter->seed = xor_rng_splitmix64(&rng_counter); + } + uint16_t * fingerprints0 = filter->fingerprints; + uint16_t * fingerprints1 = filter->fingerprints + blockLength; + uint16_t * fingerprints2 = filter->fingerprints + 2 * blockLength; + + size_t stack_size = size; + while (stack_size > 0) { + xor_keyindex_t ki = stack[--stack_size]; + uint64_t val = xor_fingerprint(ki.hash); + if(ki.index < blockLength) { + val ^= (uint32_t)fingerprints1[xor16_get_h1(ki.hash,filter)] ^ fingerprints2[xor16_get_h2(ki.hash,filter)]; + } else if(ki.index < 2 * blockLength) { + val ^= (uint32_t)fingerprints0[xor16_get_h0(ki.hash,filter)] ^ fingerprints2[xor16_get_h2(ki.hash,filter)]; + } else { + val ^= (uint32_t)fingerprints0[xor16_get_h0(ki.hash,filter)] ^ fingerprints1[xor16_get_h1(ki.hash,filter)]; + } + filter->fingerprints[ki.index] = (uint16_t)val; + } + + free(sets); + free(Q); + free(stack); + return true; +} + + +static inline size_t xor16_serialization_bytes(xor16_t *filter) { + return sizeof(filter->seed) + sizeof(filter->blockLength) + + sizeof(uint16_t) * 3 * (size_t)(filter->blockLength); +} + +static inline size_t xor8_serialization_bytes(const xor8_t *filter) { + return sizeof(filter->seed) + sizeof(filter->blockLength) + + sizeof(uint8_t) * 3 * (size_t)(filter->blockLength); +} + +// serialize a filter to a buffer, the buffer should have a capacity of at least +// xor16_serialization_bytes(filter) bytes. +// Native endianess only. +static inline void xor16_serialize(const xor16_t *filter, char *buffer) { + memcpy(buffer, &filter->seed, sizeof(filter->seed)); + buffer += sizeof(filter->seed); + memcpy(buffer, &filter->blockLength, sizeof(filter->blockLength)); + buffer += sizeof(filter->blockLength); + memcpy(buffer, filter->fingerprints, (size_t)(filter->blockLength) * 3 * sizeof(uint16_t)); +} + +// serialize a filter to a buffer, the buffer should have a capacity of at least +// xor8_serialization_bytes(filter) bytes. +// Native endianess only. +static inline void xor8_serialize(const xor8_t *filter, char *buffer) { + memcpy(buffer, &filter->seed, sizeof(filter->seed)); + buffer += sizeof(filter->seed); + memcpy(buffer, &filter->blockLength, sizeof(filter->blockLength)); + buffer += sizeof(filter->blockLength); + memcpy(buffer, filter->fingerprints, (size_t)(filter->blockLength) * 3 * sizeof(uint8_t)); +} + +// deserialize a filter from a buffer, returns true on success, false on failure. +// The output will be reallocated, so the caller should call xor16_free(filter) before +// if the filter was already allocated. The caller needs to call xor16_free(filter) after. +// The number of bytes read is xor16_serialization_bytes(filter). +// Native endianess only. +static inline bool xor16_deserialize(xor16_t * filter, const char *buffer) { + memcpy(&filter->seed, buffer, sizeof(filter->seed)); + buffer += sizeof(filter->seed); + memcpy(&filter->blockLength, buffer, sizeof(filter->blockLength)); + buffer += sizeof(filter->blockLength); + filter->fingerprints = (uint16_t*)malloc((size_t)(filter->blockLength) * 3 * sizeof(uint16_t)); + if(filter->fingerprints == NULL) { + return false; + } + memcpy(filter->fingerprints, buffer, (size_t)(filter->blockLength) * 3 * sizeof(uint16_t)); + return true; +} + + +// deserialize a filter from a buffer, returns true on success, false on failure. +// The output will be reallocated, so the caller should call xor8_free(filter) before +// if the filter was already allocated. The caller needs to call xor8_free(filter) after. +// The number of bytes read is xor8_serialization_bytes(filter). +// Native endianess only. +static inline bool xor8_deserialize(xor8_t * filter, const char *buffer) { + memcpy(&filter->seed, buffer, sizeof(filter->seed)); + buffer += sizeof(filter->seed); + memcpy(&filter->blockLength, buffer, sizeof(filter->blockLength)); + buffer += sizeof(filter->blockLength); + filter->fingerprints = (uint8_t*)malloc((size_t)(filter->blockLength) * 3 * sizeof(uint8_t)); + if(filter->fingerprints == NULL) { + return false; + } + memcpy(filter->fingerprints, buffer, (size_t)(filter->blockLength) * 3 * sizeof(uint8_t)); + return true; +} + +// minimal bitfield implementation +#define XOR_bitf_w (sizeof(uint8_t) * 8) +#define XOR_bitf_sz(bits) (((bits) + XOR_bitf_w - 1) / XOR_bitf_w) +#define XOR_bitf_word(bit) (bit / XOR_bitf_w) +#define XOR_bitf_bit(bit) ((1U << (bit % XOR_bitf_w)) % 256) + +#define XOR_ser(buf, lim, src) do { \ + if ((buf) + sizeof src > (lim)) \ + return (0); \ + memcpy(buf, &src, sizeof src); \ + buf += sizeof src; \ +} while (0) + +#define XOR_deser(dst, buf, lim) do { \ + if ((buf) + sizeof dst > (lim)) \ + return (false); \ + memcpy(&dst, buf, sizeof dst); \ + buf += sizeof dst; \ +} while (0) + +// return required space for binary_xor{8,16}_pack() +#define XOR_bytesf(xbits) \ +static inline size_t xor ## xbits ## _pack_bytes(const xor ## xbits ## _t *filter) \ +{ \ + size_t sz = 0; \ + size_t capacity = (size_t)(3 * filter->blockLength); \ + sz += sizeof filter->seed; \ + sz += sizeof filter->blockLength; \ + sz += XOR_bitf_sz(capacity); \ + for (size_t i = 0; i < capacity; i++) { \ + if (filter->fingerprints[i] == 0) \ + continue; \ + sz += sizeof filter->fingerprints[i]; \ + } \ + return (sz); \ +} + +// serialize as packed format, return size used or 0 for insufficient space +#define XOR_packf(xbits) \ +static inline size_t xor ## xbits ## _pack(const xor ## xbits ## _t *filter, char *buffer, size_t space) { \ + uint8_t *s = (uint8_t *)(void *)buffer; \ + uint8_t *buf = s, *e = buf + space; \ + size_t capacity = (size_t)(3 * filter->blockLength); \ + \ + XOR_ser(buf, e, filter->seed); \ + XOR_ser(buf, e, filter->blockLength); \ + size_t bsz = XOR_bitf_sz(capacity); \ + if (buf + bsz > e) \ + return (0); \ + uint8_t *bitf = buf; \ + memset(bitf, 0, bsz); \ + buf += bsz; \ + \ + for (size_t i = 0; i < capacity; i++) { \ + if (filter->fingerprints[i] == 0) \ + continue; \ + bitf[XOR_bitf_word(i)] |= XOR_bitf_bit(i); \ + XOR_ser(buf, e, filter->fingerprints[i]); \ + } \ + return ((size_t)(buf - s)); \ +} + +#define XOR_unpackf(xbits) \ +static inline bool xor ## xbits ## _unpack(xor ## xbits ## _t *filter, const char *buffer, size_t len) \ +{ \ + const uint8_t *s = (const uint8_t *)(const void *)buffer; \ + const uint8_t *buf = s, *e = buf + len; \ + \ + memset(filter, 0, sizeof *filter); \ + XOR_deser(filter->seed, buf, e); \ + XOR_deser(filter->blockLength, buf, e); \ + size_t capacity = (size_t)(3 * filter->blockLength); \ + filter->fingerprints = (uint ## xbits ## _t *)calloc(capacity, sizeof filter->fingerprints[0]); \ + if (filter->fingerprints == NULL) \ + return (false); \ + const uint8_t *bitf = buf; \ + buf += XOR_bitf_sz(capacity); \ + for (size_t i = 0; i < capacity; i++) { \ + if ((bitf[XOR_bitf_word(i)] & XOR_bitf_bit(i)) == 0) \ + continue; \ + XOR_deser(filter->fingerprints[i], buf, e); \ + } \ + return (true); \ +} + +#define XOR_packers(xbits) \ +XOR_bytesf(xbits) \ +XOR_packf(xbits) \ +XOR_unpackf(xbits) \ + +XOR_packers(8) +XOR_packers(16) + +#undef XOR_packers +#undef XOR_bytesf +#undef XOR_packf +#undef XOR_unpackf + +#undef XOR_bitf_w +#undef XOR_bitf_sz +#undef XOR_bitf_word +#undef XOR_bitf_bit +#undef XOR_ser +#undef XOR_deser + +#endif diff --git a/keyhunt.cpp b/keyhunt.cpp index a9a66e1e..241998f0 100644 --- a/keyhunt.cpp +++ b/keyhunt.cpp @@ -17,12 +17,14 @@ email: albertobsd@gmail.com #include "bloom/bloom.h" #include "sha3/sha3.h" #include "util.h" - +#include "xxhash/xxhash.h" #include "secp256k1/SECP256k1.h" #include "secp256k1/Point.h" #include "secp256k1/Int.h" #include "secp256k1/IntGroup.h" #include "secp256k1/Random.h" +#include "fusefilter/binaryfusefilter.h" +#include "fusefilter/xorfilter.h" #include "hash/sha256.h" #include "hash/ripemd160.h" @@ -43,6 +45,7 @@ email: albertobsd@gmail.com #endif #endif +//#define _BLOOM_FILE #define CRYPTO_NONE 0 #define CRYPTO_BTC 1 #define CRYPTO_ETH 2 @@ -196,6 +199,7 @@ DWORD WINAPI thread_process_bsgs_both(LPVOID vargp); DWORD WINAPI thread_process_bsgs_random(LPVOID vargp); DWORD WINAPI thread_process_bsgs_dance(LPVOID vargp); DWORD WINAPI thread_bPload(LPVOID vargp); +DWORD WINAPI thread_Fuseload(LPVOID vargp); DWORD WINAPI thread_bPload_2blooms(LPVOID vargp); #else void *thread_process_vanity(void *vargp); @@ -207,6 +211,7 @@ void *thread_process_bsgs_both(void *vargp); void *thread_process_bsgs_random(void *vargp); void *thread_process_bsgs_dance(void *vargp); void *thread_bPload(void *vargp); +void *thread_Fuseload(void *vargp); void *thread_bPload_2blooms(void *vargp); #endif @@ -216,7 +221,7 @@ void rmd160toaddress_dst(char *rmd,char *dst); void set_minikey(char *buffer,char *rawbuffer,int length); bool increment_minikey_index(char *buffer,char *rawbuffer,int index); void increment_minikey_N(char *rawbuffer); - +void clearFuseFilters(); void KECCAK_256(uint8_t *source, size_t size,uint8_t *dst); void generate_binaddress_eth(Point &publickey,unsigned char *dst_address); @@ -239,6 +244,7 @@ HANDLE *bPload_mutex = NULL; #else pthread_t *tid = NULL; pthread_mutex_t write_keys; +pthread_mutex_t write_DP; pthread_mutex_t write_random; pthread_mutex_t bsgs_thread; pthread_mutex_t *bPload_mutex = NULL; @@ -332,8 +338,29 @@ char buffer_bloom_file[1024]; struct bsgs_xvalue *bPtable; struct address_value *addressTable; -struct oldbloom oldbloom_bP; +#if not defined(_BLOOM_FILE) +struct Fuse_Pair { + uint64_t a; + uint64_t b; +}; + +struct Fuseload { + uint32_t threadid; + int fuse_i; + uint64_t counter; + uint32_t finished; +}; +FILE *fuse_file[256] = { NULL }; +uint64_t fuse_file_cnt[256] = { 0 }; +binary_fuse20_t *fuse_filter; +binary_fuse20_t *fuse_filterx2nd; +binary_fuse20_t *fuse_filterx3rd; +uint64_t items_fuse = 0; +uint64_t items_fuse2 = 0; +uint64_t items_fuse3 = 0; +const float Fuse_Elem_Bytes = 2.5l;// 20/8; // Fuse20 +#endif struct bloom *bloom_bP; struct bloom *bloom_bPx2nd; //2nd Bloom filter check struct bloom *bloom_bPx3rd; //3rd Bloom filter check @@ -435,6 +462,9 @@ int main(int argc, char **argv) { int readed,continue_flag,check_flag,c,salir,index_value,j; Int total,pretotal,debugcount_mpz,seconds,div_pretotal,int_aux,int_r,int_q,int58; struct bPload *bPload_temp_ptr; +#if not defined(_BLOOM_FILE) + struct Fuseload *fuseload_temp_ptr; +#endif size_t rsize; #if defined(_WIN64) && !defined(__CYGWIN__) @@ -477,6 +507,7 @@ int main(int argc, char **argv) { WTF linux without RNG ? */ fprintf(stderr,"[E] Error getrandom() ?\n"); + clearFuseFilters(); exit(EXIT_FAILURE); rseed(clock() + time(NULL) + rand()*rand()); } @@ -543,6 +574,7 @@ int main(int argc, char **argv) { default: FLAGCRYPTO = CRYPTO_NONE; fprintf(stderr,"[E] Unknow crypto value %s\n",optarg); + clearFuseFilters(); exit(EXIT_FAILURE); break; } @@ -1212,9 +1244,11 @@ int main(int argc, char **argv) { itemsbloom3 = 1000; } +#if defined(_BLOOM_FILE) printf("[+] Bloom filter for %" PRIu64 " elements ",bsgs_m); bloom_bP = (struct bloom*)calloc(256,sizeof(struct bloom)); checkpointer((void *)bloom_bP,__FILE__,"calloc","bloom_bP" ,__LINE__ -1 ); +#endif bloom_bP_checksums = (struct checksumsha256*)calloc(256,sizeof(struct checksumsha256)); checkpointer((void *)bloom_bP_checksums,__FILE__,"calloc","bloom_bP_checksums" ,__LINE__ -1 ); @@ -1227,6 +1261,7 @@ int main(int argc, char **argv) { checkpointer((void *)bloom_bP_mutex,__FILE__,"calloc","bloom_bP_mutex" ,__LINE__ -1 ); +#if defined(_BLOOM_FILE) fflush(stdout); bloom_bP_totalbytes = 0; for(i=0; i< 256; i++) { @@ -1246,6 +1281,18 @@ int main(int argc, char **argv) { printf("[+] Bloom filter for %" PRIu64 " elements ",bsgs_m2); +#else + fuse_filter = (binary_fuse20_t*)calloc(256,sizeof(binary_fuse20_t)); + checkpointer((void *)fuse_filter,__FILE__,"calloc","fuse_filter" ,__LINE__ -1 ); + for (i = 0; i < 256; i++) + { +#if defined(_WIN64) && !defined(__CYGWIN__) + bloom_bP_mutex[i] = CreateMutex(NULL, FALSE, NULL); +#else + pthread_mutex_init(&bloom_bP_mutex[i], NULL); +#endif + } +#endif #if defined(_WIN64) && !defined(__CYGWIN__) bloom_bPx2nd_mutex = (HANDLE*) calloc(256,sizeof(HANDLE)); @@ -1253,10 +1300,12 @@ int main(int argc, char **argv) { bloom_bPx2nd_mutex = (pthread_mutex_t*) calloc(256,sizeof(pthread_mutex_t)); #endif checkpointer((void *)bloom_bPx2nd_mutex,__FILE__,"calloc","bloom_bPx2nd_mutex" ,__LINE__ -1 ); - bloom_bPx2nd = (struct bloom*)calloc(256,sizeof(struct bloom)); - checkpointer((void *)bloom_bPx2nd,__FILE__,"calloc","bloom_bPx2nd" ,__LINE__ -1 ); + bloom_bPx2nd_checksums = (struct checksumsha256*) calloc(256,sizeof(struct checksumsha256)); checkpointer((void *)bloom_bPx2nd_checksums,__FILE__,"calloc","bloom_bPx2nd_checksums" ,__LINE__ -1 ); +#if defined(_BLOOM_FILE) + bloom_bPx2nd = (struct bloom*)calloc(256,sizeof(struct bloom)); + checkpointer((void *)bloom_bPx2nd,__FILE__,"calloc","bloom_bPx2nd" ,__LINE__ -1 ); bloom_bP2_totalbytes = 0; for(i=0; i< 256; i++) { #if defined(_WIN64) && !defined(__CYGWIN__) @@ -1272,7 +1321,18 @@ int main(int argc, char **argv) { //if(FLAGDEBUG) bloom_print(&bloom_bPx2nd[i]); } printf(": %.2f MB\n",(float)((float)(uint64_t)bloom_bP2_totalbytes/(float)(uint64_t)1048576)); - +#else + fuse_filterx2nd = (binary_fuse20_t*)calloc(256,sizeof(binary_fuse20_t)); + checkpointer((void *)fuse_filterx2nd,__FILE__,"calloc","fuse_filterx2nd" ,__LINE__ -1 ); + for (i = 0; i < 256; i++) + { +#if defined(_WIN64) && !defined(__CYGWIN__) + bloom_bPx2nd_mutex[i] = CreateMutex(NULL, FALSE, NULL); +#else + pthread_mutex_init(&bloom_bPx2nd_mutex[i], NULL); +#endif + } +#endif #if defined(_WIN64) && !defined(__CYGWIN__) bloom_bPx3rd_mutex = (HANDLE*) calloc(256,sizeof(HANDLE)); @@ -1280,11 +1340,13 @@ int main(int argc, char **argv) { bloom_bPx3rd_mutex = (pthread_mutex_t*) calloc(256,sizeof(pthread_mutex_t)); #endif checkpointer((void *)bloom_bPx3rd_mutex,__FILE__,"calloc","bloom_bPx3rd_mutex" ,__LINE__ -1 ); - bloom_bPx3rd = (struct bloom*)calloc(256,sizeof(struct bloom)); - checkpointer((void *)bloom_bPx3rd,__FILE__,"calloc","bloom_bPx3rd" ,__LINE__ -1 ); + bloom_bPx3rd_checksums = (struct checksumsha256*) calloc(256,sizeof(struct checksumsha256)); checkpointer((void *)bloom_bPx3rd_checksums,__FILE__,"calloc","bloom_bPx3rd_checksums" ,__LINE__ -1 ); +#if defined(_BLOOM_FILE) + bloom_bPx3rd = (struct bloom*)calloc(256,sizeof(struct bloom)); + checkpointer((void *)bloom_bPx3rd,__FILE__,"calloc","bloom_bPx3rd" ,__LINE__ -1 ); printf("[+] Bloom filter for %" PRIu64 " elements ",bsgs_m3); bloom_bP3_totalbytes = 0; for(i=0; i< 256; i++) { @@ -1302,8 +1364,18 @@ int main(int argc, char **argv) { } printf(": %.2f MB\n",(float)((float)(uint64_t)bloom_bP3_totalbytes/(float)(uint64_t)1048576)); //if(FLAGDEBUG) printf("[D] bloom_bP3_totalbytes : %" PRIu64 "\n",bloom_bP3_totalbytes); +#else - + fuse_filterx3rd = (binary_fuse20_t*)calloc(256,sizeof(binary_fuse20_t)); + checkpointer((void *)fuse_filterx3rd,__FILE__,"calloc","fuse_filterx3rd" ,__LINE__ -1 ); + for(i=0; i< 256; i++) { +#if defined(_WIN64) && !defined(__CYGWIN__) + bloom_bPx3rd_mutex[i] = CreateMutex(NULL, FALSE, NULL); +#else + pthread_mutex_init(&bloom_bPx3rd_mutex[i],NULL); +#endif + } +#endif BSGS_MP = secp->ComputePublicKey(&BSGS_M); @@ -1372,21 +1444,37 @@ int main(int argc, char **argv) { if(FLAGSAVEREADFILE) { /*Reading file for 1st bloom filter */ - +#if not defined(_BLOOM_FILE) + snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_4_%" PRIu64 ".bff",bsgs_m); +#else snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_4_%" PRIu64 ".blm",bsgs_m); +#endif fd_aux1 = fopen(buffer_bloom_file,"rb"); if(fd_aux1 != NULL) { +#if not defined(_BLOOM_FILE) + printf("[+] Reading binary fuse filter from file %s ",buffer_bloom_file); +#else printf("[+] Reading bloom filter from file %s ",buffer_bloom_file); +#endif fflush(stdout); for(i = 0; i < 256;i++) { +#if not defined(_BLOOM_FILE) + readed = fread(&fuse_filter[i],sizeof(binary_fuse20_t),1,fd_aux1); +#else bf_ptr = (char*) bloom_bP[i].bf; /*We need to save the current bf pointer*/ readed = fread(&bloom_bP[i],sizeof(struct bloom),1,fd_aux1); +#endif if(readed != 1) { fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); } +#if not defined(_BLOOM_FILE) + fuse_filter[i].Fingerprints = (uint8_t *)calloc(ceil(fuse_filter[i].ArrayLength * Fuse_Elem_Bytes), 1); + readed = fread(fuse_filter[i].Fingerprints,ceil(fuse_filter[i].ArrayLength * Fuse_Elem_Bytes),1,fd_aux1); +#else bloom_bP[i].bf = (uint8_t*)bf_ptr; /* Restoring the bf pointer*/ readed = fread(bloom_bP[i].bf,bloom_bP[i].bytes,1,fd_aux1); +#endif if(readed != 1) { fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1397,7 +1485,11 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } if(FLAGSKIPCHECKSUM == 0) { +#if not defined(_BLOOM_FILE) + sha256((uint8_t*)fuse_filter[i].Fingerprints, ceil(fuse_filter[i].ArrayLength*Fuse_Elem_Bytes),(uint8_t*)rawvalue); +#else sha256((uint8_t*)bloom_bP[i].bf,bloom_bP[i].bytes,(uint8_t*)rawvalue); +#endif if(memcmp(bloom_bP_checksums[i].data,rawvalue,32) != 0 || memcmp(bloom_bP_checksums[i].backup,rawvalue,32) != 0 ) { /* Verification */ fprintf(stderr,"[E] Error checksum file mismatch! %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1418,16 +1510,7 @@ int main(int argc, char **argv) { fclose(fd_aux1); } FLAGREADEDFILE1 = 1; - } - else { /*Checking for old file keyhunt_bsgs_3_ */ - snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_3_%" PRIu64 ".blm",bsgs_m); - fd_aux1 = fopen(buffer_bloom_file,"rb"); - if(fd_aux1 != NULL) { - printf("[+] Reading bloom filter from file %s ",buffer_bloom_file); - fflush(stdout); - for(i = 0; i < 256;i++) { - bf_ptr = (char*) bloom_bP[i].bf; /*We need to save the current bf pointer*/ - readed = fread(&oldbloom_bP,sizeof(struct oldbloom),1,fd_aux1); + }else{ /* if(FLAGDEBUG) { @@ -1436,60 +1519,44 @@ int main(int argc, char **argv) { } */ - if(readed != 1) { - fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); - exit(EXIT_FAILURE); - } - memcpy(&bloom_bP[i],&oldbloom_bP,sizeof(struct bloom));//We only need to copy the part data to the new bloom size, not from the old size - bloom_bP[i].bf = (uint8_t*)bf_ptr; /* Restoring the bf pointer*/ - readed = fread(bloom_bP[i].bf,bloom_bP[i].bytes,1,fd_aux1); - if(readed != 1) { - fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); - exit(EXIT_FAILURE); - } - memcpy(bloom_bP_checksums[i].data,oldbloom_bP.checksum,32); - memcpy(bloom_bP_checksums[i].backup,oldbloom_bP.checksum_backup,32); - memset(rawvalue,0,32); - if(FLAGSKIPCHECKSUM == 0) { - sha256((uint8_t*)bloom_bP[i].bf,bloom_bP[i].bytes,(uint8_t*)rawvalue); - if(memcmp(bloom_bP_checksums[i].data,rawvalue,32) != 0 || memcmp(bloom_bP_checksums[i].backup,rawvalue,32) != 0 ) { /* Verification */ - fprintf(stderr,"[E] Error checksum file mismatch! %s\n",buffer_bloom_file); - exit(EXIT_FAILURE); - } - } - if(i % 32 == 0 ) { - printf("."); - fflush(stdout); - } - } - printf(" Done!\n"); - fclose(fd_aux1); - FLAGUPDATEFILE1 = 1; /* Flag to migrate the data to the new File keyhunt_bsgs_4_ */ - FLAGREADEDFILE1 = 1; - } - else { FLAGREADEDFILE1 = 0; //Flag to make the new file - } } /*Reading file for 2nd bloom filter */ +#if not defined(_BLOOM_FILE) + snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_6_%" PRIu64 ".bff",bsgs_m2); +#else snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_6_%" PRIu64 ".blm",bsgs_m2); +#endif fd_aux2 = fopen(buffer_bloom_file,"rb"); if(fd_aux2 != NULL) { +#if not defined(_BLOOM_FILE) + printf("[+] Reading binary fuse filter from file %s ",buffer_bloom_file); +#else printf("[+] Reading bloom filter from file %s ",buffer_bloom_file); +#endif fflush(stdout); for(i = 0; i < 256;i++) { +#if not defined(_BLOOM_FILE) + readed = fread(&fuse_filterx2nd[i],sizeof(binary_fuse20_t),1,fd_aux2); +#else bf_ptr = (char*) bloom_bPx2nd[i].bf; /*We need to save the current bf pointer*/ readed = fread(&bloom_bPx2nd[i],sizeof(struct bloom),1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); } +#if not defined(_BLOOM_FILE) + fuse_filterx2nd[i].Fingerprints = (uint8_t *)calloc(ceil(fuse_filterx2nd[i].ArrayLength * Fuse_Elem_Bytes), 1); + readed = fread(fuse_filterx2nd[i].Fingerprints,ceil(fuse_filterx2nd[i].ArrayLength * Fuse_Elem_Bytes),1,fd_aux2); +#else bloom_bPx2nd[i].bf = (uint8_t*)bf_ptr; /* Restoring the bf pointer*/ readed = fread(bloom_bPx2nd[i].bf,bloom_bPx2nd[i].bytes,1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1501,7 +1568,11 @@ int main(int argc, char **argv) { } memset(rawvalue,0,32); if(FLAGSKIPCHECKSUM == 0) { +#if not defined(_BLOOM_FILE) + sha256((uint8_t*)fuse_filterx2nd[i].Fingerprints, ceil(fuse_filterx2nd[i].ArrayLength*Fuse_Elem_Bytes),(uint8_t*)rawvalue); +#else sha256((uint8_t*)bloom_bPx2nd[i].bf,bloom_bPx2nd[i].bytes,(uint8_t*)rawvalue); +#endif if(memcmp(bloom_bPx2nd_checksums[i].data,rawvalue,32) != 0 || memcmp(bloom_bPx2nd_checksums[i].backup,rawvalue,32) != 0 ) { /* Verification */ fprintf(stderr,"[E] Error checksum file mismatch! %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1566,20 +1637,37 @@ int main(int argc, char **argv) { } /*Reading file for 3rd bloom filter */ +#if not defined(_BLOOM_FILE) + snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_7_%" PRIu64 ".bff",bsgs_m3); +#else snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_7_%" PRIu64 ".blm",bsgs_m3); +#endif fd_aux2 = fopen(buffer_bloom_file,"rb"); if(fd_aux2 != NULL) { +#if not defined(_BLOOM_FILE) + printf("[+] Reading binary fuse filter from file %s ",buffer_bloom_file); +#else printf("[+] Reading bloom filter from file %s ",buffer_bloom_file); +#endif fflush(stdout); for(i = 0; i < 256;i++) { +#if not defined(_BLOOM_FILE) + readed = fread(&fuse_filterx3rd[i],sizeof(binary_fuse20_t),1,fd_aux2); +#else bf_ptr = (char*) bloom_bPx3rd[i].bf; /*We need to save the current bf pointer*/ readed = fread(&bloom_bPx3rd[i],sizeof(struct bloom),1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); } +#if not defined(_BLOOM_FILE) + fuse_filterx3rd[i].Fingerprints = (uint8_t *)calloc(ceil(fuse_filterx3rd[i].ArrayLength * Fuse_Elem_Bytes), 1); + readed = fread(fuse_filterx3rd[i].Fingerprints,ceil(fuse_filterx3rd[i].ArrayLength * Fuse_Elem_Bytes),1,fd_aux2); +#else bloom_bPx3rd[i].bf = (uint8_t*)bf_ptr; /* Restoring the bf pointer*/ readed = fread(bloom_bPx3rd[i].bf,bloom_bPx3rd[i].bytes,1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1591,7 +1679,11 @@ int main(int argc, char **argv) { } memset(rawvalue,0,32); if(FLAGSKIPCHECKSUM == 0) { +#if not defined(_BLOOM_FILE) + sha256((uint8_t*)fuse_filterx3rd[i].Fingerprints, ceil(fuse_filterx3rd[i].ArrayLength*Fuse_Elem_Bytes),(uint8_t*)rawvalue); +#else sha256((uint8_t*)bloom_bPx3rd[i].bf,bloom_bPx3rd[i].bytes,(uint8_t*)rawvalue); +#endif if(memcmp(bloom_bPx3rd_checksums[i].data,rawvalue,32) != 0 || memcmp(bloom_bPx3rd_checksums[i].backup,rawvalue,32) != 0 ) { /* Verification */ fprintf(stderr,"[E] Error checksum file mismatch! %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1768,6 +1860,15 @@ int main(int argc, char **argv) { memset(bPload_threads_available,1,NTHREADS); +#if not defined(_BLOOM_FILE) + printf("Initializing temp files for binary fuse filter generation ...\n"); + char buffer_fuse_file[1024]; + for(int i = 0; i < 256; i++){ + snprintf(buffer_fuse_file, 1024, "fuse_file_%02d.bin", i); + fuse_file[i] = fopen(buffer_fuse_file, "wb"); + fuse_file_cnt[i] = 0; + } +#endif for(j = 0; j < NTHREADS; j++) { #if defined(_WIN64) && !defined(__CYGWIN__) bPload_mutex = CreateMutex(NULL, FALSE, NULL); @@ -1837,6 +1938,150 @@ int main(int argc, char **argv) { free(bPload_mutex); free(bPload_temp_ptr); free(bPload_threads_available); +#if not defined(_BLOOM_FILE) + printf("Closing temp files for binary fuse filter generation ...\n"); + for (int i = 0; i < 256; i++) + { + fclose(fuse_file[i]); + } + clock_t start, end; + start = clock(); + items_fuse = 0; + items_fuse2 = 0; + items_fuse3 = 0; + bloom_bP_totalbytes = 0; + bloom_bP2_totalbytes = 0; + bloom_bP3_totalbytes = 0; + int i_fuse = 0; + FINISHED_THREADS_COUNTER = 0; + FINISHED_ITEMS = 0; + salir = 0; + THREADCYCLES = 256; + printf("\r[+] processing binary fuse filter files %lu/256 : %i%%\r",FINISHED_ITEMS,(int) (((double)FINISHED_ITEMS/(double)256)*100)); + fflush(stdout); +#if defined(_WIN64) && !defined(__CYGWIN__) + tid = (HANDLE*)calloc(NTHREADS, sizeof(HANDLE)); + bPload_mutex = (HANDLE*) calloc(NTHREADS,sizeof(HANDLE)); +#else + tid = (pthread_t *) calloc(NTHREADS,sizeof(pthread_t)); + bPload_mutex = (pthread_mutex_t*) calloc(NTHREADS,sizeof(pthread_mutex_t)); +#endif + checkpointer((void *)tid,__FILE__,"calloc","tid" ,__LINE__ -1 ); + checkpointer((void *)bPload_mutex,__FILE__,"calloc","bPload_mutex" ,__LINE__ -1 ); + fuseload_temp_ptr = (struct Fuseload*) calloc(NTHREADS,sizeof(struct bPload)); + checkpointer((void *)fuseload_temp_ptr,__FILE__,"calloc","fuseload_temp_ptrr" ,__LINE__ -1 ); + bPload_threads_available = (char*) calloc(NTHREADS,sizeof(char)); + checkpointer((void *)bPload_threads_available,__FILE__,"calloc","bPload_threads_available" ,__LINE__ -1 ); + memset(bPload_threads_available,1,NTHREADS); + for(j = 0; j < NTHREADS; j++) { +#if defined(_WIN64) && !defined(__CYGWIN__) + bPload_mutex = CreateMutex(NULL, FALSE, NULL); +#else + pthread_mutex_init(&bPload_mutex[j],NULL); +#endif + } + do { + for(j = 0; j < NTHREADS && !salir; j++) { + if(bPload_threads_available[j] && !salir && i_fuse < 256) { + bPload_threads_available[j] = 0; + fuseload_temp_ptr[j].threadid = j; + fuseload_temp_ptr[j].finished = 0; + fuseload_temp_ptr[j].fuse_i = i_fuse; +#if defined(_WIN64) && !defined(__CYGWIN__) + tid[j] = CreateThread(NULL, 0, thread_Fuseload, (void*) &fuseload_temp_ptr[j], 0, &s); +#else + s = pthread_create(&tid[j],NULL,thread_Fuseload,(void*) &fuseload_temp_ptr[j]); + pthread_detach(tid[j]); +#endif + i_fuse++; + } + } + if(OLDFINISHED_ITEMS != FINISHED_ITEMS) { + printf("\r[+] processing binary fuse filter files %lu/256 : %i%%\r",FINISHED_ITEMS,(int) (((double)FINISHED_ITEMS/(double)256)*100)); + fflush(stdout); + OLDFINISHED_ITEMS = FINISHED_ITEMS; + } + for(j = 0 ; j < NTHREADS ; j++) { +#if defined(_WIN64) && !defined(__CYGWIN__) + WaitForSingleObject(bPload_mutex[j], INFINITE); + finished = fuseload_temp_ptr[j].finished; + ReleaseMutex(bPload_mutex[j]); +#else + pthread_mutex_lock(&bPload_mutex[j]); + finished = fuseload_temp_ptr[j].finished; + pthread_mutex_unlock(&bPload_mutex[j]); +#endif + if(finished) { + fuseload_temp_ptr[j].finished = 0; + bPload_threads_available[j] = 1; + FINISHED_ITEMS++; + FINISHED_THREADS_COUNTER++; + } + } + }while(FINISHED_THREADS_COUNTER < THREADCYCLES); + printf("[+] processing binary fuse filter - temp file generation complete.\n"); + free(tid); + free(bPload_mutex); + free(fuseload_temp_ptr); + free(bPload_threads_available); + printf("[+] processing binary fuse filter - loading into memory.\n"); + for(int i_read = 0; i_read < 256; i_read++) { + snprintf(buffer_fuse_file, 1024, "fuse_filter_%03d.local", i_read); + fd_aux2 = fopen(buffer_fuse_file,"rb"); + if(fd_aux2 != NULL) { + readed = fread(&fuse_filter[i_read],sizeof(binary_fuse20_t),1,fd_aux2); + if(readed != 1) { + fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); + exit(EXIT_FAILURE); + } + uint8_t *temp_p = (uint8_t *)calloc(ceil(fuse_filter[i_read].ArrayLength * Fuse_Elem_Bytes), 1); + fuse_filter[i_read].Fingerprints = temp_p; + readed = fread(fuse_filter[i_read].Fingerprints,ceil(fuse_filter[i_read].ArrayLength * Fuse_Elem_Bytes),1,fd_aux2); + } + fclose(fd_aux2); + remove(buffer_fuse_file); + snprintf(buffer_fuse_file, 1024, "fuse_filterx2nd_%03d.local", i_read); + fd_aux2 = fopen(buffer_fuse_file,"rb"); + if(fd_aux2 != NULL) { + readed = fread(&fuse_filterx2nd[i_read],sizeof(binary_fuse20_t),1,fd_aux2); + if(readed != 1) { + fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); + exit(EXIT_FAILURE); + } + uint8_t *temp_p = (uint8_t *)calloc(ceil(fuse_filterx2nd[i_read].ArrayLength * Fuse_Elem_Bytes), 1); + fuse_filterx2nd[i_read].Fingerprints = temp_p; + readed = fread(fuse_filterx2nd[i_read].Fingerprints,ceil(fuse_filterx2nd[i_read].ArrayLength * Fuse_Elem_Bytes),1,fd_aux2); + if(readed != 1) { + fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); + exit(EXIT_FAILURE); + } + } + fclose(fd_aux2); + remove(buffer_fuse_file); + snprintf(buffer_fuse_file, 1024, "fuse_filterx3rd_%03d.local", i_read); + fd_aux2 = fopen(buffer_fuse_file,"rb"); + if(fd_aux2 != NULL) { + readed = fread(&fuse_filterx3rd[i_read],sizeof(binary_fuse20_t),1,fd_aux2); + if(readed != 1) { + fprintf(stderr,"[E] Error reading the file %s\n",buffer_bloom_file); + exit(EXIT_FAILURE); + } + uint8_t *temp_p = (uint8_t *)calloc(ceil(fuse_filterx3rd[i_read].ArrayLength * Fuse_Elem_Bytes), 1); + fuse_filterx3rd[i_read].Fingerprints = temp_p; + readed = fread(fuse_filterx3rd[i_read].Fingerprints,ceil(fuse_filterx3rd[i_read].ArrayLength * Fuse_Elem_Bytes),1,fd_aux2); + } + fclose(fd_aux2); + remove(buffer_fuse_file); + } + end = clock(); + printf("Done in %.3f seconds.\n", (float)(end - start) / CLOCKS_PER_SEC); + printf("[+] Fuse filter for %" PRIu64 " elements ",items_fuse); + printf(": %.2f MB\n",(float)((float)(uint64_t)bloom_bP_totalbytes/(float)(uint64_t)1048576)); + printf("[+] Fuse filter for %" PRIu64 " elements ",items_fuse2); + printf(": %.2f MB\n",(float)((float)(uint64_t)bloom_bP2_totalbytes/(float)(uint64_t)1048576)); + printf("[+] Fuse filter for %" PRIu64 " elements ",items_fuse3); + printf(": %.2f MB\n",(float)((float)(uint64_t)bloom_bP3_totalbytes/(float)(uint64_t)1048576)); +#endif } } @@ -1846,21 +2091,33 @@ int main(int argc, char **argv) { } if(!FLAGREADEDFILE1) { for(i = 0; i < 256 ; i++) { +#if not defined(_BLOOM_FILE) + sha256((uint8_t*)fuse_filter[i].Fingerprints, ceil(fuse_filter[i].ArrayLength*Fuse_Elem_Bytes),(uint8_t*) bloom_bP_checksums[i].data); +#else sha256((uint8_t*)bloom_bP[i].bf, bloom_bP[i].bytes,(uint8_t*) bloom_bP_checksums[i].data); +#endif memcpy(bloom_bP_checksums[i].backup,bloom_bP_checksums[i].data,32); } printf("."); } if(!FLAGREADEDFILE2) { for(i = 0; i < 256 ; i++) { +#if not defined(_BLOOM_FILE) + sha256((uint8_t*)fuse_filterx2nd[i].Fingerprints, ceil(fuse_filterx2nd[i].ArrayLength*Fuse_Elem_Bytes),(uint8_t*) bloom_bPx2nd_checksums[i].data); +#else sha256((uint8_t*)bloom_bPx2nd[i].bf, bloom_bPx2nd[i].bytes,(uint8_t*) bloom_bPx2nd_checksums[i].data); +#endif memcpy(bloom_bPx2nd_checksums[i].backup,bloom_bPx2nd_checksums[i].data,32); } printf("."); } if(!FLAGREADEDFILE4) { for(i = 0; i < 256 ; i++) { +#if not defined(_BLOOM_FILE) + sha256((uint8_t*)fuse_filterx3rd[i].Fingerprints, ceil(fuse_filterx3rd[i].ArrayLength*Fuse_Elem_Bytes),(uint8_t*) bloom_bPx3rd_checksums[i].data); +#else sha256((uint8_t*)bloom_bPx3rd[i].bf, bloom_bPx3rd[i].bytes,(uint8_t*) bloom_bPx3rd_checksums[i].data); +#endif memcpy(bloom_bPx3rd_checksums[i].backup,bloom_bPx3rd_checksums[i].data,32); } printf("."); @@ -1880,8 +2137,11 @@ int main(int argc, char **argv) { } if(FLAGSAVEREADFILE || FLAGUPDATEFILE1 ) { if(!FLAGREADEDFILE1 || FLAGUPDATEFILE1) { +#if not defined(_BLOOM_FILE) + snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_4_%" PRIu64 ".bff",bsgs_m); +#else snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_4_%" PRIu64 ".blm",bsgs_m); - +#endif if(FLAGUPDATEFILE1) { printf("[W] Updating old file into a new one\n"); } @@ -1890,15 +2150,27 @@ int main(int argc, char **argv) { fd_aux1 = fopen(buffer_bloom_file,"wb"); if(fd_aux1 != NULL) { +#if not defined(_BLOOM_FILE) + printf("[+] Writing binary fuse filter to file %s ",buffer_bloom_file); +#else printf("[+] Writing bloom filter to file %s ",buffer_bloom_file); +#endif fflush(stdout); for(i = 0; i < 256;i++) { +#if not defined(_BLOOM_FILE) + readed = fwrite(&fuse_filter[i],sizeof(binary_fuse20_t),1,fd_aux1); +#else readed = fwrite(&bloom_bP[i],sizeof(struct bloom),1,fd_aux1); +#endif if(readed != 1) { fprintf(stderr,"[E] Error writing the file %s please delete it\n",buffer_bloom_file); exit(EXIT_FAILURE); } +#if not defined(_BLOOM_FILE) + readed = fwrite(fuse_filter[i].Fingerprints,ceil(fuse_filter[i].ArrayLength*Fuse_Elem_Bytes),1,fd_aux1); +#else readed = fwrite(bloom_bP[i].bf,bloom_bP[i].bytes,1,fd_aux1); +#endif if(readed != 1) { fprintf(stderr,"[E] Error writing the file %s please delete it\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1922,21 +2194,36 @@ int main(int argc, char **argv) { } } if(!FLAGREADEDFILE2 ) { - +#if not defined(_BLOOM_FILE) + snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_6_%" PRIu64 ".bff",bsgs_m2); +#else snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_6_%" PRIu64 ".blm",bsgs_m2); +#endif /* Writing file for 2nd bloom filter */ fd_aux2 = fopen(buffer_bloom_file,"wb"); if(fd_aux2 != NULL) { +#if not defined(_BLOOM_FILE) + printf("[+] Writing binary fuse filter to file %s ",buffer_bloom_file); +#else printf("[+] Writing bloom filter to file %s ",buffer_bloom_file); +#endif fflush(stdout); for(i = 0; i < 256;i++) { +#if not defined(_BLOOM_FILE) + readed = fwrite(&fuse_filterx2nd[i],sizeof(binary_fuse20_t),1,fd_aux2); +#else readed = fwrite(&bloom_bPx2nd[i],sizeof(struct bloom),1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error writing the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); } +#if not defined(_BLOOM_FILE) + readed = fwrite(fuse_filterx2nd[i].Fingerprints,ceil(fuse_filterx2nd[i].ArrayLength*Fuse_Elem_Bytes),1,fd_aux2); +#else readed = fwrite(bloom_bPx2nd[i].bf,bloom_bPx2nd[i].bytes,1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error writing the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -1986,20 +2273,36 @@ int main(int argc, char **argv) { } } if(!FLAGREADEDFILE4) { +#if not defined(_BLOOM_FILE) + snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_7_%" PRIu64 ".bff",bsgs_m3); +#else snprintf(buffer_bloom_file,1024,"keyhunt_bsgs_7_%" PRIu64 ".blm",bsgs_m3); +#endif /* Writing file for 3rd bloom filter */ fd_aux2 = fopen(buffer_bloom_file,"wb"); if(fd_aux2 != NULL) { +#if not defined(_BLOOM_FILE) + printf("[+] Writing binary fuse filter to file %s ",buffer_bloom_file); +#else printf("[+] Writing bloom filter to file %s ",buffer_bloom_file); +#endif fflush(stdout); for(i = 0; i < 256;i++) { +#if not defined(_BLOOM_FILE) + readed = fwrite(&fuse_filterx3rd[i],sizeof(binary_fuse20_t),1,fd_aux2); +#else readed = fwrite(&bloom_bPx3rd[i],sizeof(struct bloom),1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error writing the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); } +#if not defined(_BLOOM_FILE) + readed = fwrite(fuse_filterx3rd[i].Fingerprints,ceil(fuse_filterx3rd[i].ArrayLength*Fuse_Elem_Bytes),1,fd_aux2); +#else readed = fwrite(bloom_bPx3rd[i].bf,bloom_bPx3rd[i].bytes,1,fd_aux2); +#endif if(readed != 1) { fprintf(stderr,"[E] Error writing the file %s\n",buffer_bloom_file); exit(EXIT_FAILURE); @@ -2257,6 +2560,37 @@ int main(int argc, char **argv) { CloseHandle(bsgs_thread); #endif } +void clearFuseFilters() { +#if not defined(_BLOOM_FILE) + for (int i = 0; i < 256; i++) + { + if(&fuse_filter[i] != NULL) { + if(fuse_filter[i].Fingerprints != NULL) { + free(fuse_filter[i].Fingerprints); + fuse_filter[i].Fingerprints = nullptr; + } + } + if(&fuse_filterx2nd[i] != NULL) { + if(fuse_filterx2nd[i].Fingerprints != NULL) { + free(fuse_filterx2nd[i].Fingerprints); + fuse_filterx2nd[i].Fingerprints = nullptr; + } + } + if(&fuse_filterx3rd[i] != NULL) { + if(fuse_filterx3rd[i].Fingerprints != NULL) { + free(fuse_filterx3rd[i].Fingerprints); + fuse_filterx3rd[i].Fingerprints = nullptr; + } + } + } + free(fuse_filter); + fuse_filter = nullptr; + free(fuse_filterx2nd); + fuse_filterx2nd = nullptr; + free(fuse_filterx3rd); + fuse_filterx3rd = nullptr; +#endif +} void pubkeytopubaddress_dst(char *pkey,int length,char *dst) { char digest[60]; @@ -3943,7 +4277,12 @@ pn.y.ModAdd(&GSn[i].y); pts[0] = pn; for(int i = 0; iAddDirect(BSGS_Q,BSGS_AMP2[i]); BSGS_S.Set(BSGS_Q_AMP); BSGS_S.x.Get32Bytes((unsigned char *) xpoint_raw); +#if not defined(_BLOOM_FILE) + uint64_t hexval = XXH64(xpoint_raw, BSGS_BUFFERXPOINTLENGTH, 0x59f2815b16f81798); + r = binary_fuse20_contain(hexval,&fuse_filterx2nd[((unsigned char)xpoint_raw[0])]); +#else r = bloom_check(&bloom_bPx2nd[(uint8_t) xpoint_raw[0]],xpoint_raw,32); +#endif if(r) { found = bsgs_thirdcheck(&base_key,i,k_index,privatekey); } @@ -4325,7 +4676,12 @@ int bsgs_thirdcheck(Int *start_range,uint32_t a,uint32_t k_index,Int *privatekey BSGS_Q_AMP = secp->AddDirect(BSGS_Q,BSGS_AMP3[i]); BSGS_S.Set(BSGS_Q_AMP); BSGS_S.x.Get32Bytes((unsigned char *)xpoint_raw); +#if not defined(_BLOOM_FILE) + uint64_t hexval = XXH64(xpoint_raw, BSGS_BUFFERXPOINTLENGTH, 0x59f2815b16f81798); + r = binary_fuse20_contain(hexval,&fuse_filterx3rd[((unsigned char)xpoint_raw[0])]); +#else r = bloom_check(&bloom_bPx3rd[(uint8_t)xpoint_raw[0]],xpoint_raw,32); +#endif if(r) { r = bsgs_searchbinary(bPtable,xpoint_raw,bsgs_m3,&j); if(r) { @@ -4406,7 +4762,7 @@ void *thread_bPload(void *vargp) { char rawvalue[32]; struct bPload *tt; - uint64_t i_counter,j,nbStep,to; + uint64_t i_counter,j,nbStep; IntGroup *grp = new IntGroup(CPU_GRP_SIZE / 2 + 1); Point startP; @@ -4429,7 +4785,6 @@ void *thread_bPload(void *vargp) { nbStep++; } //if(FLAGDEBUG) printf("[D] thread %i nbStep %" PRIu64 "\n",threadid,nbStep); - to = tt->to; km.Add((uint64_t)(CPU_GRP_SIZE / 2)); startP = secp->ComputePublicKey(&km); @@ -4520,11 +4875,37 @@ void *thread_bPload(void *vargp) { printf("%i : %s : %i\n",i_counter,hexraw,bloom_bP_index); } */ +#if not defined(_BLOOM_FILE) +#if defined(_WIN64) && !defined(__CYGWIN__) + WaitForSingleObject(bloom_bPx3rd_mutex[bloom_bP_index], INFINITE); + if (fuse_file[bloom_bP_index] != NULL) + { + uint64_t uint64Values[4]; + memcpy(uint64Values, rawvalue, 32); + uint64_t hexval = (uint64Values[0] << 48) | (uint64Values[1] << 32) | (uint64Values[2] << 16) | uint64Values[3]; + Fuse_Pair out = { hexval, i_counter }; + fwrite(&out, sizeof(out), 1, fuse_file[bloom_bP_index]); + fuse_file_cnt[bloom_bP_index]++; + } + ReleaseMutex(bloom_bPx3rd_mutex[bloom_bP_index]); +#else + pthread_mutex_lock(&bloom_bPx3rd_mutex[bloom_bP_index]); + if (fuse_file[bloom_bP_index] != NULL) + { + uint64_t hexval = XXH64(rawvalue, BSGS_BUFFERXPOINTLENGTH, 0x59f2815b16f81798); + Fuse_Pair out = { hexval, i_counter }; + fwrite(&out, sizeof(out), 1, fuse_file[bloom_bP_index]); + fuse_file_cnt[bloom_bP_index]++; + } + pthread_mutex_unlock(&bloom_bPx3rd_mutex[bloom_bP_index]); +#endif +#endif // not Bloom file write if(i_counter < bsgs_m3) { if(!FLAGREADEDFILE3) { memcpy(bPtable[i_counter].value,rawvalue+16,BSGS_XVALUE_RAM); bPtable[i_counter].index = i_counter; } +#if defined(_BLOOM_FILE) if(!FLAGREADEDFILE4) { #if defined(_WIN64) && !defined(__CYGWIN__) WaitForSingleObject(bloom_bPx3rd_mutex[bloom_bP_index], INFINITE); @@ -4536,7 +4917,9 @@ void *thread_bPload(void *vargp) { pthread_mutex_unlock(&bloom_bPx3rd_mutex[bloom_bP_index]); #endif } +#endif } +#if defined(_BLOOM_FILE) if(i_counter < bsgs_m2 && !FLAGREADEDFILE2) { #if defined(_WIN64) && !defined(__CYGWIN__) WaitForSingleObject(bloom_bPx2nd_mutex[bloom_bP_index], INFINITE); @@ -4559,6 +4942,7 @@ void *thread_bPload(void *vargp) { pthread_mutex_unlock(&bloom_bP_mutex[bloom_bP_index]); #endif } +#endif i_counter++; } // Next start point (startP + GRP_SIZE*G) @@ -4703,11 +5087,35 @@ void *thread_bPload_2blooms(void *vargp) { for(j=0;jthreadid; + i_fuse = tt->fuse_i; +#if defined(_WIN64) && !defined(__CYGWIN__) + WaitForSingleObject(bloom_bPx3rd_mutex[i_fuse], INFINITE); +#else + pthread_mutex_lock(&bloom_bPx3rd_mutex[i_fuse]); +#endif + char buffer_fuse_file[1024]; + snprintf(buffer_fuse_file, 1024, "fuse_file_%02d.bin", i_fuse); + fuse_file[i_fuse] = fopen(buffer_fuse_file, "rb"); + const size_t BUF_WORDS = 1024 / sizeof(uint64_t); + uint64_t buffer[BUF_WORDS]; + size_t index = 0; + std::vector hexvals; + hexvals.reserve(fuse_file_cnt[i_fuse]); + std::vector counterVal; + counterVal.reserve(fuse_file_cnt[i_fuse]); + items_fuse += fuse_file_cnt[i_fuse]; + while (true) + { + size_t count = fread(buffer, sizeof(uint64_t), BUF_WORDS, fuse_file[i_fuse]); + if (count == 0) + break; + for (size_t i = 0; i < count; ++i) + { + if ((index & 1) == 0) + { + hexvals.push_back(buffer[i]); + } + else + { + counterVal.push_back(buffer[i]); + } + index++; + } + } + fclose(fuse_file[i_fuse]); + if (!binary_fuse20_allocate(hexvals.size(), &fuse_filter[i_fuse])) + { + printf("binary_fuse20_allocate failed to allocate memory.\n"); + } + if (!binary_fuse20_populate(hexvals.data(), hexvals.size(), &fuse_filter[i_fuse])) + { + printf("binary_fuse20_populate failed to build the filter, do you have sufficient memory?\n"); + } + bloom_bP_totalbytes += sizeof(fuse_filter[i_fuse]) + ceil(Fuse_Elem_Bytes * fuse_filter[i_fuse].ArrayLength); + for (size_t i = 0; i < hexvals.size(); i++) + { + if (!binary_fuse20_contain(hexvals[i], &fuse_filter[i_fuse])) + { + printf("binary_fuse20_contain detected a false negative. You probably have a bug. " + "Aborting.\n"); + } + } + snprintf(buffer_fuse_file, 1024, "fuse_filter_%03d.local", i_fuse); + FILE *fuse_file_local = fopen(buffer_fuse_file, "wb"); + if (fuse_file_local == NULL) + { + printf("Unable to open file %s for writing.\n", buffer_fuse_file); + } + else + { + uint8_t *temp_p = fuse_filter[i_fuse].Fingerprints; + fuse_filter[i_fuse].Fingerprints = nullptr; + fwrite(&fuse_filter[i_fuse],sizeof(binary_fuse20_t),1,fuse_file_local); + fwrite(temp_p,ceil(fuse_filter[i_fuse].ArrayLength*Fuse_Elem_Bytes),1,fuse_file_local); + fclose(fuse_file_local); + free(temp_p); // Remove From Memory after writing to file - load back in later + } + erase_elements_conditional(hexvals, counterVal, bsgs_m2); + items_fuse2 += hexvals.size(); + if (!binary_fuse20_allocate(hexvals.size(), &fuse_filterx2nd[i_fuse])) + { + printf("binary_fuse20_allocate failed to allocate memory.\n"); + } + if (!binary_fuse20_populate(hexvals.data(), hexvals.size(), &fuse_filterx2nd[i_fuse])) + { + printf("binary_fuse20_populate failed to build the filter, do you have sufficient memory?\n"); + } + bloom_bP2_totalbytes += sizeof(fuse_filterx2nd[i_fuse]) + ceil(Fuse_Elem_Bytes * fuse_filterx2nd[i_fuse].ArrayLength); + for (size_t i = 0; i < hexvals.size(); i++) + { + if (!binary_fuse20_contain(hexvals[i], &fuse_filterx2nd[i_fuse])) + { + printf("binary_fuse20_contain detected a false negative. You probably have a bug. " + "Aborting.\n"); + } + } + snprintf(buffer_fuse_file, 1024, "fuse_filterx2nd_%03d.local", i_fuse); + fuse_file_local = fopen(buffer_fuse_file, "wb"); + if (fuse_file_local == NULL) + { + printf("Unable to open file %s for writing.\n", buffer_fuse_file); + } + else + { + uint8_t *temp_p = fuse_filterx2nd[i_fuse].Fingerprints; + fuse_filterx2nd[i_fuse].Fingerprints = nullptr; + fwrite(&fuse_filterx2nd[i_fuse],sizeof(binary_fuse20_t),1,fuse_file_local); + fwrite(temp_p,ceil(fuse_filterx2nd[i_fuse].ArrayLength*Fuse_Elem_Bytes),1,fuse_file_local); + fclose(fuse_file_local); + free(temp_p); // Remove From Memory after writing to file - load back in later + } + erase_elements_conditional(hexvals, counterVal, bsgs_m3); + items_fuse3 += hexvals.size(); + if (!binary_fuse20_allocate(hexvals.size(), &fuse_filterx3rd[i_fuse])) + { + printf("binary_fuse20_allocate failed to allocate memory.\n"); + } + if (!binary_fuse20_populate(hexvals.data(), hexvals.size(), &fuse_filterx3rd[i_fuse])) + { + printf("binary_fuse20_populate failed to build the filter, do you have sufficient memory?\n"); + } + bloom_bP3_totalbytes += sizeof(fuse_filterx3rd[i_fuse]) + ceil(Fuse_Elem_Bytes * fuse_filterx3rd[i_fuse].ArrayLength); + for (size_t i = 0; i < hexvals.size(); i++) + { + if (!binary_fuse20_contain(hexvals[i], &fuse_filterx3rd[i_fuse])) + { + printf("binary_fuse20_contain detected a false negative. You probably have a bug. " + "Aborting.\n"); + } + } + snprintf(buffer_fuse_file, 1024, "fuse_filterx3rd_%03d.local", i_fuse); + fuse_file_local = fopen(buffer_fuse_file, "wb"); + if (fuse_file_local == NULL) + { + printf("Unable to open file %s for writing.\n", buffer_fuse_file); + } + else + { + uint8_t *temp_p = fuse_filterx3rd[i_fuse].Fingerprints; + fuse_filterx3rd[i_fuse].Fingerprints = nullptr; + fwrite(&fuse_filterx3rd[i_fuse],sizeof(binary_fuse20_t),1,fuse_file_local); + fwrite(temp_p,ceil(fuse_filterx3rd[i_fuse].ArrayLength*Fuse_Elem_Bytes),1,fuse_file_local); + fclose(fuse_file_local); + free(temp_p); // Remove From Memory after writing to file - load back in later + } + snprintf(buffer_fuse_file, 1024, "fuse_file_%02d.bin", i_fuse); + if (remove(buffer_fuse_file) == 0) + { + } + else + { + printf("[W] Unable to delete temporary file %s\n", buffer_fuse_file); + } +#if defined(_WIN64) && !defined(__CYGWIN__) + ReleaseMutex(bloom_bPx3rd_mutex[i_fuse]); +#else + pthread_mutex_unlock(&bloom_bPx3rd_mutex[i_fuse]); +#endif +#if defined(_WIN64) && !defined(__CYGWIN__) + WaitForSingleObject(bPload_mutex[threadid], INFINITE); + tt->finished = 1; + ReleaseMutex(bPload_mutex[threadid]); +#else + pthread_mutex_lock(&bPload_mutex[threadid]); + tt->finished = 1; + pthread_mutex_unlock(&bPload_mutex[threadid]); + pthread_exit(NULL); +#endif + return NULL; +} /* This function perform the KECCAK Opetation*/ void KECCAK_256(uint8_t *source, size_t size,uint8_t *dst) { @@ -5032,6 +5615,7 @@ pn.y.ModAdd(&GSn[i].y); } if(salir) { printf("All points were found\n"); + clearFuseFilters(); exit(EXIT_FAILURE); } } //End if second check @@ -5290,6 +5874,7 @@ pn.y.ModAdd(&GSn[i].y); } if(salir) { printf("All points were found\n"); + clearFuseFilters(); exit(EXIT_FAILURE); } } //End if second check @@ -5574,6 +6159,7 @@ void *thread_process_bsgs_both(void *vargp) { } if(salir) { printf("All points were found\n"); + clearFuseFilters(); exit(EXIT_FAILURE); } } //End if second check @@ -5982,6 +6568,7 @@ int minimum_same_bytes(unsigned char* A,unsigned char* B, int length) { void checkpointer(void *ptr,const char *file,const char *function,const char *name,int line) { if(ptr == NULL) { fprintf(stderr,"[E] error in file %s, %s pointer %s on line %i\n",file,function,name,line); + clearFuseFilters(); exit(EXIT_FAILURE); } } @@ -6586,6 +7173,7 @@ void writeFileIfNeeded(const char *fileName) { uint64_t dataSize; if(!sha256_file((const char*)fileName,checksum)){ fprintf(stderr,"[E] sha256_file error line %i\n",__LINE__ - 1); + clearFuseFilters(); exit(EXIT_FAILURE); } tohex_dst((char*)checksum,4,(char*)hexPrefix); // we save the prefix (last fourt bytes) hexadecimal value @@ -6616,6 +7204,7 @@ void writeFileIfNeeded(const char *fileName) { bytesWrite = fwrite(bloomChecksum,1,32,fileDescriptor); if(bytesWrite != 32) { fprintf(stderr,"[E] Errore writing file, code line %i\n",__LINE__ - 2); + clearFuseFilters(); exit(EXIT_FAILURE); } printf("."); @@ -6623,6 +7212,7 @@ void writeFileIfNeeded(const char *fileName) { bytesWrite = fwrite(&bloom,1,sizeof(struct bloom),fileDescriptor); if(bytesWrite != sizeof(struct bloom)) { fprintf(stderr,"[E] Error writing file, code line %i\n",__LINE__ - 2); + clearFuseFilters(); exit(EXIT_FAILURE); } printf("."); @@ -6631,6 +7221,7 @@ void writeFileIfNeeded(const char *fileName) { if(bytesWrite != bloom.bytes) { fprintf(stderr,"[E] Error writing file, code line %i\n",__LINE__ - 2); fclose(fileDescriptor); + clearFuseFilters(); exit(EXIT_FAILURE); } printf("."); @@ -6652,6 +7243,7 @@ void writeFileIfNeeded(const char *fileName) { bytesWrite = fwrite(dataChecksum,1,32,fileDescriptor); if(bytesWrite != 32) { fprintf(stderr,"[E] Errore writing file, code line %i\n",__LINE__ - 2); + clearFuseFilters(); exit(EXIT_FAILURE); } printf("."); @@ -6659,6 +7251,7 @@ void writeFileIfNeeded(const char *fileName) { bytesWrite = fwrite(&dataSize,1,sizeof(uint64_t),fileDescriptor); if(bytesWrite != sizeof(uint64_t)) { fprintf(stderr,"[E] Errore writing file, code line %i\n",__LINE__ - 2); + clearFuseFilters(); exit(EXIT_FAILURE); } printf("."); @@ -6666,6 +7259,7 @@ void writeFileIfNeeded(const char *fileName) { bytesWrite = fwrite(addressTable,1,dataSize,fileDescriptor); if(bytesWrite != dataSize) { fprintf(stderr,"[E] Error writing file, code line %i\n",__LINE__ - 2); + clearFuseFilters(); exit(EXIT_FAILURE); } printf("."); diff --git a/xxhash/LICENSE b/xxhash/LICENSE index fa20595d..f73b7511 100644 --- a/xxhash/LICENSE +++ b/xxhash/LICENSE @@ -1,48 +1,48 @@ -xxHash Library -Copyright (c) 2012-2020 Yann Collet -All rights reserved. - -BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------------------------------------------- - -xxhsum command line interface -Copyright (c) 2013-2020 Yann Collet -All rights reserved. - -GPL v2 License - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +xxHash Library +Copyright (c) 2012-2020 Yann Collet +All rights reserved. + +BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---------------------------------------------------- + +xxhsum command line interface +Copyright (c) 2013-2020 Yann Collet +All rights reserved. + +GPL v2 License + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. diff --git a/xxhash/xxhash.c b/xxhash/xxhash.c index 0fae88c5..48412cb5 100644 --- a/xxhash/xxhash.c +++ b/xxhash/xxhash.c @@ -1,43 +1,43 @@ -/* - * xxHash - Extremely Fast Hash algorithm - * Copyright (C) 2012-2020 Yann Collet - * - * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * You can contact the author at: - * - xxHash homepage: https://www.xxhash.com - * - xxHash source repository: https://github.com/Cyan4973/xxHash - */ - - -/* - * xxhash.c instantiates functions defined in xxhash.h - */ - -#define XXH_STATIC_LINKING_ONLY /* access advanced declarations */ -#define XXH_IMPLEMENTATION /* access definitions */ - -#include "xxhash.h" +/* + * xxHash - Extremely Fast Hash algorithm + * Copyright (C) 2012-2020 Yann Collet + * + * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * You can contact the author at: + * - xxHash homepage: https://www.xxhash.com + * - xxHash source repository: https://github.com/Cyan4973/xxHash + */ + + +/* + * xxhash.c instantiates functions defined in xxhash.h + */ + +#define XXH_STATIC_LINKING_ONLY /* access advanced declarations */ +#define XXH_IMPLEMENTATION /* access definitions */ + +#include "xxhash.h" diff --git a/xxhash/xxhash.h b/xxhash/xxhash.h index a138ca0b..c4fa3153 100644 --- a/xxhash/xxhash.h +++ b/xxhash/xxhash.h @@ -1,5447 +1,5447 @@ -/* - * xxHash - Extremely Fast Hash algorithm - * Header File - * Copyright (C) 2012-2020 Yann Collet - * - * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * You can contact the author at: - * - xxHash homepage: https://www.xxhash.com - * - xxHash source repository: https://github.com/Cyan4973/xxHash - */ -/*! - * @mainpage xxHash - * - * @file xxhash.h - * xxHash prototypes and implementation - */ -/* TODO: update */ -/* Notice extracted from xxHash homepage: - -xxHash is an extremely fast hash algorithm, running at RAM speed limits. -It also successfully passes all tests from the SMHasher suite. - -Comparison (single thread, Windows Seven 32 bits, using SMHasher on a Core 2 Duo @3GHz) - -Name Speed Q.Score Author -xxHash 5.4 GB/s 10 -CrapWow 3.2 GB/s 2 Andrew -MurmurHash 3a 2.7 GB/s 10 Austin Appleby -SpookyHash 2.0 GB/s 10 Bob Jenkins -SBox 1.4 GB/s 9 Bret Mulvey -Lookup3 1.2 GB/s 9 Bob Jenkins -SuperFastHash 1.2 GB/s 1 Paul Hsieh -CityHash64 1.05 GB/s 10 Pike & Alakuijala -FNV 0.55 GB/s 5 Fowler, Noll, Vo -CRC32 0.43 GB/s 9 -MD5-32 0.33 GB/s 10 Ronald L. Rivest -SHA1-32 0.28 GB/s 10 - -Q.Score is a measure of quality of the hash function. -It depends on successfully passing SMHasher test set. -10 is a perfect score. - -Note: SMHasher's CRC32 implementation is not the fastest one. -Other speed-oriented implementations can be faster, -especially in combination with PCLMUL instruction: -https://fastcompression.blogspot.com/2019/03/presenting-xxh3.html?showComment=1552696407071#c3490092340461170735 - -A 64-bit version, named XXH64, is available since r35. -It offers much better speed, but for 64-bit applications only. -Name Speed on 64 bits Speed on 32 bits -XXH64 13.8 GB/s 1.9 GB/s -XXH32 6.8 GB/s 6.0 GB/s -*/ - -#if defined (__cplusplus) -extern "C" { -#endif - -/* **************************** - * INLINE mode - ******************************/ -/*! - * XXH_INLINE_ALL (and XXH_PRIVATE_API) - * Use these build macros to inline xxhash into the target unit. - * Inlining improves performance on small inputs, especially when the length is - * expressed as a compile-time constant: - * - * https://fastcompression.blogspot.com/2018/03/xxhash-for-small-keys-impressive-power.html - * - * It also keeps xxHash symbols private to the unit, so they are not exported. - * - * Usage: - * #define XXH_INLINE_ALL - * #include "xxhash.h" - * - * Do not compile and link xxhash.o as a separate object, as it is not useful. - */ -#if (defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API)) \ - && !defined(XXH_INLINE_ALL_31684351384) - /* this section should be traversed only once */ -# define XXH_INLINE_ALL_31684351384 - /* give access to the advanced API, required to compile implementations */ -# undef XXH_STATIC_LINKING_ONLY /* avoid macro redef */ -# define XXH_STATIC_LINKING_ONLY - /* make all functions private */ -# undef XXH_PUBLIC_API -# if defined(__GNUC__) -# define XXH_PUBLIC_API static __inline __attribute__((unused)) -# elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) -# define XXH_PUBLIC_API static inline -# elif defined(_MSC_VER) -# define XXH_PUBLIC_API static __inline -# else - /* note: this version may generate warnings for unused static functions */ -# define XXH_PUBLIC_API static -# endif - - /* - * This part deals with the special case where a unit wants to inline xxHash, - * but "xxhash.h" has previously been included without XXH_INLINE_ALL, such - * as part of some previously included *.h header file. - * Without further action, the new include would just be ignored, - * and functions would effectively _not_ be inlined (silent failure). - * The following macros solve this situation by prefixing all inlined names, - * avoiding naming collision with previous inclusions. - */ -# ifdef XXH_NAMESPACE -# error "XXH_INLINE_ALL with XXH_NAMESPACE is not supported" - /* - * Note: Alternative: #undef all symbols (it's a pretty large list). - * Without #error: it compiles, but functions are actually not inlined. - */ -# endif -# define XXH_NAMESPACE XXH_INLINE_ - /* - * Some identifiers (enums, type names) are not symbols, but they must - * still be renamed to avoid redeclaration. - * Alternative solution: do not redeclare them. - * However, this requires some #ifdefs, and is a more dispersed action. - * Meanwhile, renaming can be achieved in a single block - */ -# define XXH_IPREF(Id) XXH_INLINE_ ## Id -# define XXH_OK XXH_IPREF(XXH_OK) -# define XXH_ERROR XXH_IPREF(XXH_ERROR) -# define XXH_errorcode XXH_IPREF(XXH_errorcode) -# define XXH32_canonical_t XXH_IPREF(XXH32_canonical_t) -# define XXH64_canonical_t XXH_IPREF(XXH64_canonical_t) -# define XXH128_canonical_t XXH_IPREF(XXH128_canonical_t) -# define XXH32_state_s XXH_IPREF(XXH32_state_s) -# define XXH32_state_t XXH_IPREF(XXH32_state_t) -# define XXH64_state_s XXH_IPREF(XXH64_state_s) -# define XXH64_state_t XXH_IPREF(XXH64_state_t) -# define XXH3_state_s XXH_IPREF(XXH3_state_s) -# define XXH3_state_t XXH_IPREF(XXH3_state_t) -# define XXH128_hash_t XXH_IPREF(XXH128_hash_t) - /* Ensure the header is parsed again, even if it was previously included */ -# undef XXHASH_H_5627135585666179 -# undef XXHASH_H_STATIC_13879238742 -#endif /* XXH_INLINE_ALL || XXH_PRIVATE_API */ - - - -/* **************************************************************** - * Stable API - *****************************************************************/ -#ifndef XXHASH_H_5627135585666179 -#define XXHASH_H_5627135585666179 1 - - -/*! - * @defgroup public Public API - * Contains details on the public xxHash functions. - * @{ - */ -/* specific declaration modes for Windows */ -#if !defined(XXH_INLINE_ALL) && !defined(XXH_PRIVATE_API) -# if defined(WIN32) && defined(_MSC_VER) && (defined(XXH_IMPORT) || defined(XXH_EXPORT)) -# ifdef XXH_EXPORT -# define XXH_PUBLIC_API __declspec(dllexport) -# elif XXH_IMPORT -# define XXH_PUBLIC_API __declspec(dllimport) -# endif -# else -# define XXH_PUBLIC_API /* do nothing */ -# endif -#endif - -#ifdef XXH_DOXYGEN -/*! - * @brief Emulate a namespace by transparently prefixing all symbols. - * - * If you want to include _and expose_ xxHash functions from within your own - * library, but also want to avoid symbol collisions with other libraries which - * may also include xxHash, you can use XXH_NAMESPACE to automatically prefix - * any public symbol from xxhash library with the value of XXH_NAMESPACE - * (therefore, avoid empty or numeric values). - * - * Note that no change is required within the calling program as long as it - * includes `xxhash.h`: Regular symbol names will be automatically translated - * by this header. - */ -# define XXH_NAMESPACE /* YOUR NAME HERE */ -# undef XXH_NAMESPACE -#endif - -#ifdef XXH_NAMESPACE -# define XXH_CAT(A,B) A##B -# define XXH_NAME2(A,B) XXH_CAT(A,B) -# define XXH_versionNumber XXH_NAME2(XXH_NAMESPACE, XXH_versionNumber) -/* XXH32 */ -# define XXH32 XXH_NAME2(XXH_NAMESPACE, XXH32) -# define XXH32_createState XXH_NAME2(XXH_NAMESPACE, XXH32_createState) -# define XXH32_freeState XXH_NAME2(XXH_NAMESPACE, XXH32_freeState) -# define XXH32_reset XXH_NAME2(XXH_NAMESPACE, XXH32_reset) -# define XXH32_update XXH_NAME2(XXH_NAMESPACE, XXH32_update) -# define XXH32_digest XXH_NAME2(XXH_NAMESPACE, XXH32_digest) -# define XXH32_copyState XXH_NAME2(XXH_NAMESPACE, XXH32_copyState) -# define XXH32_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH32_canonicalFromHash) -# define XXH32_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH32_hashFromCanonical) -/* XXH64 */ -# define XXH64 XXH_NAME2(XXH_NAMESPACE, XXH64) -# define XXH64_createState XXH_NAME2(XXH_NAMESPACE, XXH64_createState) -# define XXH64_freeState XXH_NAME2(XXH_NAMESPACE, XXH64_freeState) -# define XXH64_reset XXH_NAME2(XXH_NAMESPACE, XXH64_reset) -# define XXH64_update XXH_NAME2(XXH_NAMESPACE, XXH64_update) -# define XXH64_digest XXH_NAME2(XXH_NAMESPACE, XXH64_digest) -# define XXH64_copyState XXH_NAME2(XXH_NAMESPACE, XXH64_copyState) -# define XXH64_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH64_canonicalFromHash) -# define XXH64_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH64_hashFromCanonical) -/* XXH3_64bits */ -# define XXH3_64bits XXH_NAME2(XXH_NAMESPACE, XXH3_64bits) -# define XXH3_64bits_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_withSecret) -# define XXH3_64bits_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_withSeed) -# define XXH3_createState XXH_NAME2(XXH_NAMESPACE, XXH3_createState) -# define XXH3_freeState XXH_NAME2(XXH_NAMESPACE, XXH3_freeState) -# define XXH3_copyState XXH_NAME2(XXH_NAMESPACE, XXH3_copyState) -# define XXH3_64bits_reset XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset) -# define XXH3_64bits_reset_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset_withSeed) -# define XXH3_64bits_reset_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset_withSecret) -# define XXH3_64bits_update XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_update) -# define XXH3_64bits_digest XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_digest) -# define XXH3_generateSecret XXH_NAME2(XXH_NAMESPACE, XXH3_generateSecret) -/* XXH3_128bits */ -# define XXH128 XXH_NAME2(XXH_NAMESPACE, XXH128) -# define XXH3_128bits XXH_NAME2(XXH_NAMESPACE, XXH3_128bits) -# define XXH3_128bits_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_withSeed) -# define XXH3_128bits_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_withSecret) -# define XXH3_128bits_reset XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset) -# define XXH3_128bits_reset_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset_withSeed) -# define XXH3_128bits_reset_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset_withSecret) -# define XXH3_128bits_update XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_update) -# define XXH3_128bits_digest XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_digest) -# define XXH128_isEqual XXH_NAME2(XXH_NAMESPACE, XXH128_isEqual) -# define XXH128_cmp XXH_NAME2(XXH_NAMESPACE, XXH128_cmp) -# define XXH128_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH128_canonicalFromHash) -# define XXH128_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH128_hashFromCanonical) -#endif - - -/* ************************************* -* Version -***************************************/ -#define XXH_VERSION_MAJOR 0 -#define XXH_VERSION_MINOR 8 -#define XXH_VERSION_RELEASE 0 -#define XXH_VERSION_NUMBER (XXH_VERSION_MAJOR *100*100 + XXH_VERSION_MINOR *100 + XXH_VERSION_RELEASE) - -/*! - * @brief Obtains the xxHash version. - * - * This is only useful when xxHash is compiled as a shared library, as it is - * independent of the version defined in the header. - * - * @return `XXH_VERSION_NUMBER` as of when the function was compiled. - */ -XXH_PUBLIC_API unsigned XXH_versionNumber (void); - - -/* **************************** -* Definitions -******************************/ -#include /* size_t */ -typedef enum { XXH_OK=0, XXH_ERROR } XXH_errorcode; - - -/*-********************************************************************** -* 32-bit hash -************************************************************************/ -#if defined(XXH_DOXYGEN) /* Don't show include */ -/*! - * @brief An unsigned 32-bit integer. - * - * Not necessarily defined to `uint32_t` but functionally equivalent. - */ -typedef uint32_t XXH32_hash_t; -#elif !defined (__VMS) \ - && (defined (__cplusplus) \ - || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) -# include - typedef uint32_t XXH32_hash_t; -#else -# include -# if UINT_MAX == 0xFFFFFFFFUL - typedef unsigned int XXH32_hash_t; -# else -# if ULONG_MAX == 0xFFFFFFFFUL - typedef unsigned long XXH32_hash_t; -# else -# error "unsupported platform: need a 32-bit type" -# endif -# endif -#endif - -/*! - * @} - * - * @defgroup xxh32_family XXH32 family - * @ingroup public - * Contains functions used in the classic 32-bit xxHash algorithm. - * - * @note - * XXH32 is considered rather weak by today's standards. - * The @ref xxh3_family provides competitive speed for both 32-bit and 64-bit - * systems, and offers true 64/128 bit hash results. It provides a superior - * level of dispersion, and greatly reduces the risks of collisions. - * - * @see @ref xxh64_family, @ref xxh3_family : Other xxHash families - * @see @ref xxh32_impl for implementation details - * @{ - */ - -/*! - * @brief Calculates the 32-bit hash of @p input using xxHash32. - * - * Speed on Core 2 Duo @ 3 GHz (single thread, SMHasher benchmark): 5.4 GB/s - * - * @param input The block of data to be hashed, at least @p length bytes in size. - * @param length The length of @p input, in bytes. - * @param seed The 32-bit seed to alter the hash's output predictably. - * - * @pre - * The memory between @p input and @p input + @p length must be valid, - * readable, contiguous memory. However, if @p length is `0`, @p input may be - * `NULL`. In C++, this also must be *TriviallyCopyable*. - * - * @return The calculated 32-bit hash value. - * - * @see - * XXH64(), XXH3_64bits_withSeed(), XXH3_128bits_withSeed(), XXH128(): - * Direct equivalents for the other variants of xxHash. - * @see - * XXH32_createState(), XXH32_update(), XXH32_digest(): Streaming version. - */ -XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, XXH32_hash_t seed); - -/*! - * Streaming functions generate the xxHash value from an incremental input. - * This method is slower than single-call functions, due to state management. - * For small inputs, prefer `XXH32()` and `XXH64()`, which are better optimized. - * - * An XXH state must first be allocated using `XXH*_createState()`. - * - * Start a new hash by initializing the state with a seed using `XXH*_reset()`. - * - * Then, feed the hash state by calling `XXH*_update()` as many times as necessary. - * - * The function returns an error code, with 0 meaning OK, and any other value - * meaning there is an error. - * - * Finally, a hash value can be produced anytime, by using `XXH*_digest()`. - * This function returns the nn-bits hash as an int or long long. - * - * It's still possible to continue inserting input into the hash state after a - * digest, and generate new hash values later on by invoking `XXH*_digest()`. - * - * When done, release the state using `XXH*_freeState()`. - * - * Example code for incrementally hashing a file: - * @code{.c} - * #include - * #include - * #define BUFFER_SIZE 256 - * - * // Note: XXH64 and XXH3 use the same interface. - * XXH32_hash_t - * hashFile(FILE* stream) - * { - * XXH32_state_t* state; - * unsigned char buf[BUFFER_SIZE]; - * size_t amt; - * XXH32_hash_t hash; - * - * state = XXH32_createState(); // Create a state - * assert(state != NULL); // Error check here - * XXH32_reset(state, 0xbaad5eed); // Reset state with our seed - * while ((amt = fread(buf, 1, sizeof(buf), stream)) != 0) { - * XXH32_update(state, buf, amt); // Hash the file in chunks - * } - * hash = XXH32_digest(state); // Finalize the hash - * XXH32_freeState(state); // Clean up - * return hash; - * } - * @endcode - */ - -/*! - * @typedef struct XXH32_state_s XXH32_state_t - * @brief The opaque state struct for the XXH32 streaming API. - * - * @see XXH32_state_s for details. - */ -typedef struct XXH32_state_s XXH32_state_t; - -/*! - * @brief Allocates an @ref XXH32_state_t. - * - * Must be freed with XXH32_freeState(). - * @return An allocated XXH32_state_t on success, `NULL` on failure. - */ -XXH_PUBLIC_API XXH32_state_t* XXH32_createState(void); -/*! - * @brief Frees an @ref XXH32_state_t. - * - * Must be allocated with XXH32_createState(). - * @param statePtr A pointer to an @ref XXH32_state_t allocated with @ref XXH32_createState(). - * @return XXH_OK. - */ -XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr); -/*! - * @brief Copies one @ref XXH32_state_t to another. - * - * @param dst_state The state to copy to. - * @param src_state The state to copy from. - * @pre - * @p dst_state and @p src_state must not be `NULL` and must not overlap. - */ -XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* dst_state, const XXH32_state_t* src_state); - -/*! - * @brief Resets an @ref XXH32_state_t to begin a new hash. - * - * This function resets and seeds a state. Call it before @ref XXH32_update(). - * - * @param statePtr The state struct to reset. - * @param seed The 32-bit seed to alter the hash result predictably. - * - * @pre - * @p statePtr must not be `NULL`. - * - * @return @ref XXH_OK on success, @ref XXH_ERROR on failure. - */ -XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, XXH32_hash_t seed); - -/*! - * @brief Consumes a block of @p input to an @ref XXH32_state_t. - * - * Call this to incrementally consume blocks of data. - * - * @param statePtr The state struct to update. - * @param input The block of data to be hashed, at least @p length bytes in size. - * @param length The length of @p input, in bytes. - * - * @pre - * @p statePtr must not be `NULL`. - * @pre - * The memory between @p input and @p input + @p length must be valid, - * readable, contiguous memory. However, if @p length is `0`, @p input may be - * `NULL`. In C++, this also must be *TriviallyCopyable*. - * - * @return @ref XXH_OK on success, @ref XXH_ERROR on failure. - */ -XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t length); - -/*! - * @brief Returns the calculated hash value from an @ref XXH32_state_t. - * - * @note - * Calling XXH32_digest() will not affect @p statePtr, so you can update, - * digest, and update again. - * - * @param statePtr The state struct to calculate the hash from. - * - * @pre - * @p statePtr must not be `NULL`. - * - * @return The calculated xxHash32 value from that state. - */ -XXH_PUBLIC_API XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr); - -/******* Canonical representation *******/ - -/* - * The default return values from XXH functions are unsigned 32 and 64 bit - * integers. - * This the simplest and fastest format for further post-processing. - * - * However, this leaves open the question of what is the order on the byte level, - * since little and big endian conventions will store the same number differently. - * - * The canonical representation settles this issue by mandating big-endian - * convention, the same convention as human-readable numbers (large digits first). - * - * When writing hash values to storage, sending them over a network, or printing - * them, it's highly recommended to use the canonical representation to ensure - * portability across a wider range of systems, present and future. - * - * The following functions allow transformation of hash values to and from - * canonical format. - */ - -/*! - * @brief Canonical (big endian) representation of @ref XXH32_hash_t. - */ -typedef struct { - unsigned char digest[4]; /*!< Hash bytes, big endian */ -} XXH32_canonical_t; - -/*! - * @brief Converts an @ref XXH32_hash_t to a big endian @ref XXH32_canonical_t. - * - * @param dst The @ref XXH32_canonical_t pointer to be stored to. - * @param hash The @ref XXH32_hash_t to be converted. - * - * @pre - * @p dst must not be `NULL`. - */ -XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash); - -/*! - * @brief Converts an @ref XXH32_canonical_t to a native @ref XXH32_hash_t. - * - * @param src The @ref XXH32_canonical_t to convert. - * - * @pre - * @p src must not be `NULL`. - * - * @return The converted hash. - */ -XXH_PUBLIC_API XXH32_hash_t XXH32_hashFromCanonical(const XXH32_canonical_t* src); - - -/*! - * @} - * @ingroup public - * @{ - */ - -#ifndef XXH_NO_LONG_LONG -/*-********************************************************************** -* 64-bit hash -************************************************************************/ -#if defined(XXH_DOXYGEN) /* don't include */ -/*! - * @brief An unsigned 64-bit integer. - * - * Not necessarily defined to `uint64_t` but functionally equivalent. - */ -typedef uint64_t XXH64_hash_t; -#elif !defined (__VMS) \ - && (defined (__cplusplus) \ - || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) -# include - typedef uint64_t XXH64_hash_t; -#else -# include -# if defined(__LP64__) && ULONG_MAX == 0xFFFFFFFFFFFFFFFFULL - /* LP64 ABI says uint64_t is unsigned long */ - typedef unsigned long XXH64_hash_t; -# else - /* the following type must have a width of 64-bit */ - typedef unsigned long long XXH64_hash_t; -# endif -#endif - -/*! - * @} - * - * @defgroup xxh64_family XXH64 family - * @ingroup public - * @{ - * Contains functions used in the classic 64-bit xxHash algorithm. - * - * @note - * XXH3 provides competitive speed for both 32-bit and 64-bit systems, - * and offers true 64/128 bit hash results. It provides a superior level of - * dispersion, and greatly reduces the risks of collisions. - */ - - -/*! - * @brief Calculates the 64-bit hash of @p input using xxHash64. - * - * This function usually runs faster on 64-bit systems, but slower on 32-bit - * systems (see benchmark). - * - * @param input The block of data to be hashed, at least @p length bytes in size. - * @param length The length of @p input, in bytes. - * @param seed The 64-bit seed to alter the hash's output predictably. - * - * @pre - * The memory between @p input and @p input + @p length must be valid, - * readable, contiguous memory. However, if @p length is `0`, @p input may be - * `NULL`. In C++, this also must be *TriviallyCopyable*. - * - * @return The calculated 64-bit hash. - * - * @see - * XXH32(), XXH3_64bits_withSeed(), XXH3_128bits_withSeed(), XXH128(): - * Direct equivalents for the other variants of xxHash. - * @see - * XXH64_createState(), XXH64_update(), XXH64_digest(): Streaming version. - */ -XXH_PUBLIC_API XXH64_hash_t XXH64(const void* input, size_t length, XXH64_hash_t seed); - -/******* Streaming *******/ -/*! - * @brief The opaque state struct for the XXH64 streaming API. - * - * @see XXH64_state_s for details. - */ -typedef struct XXH64_state_s XXH64_state_t; /* incomplete type */ -XXH_PUBLIC_API XXH64_state_t* XXH64_createState(void); -XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr); -XXH_PUBLIC_API void XXH64_copyState(XXH64_state_t* dst_state, const XXH64_state_t* src_state); - -XXH_PUBLIC_API XXH_errorcode XXH64_reset (XXH64_state_t* statePtr, XXH64_hash_t seed); -XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t length); -XXH_PUBLIC_API XXH64_hash_t XXH64_digest (const XXH64_state_t* statePtr); - -/******* Canonical representation *******/ -typedef struct { unsigned char digest[sizeof(XXH64_hash_t)]; } XXH64_canonical_t; -XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash); -XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src); - -/*! - * @} - * ************************************************************************ - * @defgroup xxh3_family XXH3 family - * @ingroup public - * @{ - * - * XXH3 is a more recent hash algorithm featuring: - * - Improved speed for both small and large inputs - * - True 64-bit and 128-bit outputs - * - SIMD acceleration - * - Improved 32-bit viability - * - * Speed analysis methodology is explained here: - * - * https://fastcompression.blogspot.com/2019/03/presenting-xxh3.html - * - * Compared to XXH64, expect XXH3 to run approximately - * ~2x faster on large inputs and >3x faster on small ones, - * exact differences vary depending on platform. - * - * XXH3's speed benefits greatly from SIMD and 64-bit arithmetic, - * but does not require it. - * Any 32-bit and 64-bit targets that can run XXH32 smoothly - * can run XXH3 at competitive speeds, even without vector support. - * Further details are explained in the implementation. - * - * Optimized implementations are provided for AVX512, AVX2, SSE2, NEON, POWER8, - * ZVector and scalar targets. This can be controlled via the XXH_VECTOR macro. - * - * XXH3 implementation is portable: - * it has a generic C90 formulation that can be compiled on any platform, - * all implementations generage exactly the same hash value on all platforms. - * Starting from v0.8.0, it's also labelled "stable", meaning that - * any future version will also generate the same hash value. - * - * XXH3 offers 2 variants, _64bits and _128bits. - * - * When only 64 bits are needed, prefer invoking the _64bits variant, as it - * reduces the amount of mixing, resulting in faster speed on small inputs. - * It's also generally simpler to manipulate a scalar return type than a struct. - * - * The API supports one-shot hashing, streaming mode, and custom secrets. - */ - -/*-********************************************************************** -* XXH3 64-bit variant -************************************************************************/ - -/* XXH3_64bits(): - * default 64-bit variant, using default secret and default seed of 0. - * It's the fastest variant. */ -XXH_PUBLIC_API XXH64_hash_t XXH3_64bits(const void* data, size_t len); - -/* - * XXH3_64bits_withSeed(): - * This variant generates a custom secret on the fly - * based on default secret altered using the `seed` value. - * While this operation is decently fast, note that it's not completely free. - * Note: seed==0 produces the same results as XXH3_64bits(). - */ -XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_withSeed(const void* data, size_t len, XXH64_hash_t seed); - -/*! - * The bare minimum size for a custom secret. - * - * @see - * XXH3_64bits_withSecret(), XXH3_64bits_reset_withSecret(), - * XXH3_128bits_withSecret(), XXH3_128bits_reset_withSecret(). - */ -#define XXH3_SECRET_SIZE_MIN 136 - -/* - * XXH3_64bits_withSecret(): - * It's possible to provide any blob of bytes as a "secret" to generate the hash. - * This makes it more difficult for an external actor to prepare an intentional collision. - * The main condition is that secretSize *must* be large enough (>= XXH3_SECRET_SIZE_MIN). - * However, the quality of produced hash values depends on secret's entropy. - * Technically, the secret must look like a bunch of random bytes. - * Avoid "trivial" or structured data such as repeated sequences or a text document. - * Whenever unsure about the "randomness" of the blob of bytes, - * consider relabelling it as a "custom seed" instead, - * and employ "XXH3_generateSecret()" (see below) - * to generate a high entropy secret derived from the custom seed. - */ -XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_withSecret(const void* data, size_t len, const void* secret, size_t secretSize); - - -/******* Streaming *******/ -/* - * Streaming requires state maintenance. - * This operation costs memory and CPU. - * As a consequence, streaming is slower than one-shot hashing. - * For better performance, prefer one-shot functions whenever applicable. - */ - -/*! - * @brief The state struct for the XXH3 streaming API. - * - * @see XXH3_state_s for details. - */ -typedef struct XXH3_state_s XXH3_state_t; -XXH_PUBLIC_API XXH3_state_t* XXH3_createState(void); -XXH_PUBLIC_API XXH_errorcode XXH3_freeState(XXH3_state_t* statePtr); -XXH_PUBLIC_API void XXH3_copyState(XXH3_state_t* dst_state, const XXH3_state_t* src_state); - -/* - * XXH3_64bits_reset(): - * Initialize with default parameters. - * digest will be equivalent to `XXH3_64bits()`. - */ -XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset(XXH3_state_t* statePtr); -/* - * XXH3_64bits_reset_withSeed(): - * Generate a custom secret from `seed`, and store it into `statePtr`. - * digest will be equivalent to `XXH3_64bits_withSeed()`. - */ -XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed); -/* - * XXH3_64bits_reset_withSecret(): - * `secret` is referenced, it _must outlive_ the hash streaming session. - * Similar to one-shot API, `secretSize` must be >= `XXH3_SECRET_SIZE_MIN`, - * and the quality of produced hash values depends on secret's entropy - * (secret's content should look like a bunch of random bytes). - * When in doubt about the randomness of a candidate `secret`, - * consider employing `XXH3_generateSecret()` instead (see below). - */ -XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize); - -XXH_PUBLIC_API XXH_errorcode XXH3_64bits_update (XXH3_state_t* statePtr, const void* input, size_t length); -XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_digest (const XXH3_state_t* statePtr); - -/* note : canonical representation of XXH3 is the same as XXH64 - * since they both produce XXH64_hash_t values */ - - -/*-********************************************************************** -* XXH3 128-bit variant -************************************************************************/ - -/*! - * @brief The return value from 128-bit hashes. - * - * Stored in little endian order, although the fields themselves are in native - * endianness. - */ -typedef struct { - XXH64_hash_t low64; /*!< `value & 0xFFFFFFFFFFFFFFFF` */ - XXH64_hash_t high64; /*!< `value >> 64` */ -} XXH128_hash_t; - -XXH_PUBLIC_API XXH128_hash_t XXH3_128bits(const void* data, size_t len); -XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSeed(const void* data, size_t len, XXH64_hash_t seed); -XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSecret(const void* data, size_t len, const void* secret, size_t secretSize); - -/******* Streaming *******/ -/* - * Streaming requires state maintenance. - * This operation costs memory and CPU. - * As a consequence, streaming is slower than one-shot hashing. - * For better performance, prefer one-shot functions whenever applicable. - * - * XXH3_128bits uses the same XXH3_state_t as XXH3_64bits(). - * Use already declared XXH3_createState() and XXH3_freeState(). - * - * All reset and streaming functions have same meaning as their 64-bit counterpart. - */ - -XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset(XXH3_state_t* statePtr); -XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed); -XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize); - -XXH_PUBLIC_API XXH_errorcode XXH3_128bits_update (XXH3_state_t* statePtr, const void* input, size_t length); -XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_digest (const XXH3_state_t* statePtr); - -/* Following helper functions make it possible to compare XXH128_hast_t values. - * Since XXH128_hash_t is a structure, this capability is not offered by the language. - * Note: For better performance, these functions can be inlined using XXH_INLINE_ALL */ - -/*! - * XXH128_isEqual(): - * Return: 1 if `h1` and `h2` are equal, 0 if they are not. - */ -XXH_PUBLIC_API int XXH128_isEqual(XXH128_hash_t h1, XXH128_hash_t h2); - -/*! - * XXH128_cmp(): - * - * This comparator is compatible with stdlib's `qsort()`/`bsearch()`. - * - * return: >0 if *h128_1 > *h128_2 - * =0 if *h128_1 == *h128_2 - * <0 if *h128_1 < *h128_2 - */ -XXH_PUBLIC_API int XXH128_cmp(const void* h128_1, const void* h128_2); - - -/******* Canonical representation *******/ -typedef struct { unsigned char digest[sizeof(XXH128_hash_t)]; } XXH128_canonical_t; -XXH_PUBLIC_API void XXH128_canonicalFromHash(XXH128_canonical_t* dst, XXH128_hash_t hash); -XXH_PUBLIC_API XXH128_hash_t XXH128_hashFromCanonical(const XXH128_canonical_t* src); - - -#endif /* XXH_NO_LONG_LONG */ - -/*! - * @} - */ -#endif /* XXHASH_H_5627135585666179 */ - - - -#if defined(XXH_STATIC_LINKING_ONLY) && !defined(XXHASH_H_STATIC_13879238742) -#define XXHASH_H_STATIC_13879238742 -/* **************************************************************************** - * This section contains declarations which are not guaranteed to remain stable. - * They may change in future versions, becoming incompatible with a different - * version of the library. - * These declarations should only be used with static linking. - * Never use them in association with dynamic linking! - ***************************************************************************** */ - -/* - * These definitions are only present to allow static allocation - * of XXH states, on stack or in a struct, for example. - * Never **ever** access their members directly. - */ - -/*! - * @internal - * @brief Structure for XXH32 streaming API. - * - * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY, - * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is - * an opaque type. This allows fields to safely be changed. - * - * Typedef'd to @ref XXH32_state_t. - * Do not access the members of this struct directly. - * @see XXH64_state_s, XXH3_state_s - */ -struct XXH32_state_s { - XXH32_hash_t total_len_32; /*!< Total length hashed, modulo 2^32 */ - XXH32_hash_t large_len; /*!< Whether the hash is >= 16 (handles @ref total_len_32 overflow) */ - XXH32_hash_t v1; /*!< First accumulator lane */ - XXH32_hash_t v2; /*!< Second accumulator lane */ - XXH32_hash_t v3; /*!< Third accumulator lane */ - XXH32_hash_t v4; /*!< Fourth accumulator lane */ - XXH32_hash_t mem32[4]; /*!< Internal buffer for partial reads. Treated as unsigned char[16]. */ - XXH32_hash_t memsize; /*!< Amount of data in @ref mem32 */ - XXH32_hash_t reserved; /*!< Reserved field. Do not read or write to it, it may be removed. */ -}; /* typedef'd to XXH32_state_t */ - - -#ifndef XXH_NO_LONG_LONG /* defined when there is no 64-bit support */ - -/*! - * @internal - * @brief Structure for XXH64 streaming API. - * - * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY, - * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is - * an opaque type. This allows fields to safely be changed. - * - * Typedef'd to @ref XXH64_state_t. - * Do not access the members of this struct directly. - * @see XXH32_state_s, XXH3_state_s - */ -struct XXH64_state_s { - XXH64_hash_t total_len; /*!< Total length hashed. This is always 64-bit. */ - XXH64_hash_t v1; /*!< First accumulator lane */ - XXH64_hash_t v2; /*!< Second accumulator lane */ - XXH64_hash_t v3; /*!< Third accumulator lane */ - XXH64_hash_t v4; /*!< Fourth accumulator lane */ - XXH64_hash_t mem64[4]; /*!< Internal buffer for partial reads. Treated as unsigned char[32]. */ - XXH32_hash_t memsize; /*!< Amount of data in @ref mem64 */ - XXH32_hash_t reserved32; /*!< Reserved field, needed for padding anyways*/ - XXH64_hash_t reserved64; /*!< Reserved field. Do not read or write to it, it may be removed. */ -}; /* typedef'd to XXH64_state_t */ - -#if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11+ */ -# include -# define XXH_ALIGN(n) alignas(n) -#elif defined(__GNUC__) -# define XXH_ALIGN(n) __attribute__ ((aligned(n))) -#elif defined(_MSC_VER) -# define XXH_ALIGN(n) __declspec(align(n)) -#else -# define XXH_ALIGN(n) /* disabled */ -#endif - -/* Old GCC versions only accept the attribute after the type in structures. */ -#if !(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) /* C11+ */ \ - && defined(__GNUC__) -# define XXH_ALIGN_MEMBER(align, type) type XXH_ALIGN(align) -#else -# define XXH_ALIGN_MEMBER(align, type) XXH_ALIGN(align) type -#endif - -/*! - * @brief The size of the internal XXH3 buffer. - * - * This is the optimal update size for incremental hashing. - * - * @see XXH3_64b_update(), XXH3_128b_update(). - */ -#define XXH3_INTERNALBUFFER_SIZE 256 - -/*! - * @brief Default size of the secret buffer (and @ref XXH3_kSecret). - * - * This is the size used in @ref XXH3_kSecret and the seeded functions. - * - * Not to be confused with @ref XXH3_SECRET_SIZE_MIN. - */ -#define XXH3_SECRET_DEFAULT_SIZE 192 - -/*! - * @internal - * @brief Structure for XXH3 streaming API. - * - * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY, - * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is - * an opaque type. This allows fields to safely be changed. - * - * @note **This structure has a strict alignment requirement of 64 bytes.** Do - * not allocate this with `malloc()` or `new`, it will not be sufficiently - * aligned. Use @ref XXH3_createState() and @ref XXH3_freeState(), or stack - * allocation. - * - * Typedef'd to @ref XXH3_state_t. - * Do not access the members of this struct directly. - * - * @see XXH3_INITSTATE() for stack initialization. - * @see XXH3_createState(), XXH3_freeState(). - * @see XXH32_state_s, XXH64_state_s - */ -struct XXH3_state_s { - XXH_ALIGN_MEMBER(64, XXH64_hash_t acc[8]); - /*!< The 8 accumulators. Similar to `vN` in @ref XXH32_state_s::v1 and @ref XXH64_state_s */ - XXH_ALIGN_MEMBER(64, unsigned char customSecret[XXH3_SECRET_DEFAULT_SIZE]); - /*!< Used to store a custom secret generated from a seed. */ - XXH_ALIGN_MEMBER(64, unsigned char buffer[XXH3_INTERNALBUFFER_SIZE]); - /*!< The internal buffer. @see XXH32_state_s::mem32 */ - XXH32_hash_t bufferedSize; - /*!< The amount of memory in @ref buffer, @see XXH32_state_s::memsize */ - XXH32_hash_t reserved32; - /*!< Reserved field. Needed for padding on 64-bit. */ - size_t nbStripesSoFar; - /*!< Number or stripes processed. */ - XXH64_hash_t totalLen; - /*!< Total length hashed. 64-bit even on 32-bit targets. */ - size_t nbStripesPerBlock; - /*!< Number of stripes per block. */ - size_t secretLimit; - /*!< Size of @ref customSecret or @ref extSecret */ - XXH64_hash_t seed; - /*!< Seed for _withSeed variants. Must be zero otherwise, @see XXH3_INITSTATE() */ - XXH64_hash_t reserved64; - /*!< Reserved field. */ - const unsigned char* extSecret; - /*!< Reference to an external secret for the _withSecret variants, NULL - * for other variants. */ - /* note: there may be some padding at the end due to alignment on 64 bytes */ -}; /* typedef'd to XXH3_state_t */ - -#undef XXH_ALIGN_MEMBER - -/*! - * @brief Initializes a stack-allocated `XXH3_state_s`. - * - * When the @ref XXH3_state_t structure is merely emplaced on stack, - * it should be initialized with XXH3_INITSTATE() or a memset() - * in case its first reset uses XXH3_NNbits_reset_withSeed(). - * This init can be omitted if the first reset uses default or _withSecret mode. - * This operation isn't necessary when the state is created with XXH3_createState(). - * Note that this doesn't prepare the state for a streaming operation, - * it's still necessary to use XXH3_NNbits_reset*() afterwards. - */ -#define XXH3_INITSTATE(XXH3_state_ptr) { (XXH3_state_ptr)->seed = 0; } - - -/* === Experimental API === */ -/* Symbols defined below must be considered tied to a specific library version. */ - -/* - * XXH3_generateSecret(): - * - * Derive a high-entropy secret from any user-defined content, named customSeed. - * The generated secret can be used in combination with `*_withSecret()` functions. - * The `_withSecret()` variants are useful to provide a higher level of protection than 64-bit seed, - * as it becomes much more difficult for an external actor to guess how to impact the calculation logic. - * - * The function accepts as input a custom seed of any length and any content, - * and derives from it a high-entropy secret of length XXH3_SECRET_DEFAULT_SIZE - * into an already allocated buffer secretBuffer. - * The generated secret is _always_ XXH_SECRET_DEFAULT_SIZE bytes long. - * - * The generated secret can then be used with any `*_withSecret()` variant. - * Functions `XXH3_128bits_withSecret()`, `XXH3_64bits_withSecret()`, - * `XXH3_128bits_reset_withSecret()` and `XXH3_64bits_reset_withSecret()` - * are part of this list. They all accept a `secret` parameter - * which must be very long for implementation reasons (>= XXH3_SECRET_SIZE_MIN) - * _and_ feature very high entropy (consist of random-looking bytes). - * These conditions can be a high bar to meet, so - * this function can be used to generate a secret of proper quality. - * - * customSeed can be anything. It can have any size, even small ones, - * and its content can be anything, even stupidly "low entropy" source such as a bunch of zeroes. - * The resulting `secret` will nonetheless provide all expected qualities. - * - * Supplying NULL as the customSeed copies the default secret into `secretBuffer`. - * When customSeedSize > 0, supplying NULL as customSeed is undefined behavior. - */ -XXH_PUBLIC_API void XXH3_generateSecret(void* secretBuffer, const void* customSeed, size_t customSeedSize); - - -/* simple short-cut to pre-selected XXH3_128bits variant */ -XXH_PUBLIC_API XXH128_hash_t XXH128(const void* data, size_t len, XXH64_hash_t seed); - - -#endif /* XXH_NO_LONG_LONG */ -#if defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API) -# define XXH_IMPLEMENTATION -#endif - -#endif /* defined(XXH_STATIC_LINKING_ONLY) && !defined(XXHASH_H_STATIC_13879238742) */ - - -/* ======================================================================== */ -/* ======================================================================== */ -/* ======================================================================== */ - - -/*-********************************************************************** - * xxHash implementation - *-********************************************************************** - * xxHash's implementation used to be hosted inside xxhash.c. - * - * However, inlining requires implementation to be visible to the compiler, - * hence be included alongside the header. - * Previously, implementation was hosted inside xxhash.c, - * which was then #included when inlining was activated. - * This construction created issues with a few build and install systems, - * as it required xxhash.c to be stored in /include directory. - * - * xxHash implementation is now directly integrated within xxhash.h. - * As a consequence, xxhash.c is no longer needed in /include. - * - * xxhash.c is still available and is still useful. - * In a "normal" setup, when xxhash is not inlined, - * xxhash.h only exposes the prototypes and public symbols, - * while xxhash.c can be built into an object file xxhash.o - * which can then be linked into the final binary. - ************************************************************************/ - -#if ( defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API) \ - || defined(XXH_IMPLEMENTATION) ) && !defined(XXH_IMPLEM_13a8737387) -# define XXH_IMPLEM_13a8737387 - -/* ************************************* -* Tuning parameters -***************************************/ - -/*! - * @defgroup tuning Tuning parameters - * @{ - * - * Various macros to control xxHash's behavior. - */ -#ifdef XXH_DOXYGEN -/*! - * @brief Define this to disable 64-bit code. - * - * Useful if only using the @ref xxh32_family and you have a strict C90 compiler. - */ -# define XXH_NO_LONG_LONG -# undef XXH_NO_LONG_LONG /* don't actually */ -/*! - * @brief Controls how unaligned memory is accessed. - * - * By default, access to unaligned memory is controlled by `memcpy()`, which is - * safe and portable. - * - * Unfortunately, on some target/compiler combinations, the generated assembly - * is sub-optimal. - * - * The below switch allow selection of a different access method - * in the search for improved performance. - * - * @par Possible options: - * - * - `XXH_FORCE_MEMORY_ACCESS=0` (default): `memcpy` - * @par - * Use `memcpy()`. Safe and portable. Note that most modern compilers will - * eliminate the function call and treat it as an unaligned access. - * - * - `XXH_FORCE_MEMORY_ACCESS=1`: `__attribute__((packed))` - * @par - * Depends on compiler extensions and is therefore not portable. - * This method is safe _if_ your compiler supports it, - * and *generally* as fast or faster than `memcpy`. - * - * - `XXH_FORCE_MEMORY_ACCESS=2`: Direct cast - * @par - * Casts directly and dereferences. This method doesn't depend on the - * compiler, but it violates the C standard as it directly dereferences an - * unaligned pointer. It can generate buggy code on targets which do not - * support unaligned memory accesses, but in some circumstances, it's the - * only known way to get the most performance. - * - * - `XXH_FORCE_MEMORY_ACCESS=3`: Byteshift - * @par - * Also portable. This can generate the best code on old compilers which don't - * inline small `memcpy()` calls, and it might also be faster on big-endian - * systems which lack a native byteswap instruction. However, some compilers - * will emit literal byteshifts even if the target supports unaligned access. - * . - * - * @warning - * Methods 1 and 2 rely on implementation-defined behavior. Use these with - * care, as what works on one compiler/platform/optimization level may cause - * another to read garbage data or even crash. - * - * See https://stackoverflow.com/a/32095106/646947 for details. - * - * Prefer these methods in priority order (0 > 3 > 1 > 2) - */ -# define XXH_FORCE_MEMORY_ACCESS 0 -/*! - * @def XXH_ACCEPT_NULL_INPUT_POINTER - * @brief Whether to add explicit `NULL` checks. - * - * If the input pointer is `NULL` and the length is non-zero, xxHash's default - * behavior is to dereference it, triggering a segfault. - * - * When this macro is enabled, xxHash actively checks the input for a null pointer. - * If it is, the result for null input pointers is the same as a zero-length input. - */ -# define XXH_ACCEPT_NULL_INPUT_POINTER 0 -/*! - * @def XXH_FORCE_ALIGN_CHECK - * @brief If defined to non-zero, adds a special path for aligned inputs (XXH32() - * and XXH64() only). - * - * This is an important performance trick for architectures without decent - * unaligned memory access performance. - * - * It checks for input alignment, and when conditions are met, uses a "fast - * path" employing direct 32-bit/64-bit reads, resulting in _dramatically - * faster_ read speed. - * - * The check costs one initial branch per hash, which is generally negligible, - * but not zero. - * - * Moreover, it's not useful to generate an additional code path if memory - * access uses the same instruction for both aligned and unaligned - * addresses (e.g. x86 and aarch64). - * - * In these cases, the alignment check can be removed by setting this macro to 0. - * Then the code will always use unaligned memory access. - * Align check is automatically disabled on x86, x64 & arm64, - * which are platforms known to offer good unaligned memory accesses performance. - * - * This option does not affect XXH3 (only XXH32 and XXH64). - */ -# define XXH_FORCE_ALIGN_CHECK 0 - -/*! - * @def XXH_NO_INLINE_HINTS - * @brief When non-zero, sets all functions to `static`. - * - * By default, xxHash tries to force the compiler to inline almost all internal - * functions. - * - * This can usually improve performance due to reduced jumping and improved - * constant folding, but significantly increases the size of the binary which - * might not be favorable. - * - * Additionally, sometimes the forced inlining can be detrimental to performance, - * depending on the architecture. - * - * XXH_NO_INLINE_HINTS marks all internal functions as static, giving the - * compiler full control on whether to inline or not. - * - * When not optimizing (-O0), optimizing for size (-Os, -Oz), or using - * -fno-inline with GCC or Clang, this will automatically be defined. - */ -# define XXH_NO_INLINE_HINTS 0 - -/*! - * @def XXH_REROLL - * @brief Whether to reroll `XXH32_finalize` and `XXH64_finalize`. - * - * For performance, `XXH32_finalize` and `XXH64_finalize` use an unrolled loop - * in the form of a switch statement. - * - * This is not always desirable, as it generates larger code, and depending on - * the architecture, may even be slower - * - * This is automatically defined with `-Os`/`-Oz` on GCC and Clang. - */ -# define XXH_REROLL 0 - -/*! - * @internal - * @brief Redefines old internal names. - * - * For compatibility with code that uses xxHash's internals before the names - * were changed to improve namespacing. There is no other reason to use this. - */ -# define XXH_OLD_NAMES -# undef XXH_OLD_NAMES /* don't actually use, it is ugly. */ -#endif /* XXH_DOXYGEN */ -/*! - * @} - */ - -#ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ - /* prefer __packed__ structures (method 1) for gcc on armv7 and armv8 */ -# if !defined(__clang__) && ( \ - (defined(__INTEL_COMPILER) && !defined(_WIN32)) || \ - (defined(__GNUC__) && (defined(__ARM_ARCH) && __ARM_ARCH >= 7)) ) -# define XXH_FORCE_MEMORY_ACCESS 1 -# endif -#endif - -#ifndef XXH_ACCEPT_NULL_INPUT_POINTER /* can be defined externally */ -# define XXH_ACCEPT_NULL_INPUT_POINTER 0 -#endif - -#ifndef XXH_FORCE_ALIGN_CHECK /* can be defined externally */ -# if defined(__i386) || defined(__x86_64__) || defined(__aarch64__) \ - || defined(_M_IX86) || defined(_M_X64) || defined(_M_ARM64) /* visual */ -# define XXH_FORCE_ALIGN_CHECK 0 -# else -# define XXH_FORCE_ALIGN_CHECK 1 -# endif -#endif - -#ifndef XXH_NO_INLINE_HINTS -# if defined(__OPTIMIZE_SIZE__) /* -Os, -Oz */ \ - || defined(__NO_INLINE__) /* -O0, -fno-inline */ -# define XXH_NO_INLINE_HINTS 1 -# else -# define XXH_NO_INLINE_HINTS 0 -# endif -#endif - -#ifndef XXH_REROLL -# if defined(__OPTIMIZE_SIZE__) -# define XXH_REROLL 1 -# else -# define XXH_REROLL 0 -# endif -#endif - -/*! - * @defgroup impl Implementation - * @{ - */ - - -/* ************************************* -* Includes & Memory related functions -***************************************/ -/* - * Modify the local functions below should you wish to use - * different memory routines for malloc() and free() - */ -#include - -/*! - * @internal - * @brief Modify this function to use a different routine than malloc(). - */ -static void* XXH_malloc(size_t s) { return malloc(s); } - -/*! - * @internal - * @brief Modify this function to use a different routine than free(). - */ -static void XXH_free(void* p) { free(p); } - -#include - -/*! - * @internal - * @brief Modify this function to use a different routine than memcpy(). - */ -static void* XXH_memcpy(void* dest, const void* src, size_t size) -{ - return memcpy(dest,src,size); -} - -#include /* ULLONG_MAX */ - - -/* ************************************* -* Compiler Specific Options -***************************************/ -#ifdef _MSC_VER /* Visual Studio warning fix */ -# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */ -#endif - -#if XXH_NO_INLINE_HINTS /* disable inlining hints */ -# if defined(__GNUC__) -# define XXH_FORCE_INLINE static __attribute__((unused)) -# else -# define XXH_FORCE_INLINE static -# endif -# define XXH_NO_INLINE static -/* enable inlining hints */ -#elif defined(_MSC_VER) /* Visual Studio */ -# define XXH_FORCE_INLINE static __forceinline -# define XXH_NO_INLINE static __declspec(noinline) -#elif defined(__GNUC__) -# define XXH_FORCE_INLINE static __inline__ __attribute__((always_inline, unused)) -# define XXH_NO_INLINE static __attribute__((noinline)) -#elif defined (__cplusplus) \ - || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) /* C99 */ -# define XXH_FORCE_INLINE static inline -# define XXH_NO_INLINE static -#else -# define XXH_FORCE_INLINE static -# define XXH_NO_INLINE static -#endif - - - -/* ************************************* -* Debug -***************************************/ -/*! - * @ingroup tuning - * @def XXH_DEBUGLEVEL - * @brief Sets the debugging level. - * - * XXH_DEBUGLEVEL is expected to be defined externally, typically via the - * compiler's command line options. The value must be a number. - */ -#ifndef XXH_DEBUGLEVEL -# ifdef DEBUGLEVEL /* backwards compat */ -# define XXH_DEBUGLEVEL DEBUGLEVEL -# else -# define XXH_DEBUGLEVEL 0 -# endif -#endif - -#if (XXH_DEBUGLEVEL>=1) -# include /* note: can still be disabled with NDEBUG */ -# define XXH_ASSERT(c) assert(c) -#else -# define XXH_ASSERT(c) ((void)0) -#endif - -/* note: use after variable declarations */ -#define XXH_STATIC_ASSERT(c) do { enum { XXH_sa = 1/(int)(!!(c)) }; } while (0) - - -/* ************************************* -* Basic Types -***************************************/ -#if !defined (__VMS) \ - && (defined (__cplusplus) \ - || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) -# include - typedef uint8_t xxh_u8; -#else - typedef unsigned char xxh_u8; -#endif -typedef XXH32_hash_t xxh_u32; - -#ifdef XXH_OLD_NAMES -# define BYTE xxh_u8 -# define U8 xxh_u8 -# define U32 xxh_u32 -#endif - -/* *** Memory access *** */ - -/*! - * @internal - * @fn xxh_u32 XXH_read32(const void* ptr) - * @brief Reads an unaligned 32-bit integer from @p ptr in native endianness. - * - * Affected by @ref XXH_FORCE_MEMORY_ACCESS. - * - * @param ptr The pointer to read from. - * @return The 32-bit native endian integer from the bytes at @p ptr. - */ - -/*! - * @internal - * @fn xxh_u32 XXH_readLE32(const void* ptr) - * @brief Reads an unaligned 32-bit little endian integer from @p ptr. - * - * Affected by @ref XXH_FORCE_MEMORY_ACCESS. - * - * @param ptr The pointer to read from. - * @return The 32-bit little endian integer from the bytes at @p ptr. - */ - -/*! - * @internal - * @fn xxh_u32 XXH_readBE32(const void* ptr) - * @brief Reads an unaligned 32-bit big endian integer from @p ptr. - * - * Affected by @ref XXH_FORCE_MEMORY_ACCESS. - * - * @param ptr The pointer to read from. - * @return The 32-bit big endian integer from the bytes at @p ptr. - */ - -/*! - * @internal - * @fn xxh_u32 XXH_readLE32_align(const void* ptr, XXH_alignment align) - * @brief Like @ref XXH_readLE32(), but has an option for aligned reads. - * - * Affected by @ref XXH_FORCE_MEMORY_ACCESS. - * Note that when @ref XXH_FORCE_ALIGN_CHECK == 0, the @p align parameter is - * always @ref XXH_alignment::XXH_unaligned. - * - * @param ptr The pointer to read from. - * @param align Whether @p ptr is aligned. - * @pre - * If @p align == @ref XXH_alignment::XXH_aligned, @p ptr must be 4 byte - * aligned. - * @return The 32-bit little endian integer from the bytes at @p ptr. - */ - -#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) -/* - * Manual byteshift. Best for old compilers which don't inline memcpy. - * We actually directly use XXH_readLE32 and XXH_readBE32. - */ -#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==2)) - -/* - * Force direct memory access. Only works on CPU which support unaligned memory - * access in hardware. - */ -static xxh_u32 XXH_read32(const void* memPtr) { return *(const xxh_u32*) memPtr; } - -#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==1)) - -/* - * __pack instructions are safer but compiler specific, hence potentially - * problematic for some compilers. - * - * Currently only defined for GCC and ICC. - */ -#ifdef XXH_OLD_NAMES -typedef union { xxh_u32 u32; } __attribute__((packed)) unalign; -#endif -static xxh_u32 XXH_read32(const void* ptr) -{ - typedef union { xxh_u32 u32; } __attribute__((packed)) xxh_unalign; - return ((const xxh_unalign*)ptr)->u32; -} - -#else - -/* - * Portable and safe solution. Generally efficient. - * see: https://stackoverflow.com/a/32095106/646947 - */ -static xxh_u32 XXH_read32(const void* memPtr) -{ - xxh_u32 val; - memcpy(&val, memPtr, sizeof(val)); - return val; -} - -#endif /* XXH_FORCE_DIRECT_MEMORY_ACCESS */ - - -/* *** Endianness *** */ -typedef enum { XXH_bigEndian=0, XXH_littleEndian=1 } XXH_endianess; - -/*! - * @ingroup tuning - * @def XXH_CPU_LITTLE_ENDIAN - * @brief Whether the target is little endian. - * - * Defined to 1 if the target is little endian, or 0 if it is big endian. - * It can be defined externally, for example on the compiler command line. - * - * If it is not defined, a runtime check (which is usually constant folded) - * is used instead. - * - * @note - * This is not necessarily defined to an integer constant. - * - * @see XXH_isLittleEndian() for the runtime check. - */ -#ifndef XXH_CPU_LITTLE_ENDIAN -/* - * Try to detect endianness automatically, to avoid the nonstandard behavior - * in `XXH_isLittleEndian()` - */ -# if defined(_WIN32) /* Windows is always little endian */ \ - || defined(__LITTLE_ENDIAN__) \ - || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) -# define XXH_CPU_LITTLE_ENDIAN 1 -# elif defined(__BIG_ENDIAN__) \ - || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) -# define XXH_CPU_LITTLE_ENDIAN 0 -# else -/*! - * @internal - * @brief Runtime check for @ref XXH_CPU_LITTLE_ENDIAN. - * - * Most compilers will constant fold this. - */ -static int XXH_isLittleEndian(void) -{ - /* - * Portable and well-defined behavior. - * Don't use static: it is detrimental to performance. - */ - const union { xxh_u32 u; xxh_u8 c[4]; } one = { 1 }; - return one.c[0]; -} -# define XXH_CPU_LITTLE_ENDIAN XXH_isLittleEndian() -# endif -#endif - - - - -/* **************************************** -* Compiler-specific Functions and Macros -******************************************/ -#define XXH_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) - -#ifdef __has_builtin -# define XXH_HAS_BUILTIN(x) __has_builtin(x) -#else -# define XXH_HAS_BUILTIN(x) 0 -#endif - -/*! - * @internal - * @def XXH_rotl32(x,r) - * @brief 32-bit rotate left. - * - * @param x The 32-bit integer to be rotated. - * @param r The number of bits to rotate. - * @pre - * @p r > 0 && @p r < 32 - * @note - * @p x and @p r may be evaluated multiple times. - * @return The rotated result. - */ -#if !defined(NO_CLANG_BUILTIN) && XXH_HAS_BUILTIN(__builtin_rotateleft32) \ - && XXH_HAS_BUILTIN(__builtin_rotateleft64) -# define XXH_rotl32 __builtin_rotateleft32 -# define XXH_rotl64 __builtin_rotateleft64 -/* Note: although _rotl exists for minGW (GCC under windows), performance seems poor */ -#elif defined(_MSC_VER) -# define XXH_rotl32(x,r) _rotl(x,r) -# define XXH_rotl64(x,r) _rotl64(x,r) -#else -# define XXH_rotl32(x,r) (((x) << (r)) | ((x) >> (32 - (r)))) -# define XXH_rotl64(x,r) (((x) << (r)) | ((x) >> (64 - (r)))) -#endif - -/*! - * @internal - * @fn xxh_u32 XXH_swap32(xxh_u32 x) - * @brief A 32-bit byteswap. - * - * @param x The 32-bit integer to byteswap. - * @return @p x, byteswapped. - */ -#if defined(_MSC_VER) /* Visual Studio */ -# define XXH_swap32 _byteswap_ulong -#elif XXH_GCC_VERSION >= 403 -# define XXH_swap32 __builtin_bswap32 -#else -static xxh_u32 XXH_swap32 (xxh_u32 x) -{ - return ((x << 24) & 0xff000000 ) | - ((x << 8) & 0x00ff0000 ) | - ((x >> 8) & 0x0000ff00 ) | - ((x >> 24) & 0x000000ff ); -} -#endif - - -/* *************************** -* Memory reads -*****************************/ - -/*! - * @internal - * @brief Enum to indicate whether a pointer is aligned. - */ -typedef enum { - XXH_aligned, /*!< Aligned */ - XXH_unaligned /*!< Possibly unaligned */ -} XXH_alignment; - -/* - * XXH_FORCE_MEMORY_ACCESS==3 is an endian-independent byteshift load. - * - * This is ideal for older compilers which don't inline memcpy. - */ -#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) - -XXH_FORCE_INLINE xxh_u32 XXH_readLE32(const void* memPtr) -{ - const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; - return bytePtr[0] - | ((xxh_u32)bytePtr[1] << 8) - | ((xxh_u32)bytePtr[2] << 16) - | ((xxh_u32)bytePtr[3] << 24); -} - -XXH_FORCE_INLINE xxh_u32 XXH_readBE32(const void* memPtr) -{ - const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; - return bytePtr[3] - | ((xxh_u32)bytePtr[2] << 8) - | ((xxh_u32)bytePtr[1] << 16) - | ((xxh_u32)bytePtr[0] << 24); -} - -#else -XXH_FORCE_INLINE xxh_u32 XXH_readLE32(const void* ptr) -{ - return XXH_CPU_LITTLE_ENDIAN ? XXH_read32(ptr) : XXH_swap32(XXH_read32(ptr)); -} - -static xxh_u32 XXH_readBE32(const void* ptr) -{ - return XXH_CPU_LITTLE_ENDIAN ? XXH_swap32(XXH_read32(ptr)) : XXH_read32(ptr); -} -#endif - -XXH_FORCE_INLINE xxh_u32 -XXH_readLE32_align(const void* ptr, XXH_alignment align) -{ - if (align==XXH_unaligned) { - return XXH_readLE32(ptr); - } else { - return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u32*)ptr : XXH_swap32(*(const xxh_u32*)ptr); - } -} - - -/* ************************************* -* Misc -***************************************/ -/*! @ingroup public */ -XXH_PUBLIC_API unsigned XXH_versionNumber (void) { return XXH_VERSION_NUMBER; } - - -/* ******************************************************************* -* 32-bit hash functions -*********************************************************************/ -/*! - * @} - * @defgroup xxh32_impl XXH32 implementation - * @ingroup impl - * @{ - */ - /* #define instead of static const, to be used as initializers */ -#define XXH_PRIME32_1 0x9E3779B1U /*!< 0b10011110001101110111100110110001 */ -#define XXH_PRIME32_2 0x85EBCA77U /*!< 0b10000101111010111100101001110111 */ -#define XXH_PRIME32_3 0xC2B2AE3DU /*!< 0b11000010101100101010111000111101 */ -#define XXH_PRIME32_4 0x27D4EB2FU /*!< 0b00100111110101001110101100101111 */ -#define XXH_PRIME32_5 0x165667B1U /*!< 0b00010110010101100110011110110001 */ - -#ifdef XXH_OLD_NAMES -# define PRIME32_1 XXH_PRIME32_1 -# define PRIME32_2 XXH_PRIME32_2 -# define PRIME32_3 XXH_PRIME32_3 -# define PRIME32_4 XXH_PRIME32_4 -# define PRIME32_5 XXH_PRIME32_5 -#endif - -/*! - * @internal - * @brief Normal stripe processing routine. - * - * This shuffles the bits so that any bit from @p input impacts several bits in - * @p acc. - * - * @param acc The accumulator lane. - * @param input The stripe of input to mix. - * @return The mixed accumulator lane. - */ -static xxh_u32 XXH32_round(xxh_u32 acc, xxh_u32 input) -{ - acc += input * XXH_PRIME32_2; - acc = XXH_rotl32(acc, 13); - acc *= XXH_PRIME32_1; -#if defined(__GNUC__) && defined(__SSE4_1__) && !defined(XXH_ENABLE_AUTOVECTORIZE) - /* - * UGLY HACK: - * This inline assembly hack forces acc into a normal register. This is the - * only thing that prevents GCC and Clang from autovectorizing the XXH32 - * loop (pragmas and attributes don't work for some reason) without globally - * disabling SSE4.1. - * - * The reason we want to avoid vectorization is because despite working on - * 4 integers at a time, there are multiple factors slowing XXH32 down on - * SSE4: - * - There's a ridiculous amount of lag from pmulld (10 cycles of latency on - * newer chips!) making it slightly slower to multiply four integers at - * once compared to four integers independently. Even when pmulld was - * fastest, Sandy/Ivy Bridge, it is still not worth it to go into SSE - * just to multiply unless doing a long operation. - * - * - Four instructions are required to rotate, - * movqda tmp, v // not required with VEX encoding - * pslld tmp, 13 // tmp <<= 13 - * psrld v, 19 // x >>= 19 - * por v, tmp // x |= tmp - * compared to one for scalar: - * roll v, 13 // reliably fast across the board - * shldl v, v, 13 // Sandy Bridge and later prefer this for some reason - * - * - Instruction level parallelism is actually more beneficial here because - * the SIMD actually serializes this operation: While v1 is rotating, v2 - * can load data, while v3 can multiply. SSE forces them to operate - * together. - * - * How this hack works: - * __asm__("" // Declare an assembly block but don't declare any instructions - * : // However, as an Input/Output Operand, - * "+r" // constrain a read/write operand (+) as a general purpose register (r). - * (acc) // and set acc as the operand - * ); - * - * Because of the 'r', the compiler has promised that seed will be in a - * general purpose register and the '+' says that it will be 'read/write', - * so it has to assume it has changed. It is like volatile without all the - * loads and stores. - * - * Since the argument has to be in a normal register (not an SSE register), - * each time XXH32_round is called, it is impossible to vectorize. - */ - __asm__("" : "+r" (acc)); -#endif - return acc; -} - -/*! - * @internal - * @brief Mixes all bits to finalize the hash. - * - * The final mix ensures that all input bits have a chance to impact any bit in - * the output digest, resulting in an unbiased distribution. - * - * @param h32 The hash to avalanche. - * @return The avalanched hash. - */ -static xxh_u32 XXH32_avalanche(xxh_u32 h32) -{ - h32 ^= h32 >> 15; - h32 *= XXH_PRIME32_2; - h32 ^= h32 >> 13; - h32 *= XXH_PRIME32_3; - h32 ^= h32 >> 16; - return(h32); -} - -#define XXH_get32bits(p) XXH_readLE32_align(p, align) - -/*! - * @internal - * @brief Processes the last 0-15 bytes of @p ptr. - * - * There may be up to 15 bytes remaining to consume from the input. - * This final stage will digest them to ensure that all input bytes are present - * in the final mix. - * - * @param h32 The hash to finalize. - * @param ptr The pointer to the remaining input. - * @param len The remaining length, modulo 16. - * @param align Whether @p ptr is aligned. - * @return The finalized hash. - */ -static xxh_u32 -XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) -{ -#define XXH_PROCESS1 do { \ - h32 += (*ptr++) * XXH_PRIME32_5; \ - h32 = XXH_rotl32(h32, 11) * XXH_PRIME32_1; \ -} while (0) - -#define XXH_PROCESS4 do { \ - h32 += XXH_get32bits(ptr) * XXH_PRIME32_3; \ - ptr += 4; \ - h32 = XXH_rotl32(h32, 17) * XXH_PRIME32_4; \ -} while (0) - - /* Compact rerolled version */ - if (XXH_REROLL) { - len &= 15; - while (len >= 4) { - XXH_PROCESS4; - len -= 4; - } - while (len > 0) { - XXH_PROCESS1; - --len; - } - return XXH32_avalanche(h32); - } else { - switch(len&15) /* or switch(bEnd - p) */ { - case 12: XXH_PROCESS4; - /* fallthrough */ - case 8: XXH_PROCESS4; - /* fallthrough */ - case 4: XXH_PROCESS4; - return XXH32_avalanche(h32); - - case 13: XXH_PROCESS4; - /* fallthrough */ - case 9: XXH_PROCESS4; - /* fallthrough */ - case 5: XXH_PROCESS4; - XXH_PROCESS1; - return XXH32_avalanche(h32); - - case 14: XXH_PROCESS4; - /* fallthrough */ - case 10: XXH_PROCESS4; - /* fallthrough */ - case 6: XXH_PROCESS4; - XXH_PROCESS1; - XXH_PROCESS1; - return XXH32_avalanche(h32); - - case 15: XXH_PROCESS4; - /* fallthrough */ - case 11: XXH_PROCESS4; - /* fallthrough */ - case 7: XXH_PROCESS4; - /* fallthrough */ - case 3: XXH_PROCESS1; - /* fallthrough */ - case 2: XXH_PROCESS1; - /* fallthrough */ - case 1: XXH_PROCESS1; - /* fallthrough */ - case 0: return XXH32_avalanche(h32); - } - XXH_ASSERT(0); - return h32; /* reaching this point is deemed impossible */ - } -} - -#ifdef XXH_OLD_NAMES -# define PROCESS1 XXH_PROCESS1 -# define PROCESS4 XXH_PROCESS4 -#else -# undef XXH_PROCESS1 -# undef XXH_PROCESS4 -#endif - -/*! - * @internal - * @brief The implementation for @ref XXH32(). - * - * @param input, len, seed Directly passed from @ref XXH32(). - * @param align Whether @p input is aligned. - * @return The calculated hash. - */ -XXH_FORCE_INLINE xxh_u32 -XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align) -{ - const xxh_u8* bEnd = input + len; - xxh_u32 h32; - -#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) - if (input==NULL) { - len=0; - bEnd=input=(const xxh_u8*)(size_t)16; - } -#endif - - if (len>=16) { - const xxh_u8* const limit = bEnd - 15; - xxh_u32 v1 = seed + XXH_PRIME32_1 + XXH_PRIME32_2; - xxh_u32 v2 = seed + XXH_PRIME32_2; - xxh_u32 v3 = seed + 0; - xxh_u32 v4 = seed - XXH_PRIME32_1; - - do { - v1 = XXH32_round(v1, XXH_get32bits(input)); input += 4; - v2 = XXH32_round(v2, XXH_get32bits(input)); input += 4; - v3 = XXH32_round(v3, XXH_get32bits(input)); input += 4; - v4 = XXH32_round(v4, XXH_get32bits(input)); input += 4; - } while (input < limit); - - h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7) - + XXH_rotl32(v3, 12) + XXH_rotl32(v4, 18); - } else { - h32 = seed + XXH_PRIME32_5; - } - - h32 += (xxh_u32)len; - - return XXH32_finalize(h32, input, len&15, align); -} - -/*! @ingroup xxh32_family */ -XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t len, XXH32_hash_t seed) -{ -#if 0 - /* Simple version, good for code maintenance, but unfortunately slow for small inputs */ - XXH32_state_t state; - XXH32_reset(&state, seed); - XXH32_update(&state, (const xxh_u8*)input, len); - return XXH32_digest(&state); -#else - if (XXH_FORCE_ALIGN_CHECK) { - if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */ - return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); - } } - - return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); -#endif -} - - - -/******* Hash streaming *******/ -/*! - * @ingroup xxh32_family - */ -XXH_PUBLIC_API XXH32_state_t* XXH32_createState(void) -{ - return (XXH32_state_t*)XXH_malloc(sizeof(XXH32_state_t)); -} -/*! @ingroup xxh32_family */ -XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr) -{ - XXH_free(statePtr); - return XXH_OK; -} - -/*! @ingroup xxh32_family */ -XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* dstState, const XXH32_state_t* srcState) -{ - memcpy(dstState, srcState, sizeof(*dstState)); -} - -/*! @ingroup xxh32_family */ -XXH_PUBLIC_API XXH_errorcode XXH32_reset(XXH32_state_t* statePtr, XXH32_hash_t seed) -{ - XXH32_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ - memset(&state, 0, sizeof(state)); - state.v1 = seed + XXH_PRIME32_1 + XXH_PRIME32_2; - state.v2 = seed + XXH_PRIME32_2; - state.v3 = seed + 0; - state.v4 = seed - XXH_PRIME32_1; - /* do not write into reserved, planned to be removed in a future version */ - memcpy(statePtr, &state, sizeof(state) - sizeof(state.reserved)); - return XXH_OK; -} - - -/*! @ingroup xxh32_family */ -XXH_PUBLIC_API XXH_errorcode -XXH32_update(XXH32_state_t* state, const void* input, size_t len) -{ - if (input==NULL) -#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) - return XXH_OK; -#else - return XXH_ERROR; -#endif - - { const xxh_u8* p = (const xxh_u8*)input; - const xxh_u8* const bEnd = p + len; - - state->total_len_32 += (XXH32_hash_t)len; - state->large_len |= (XXH32_hash_t)((len>=16) | (state->total_len_32>=16)); - - if (state->memsize + len < 16) { /* fill in tmp buffer */ - XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, len); - state->memsize += (XXH32_hash_t)len; - return XXH_OK; - } - - if (state->memsize) { /* some data left from previous update */ - XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize); - { const xxh_u32* p32 = state->mem32; - state->v1 = XXH32_round(state->v1, XXH_readLE32(p32)); p32++; - state->v2 = XXH32_round(state->v2, XXH_readLE32(p32)); p32++; - state->v3 = XXH32_round(state->v3, XXH_readLE32(p32)); p32++; - state->v4 = XXH32_round(state->v4, XXH_readLE32(p32)); - } - p += 16-state->memsize; - state->memsize = 0; - } - - if (p <= bEnd-16) { - const xxh_u8* const limit = bEnd - 16; - xxh_u32 v1 = state->v1; - xxh_u32 v2 = state->v2; - xxh_u32 v3 = state->v3; - xxh_u32 v4 = state->v4; - - do { - v1 = XXH32_round(v1, XXH_readLE32(p)); p+=4; - v2 = XXH32_round(v2, XXH_readLE32(p)); p+=4; - v3 = XXH32_round(v3, XXH_readLE32(p)); p+=4; - v4 = XXH32_round(v4, XXH_readLE32(p)); p+=4; - } while (p<=limit); - - state->v1 = v1; - state->v2 = v2; - state->v3 = v3; - state->v4 = v4; - } - - if (p < bEnd) { - XXH_memcpy(state->mem32, p, (size_t)(bEnd-p)); - state->memsize = (unsigned)(bEnd-p); - } - } - - return XXH_OK; -} - - -/*! @ingroup xxh32_family */ -XXH_PUBLIC_API XXH32_hash_t XXH32_digest(const XXH32_state_t* state) -{ - xxh_u32 h32; - - if (state->large_len) { - h32 = XXH_rotl32(state->v1, 1) - + XXH_rotl32(state->v2, 7) - + XXH_rotl32(state->v3, 12) - + XXH_rotl32(state->v4, 18); - } else { - h32 = state->v3 /* == seed */ + XXH_PRIME32_5; - } - - h32 += state->total_len_32; - - return XXH32_finalize(h32, (const xxh_u8*)state->mem32, state->memsize, XXH_aligned); -} - - -/******* Canonical representation *******/ - -/*! - * @ingroup xxh32_family - * The default return values from XXH functions are unsigned 32 and 64 bit - * integers. - * - * The canonical representation uses big endian convention, the same convention - * as human-readable numbers (large digits first). - * - * This way, hash values can be written into a file or buffer, remaining - * comparable across different systems. - * - * The following functions allow transformation of hash values to and from their - * canonical format. - */ -XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash) -{ - XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) == sizeof(XXH32_hash_t)); - if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap32(hash); - memcpy(dst, &hash, sizeof(*dst)); -} -/*! @ingroup xxh32_family */ -XXH_PUBLIC_API XXH32_hash_t XXH32_hashFromCanonical(const XXH32_canonical_t* src) -{ - return XXH_readBE32(src); -} - - -#ifndef XXH_NO_LONG_LONG - -/* ******************************************************************* -* 64-bit hash functions -*********************************************************************/ -/*! - * @} - * @ingroup impl - * @{ - */ -/******* Memory access *******/ - -typedef XXH64_hash_t xxh_u64; - -#ifdef XXH_OLD_NAMES -# define U64 xxh_u64 -#endif - -/*! - * XXH_REROLL_XXH64: - * Whether to reroll the XXH64_finalize() loop. - * - * Just like XXH32, we can unroll the XXH64_finalize() loop. This can be a - * performance gain on 64-bit hosts, as only one jump is required. - * - * However, on 32-bit hosts, because arithmetic needs to be done with two 32-bit - * registers, and 64-bit arithmetic needs to be simulated, it isn't beneficial - * to unroll. The code becomes ridiculously large (the largest function in the - * binary on i386!), and rerolling it saves anywhere from 3kB to 20kB. It is - * also slightly faster because it fits into cache better and is more likely - * to be inlined by the compiler. - * - * If XXH_REROLL is defined, this is ignored and the loop is always rerolled. - */ -#ifndef XXH_REROLL_XXH64 -# if (defined(__ILP32__) || defined(_ILP32)) /* ILP32 is often defined on 32-bit GCC family */ \ - || !(defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64) /* x86-64 */ \ - || defined(_M_ARM64) || defined(__aarch64__) || defined(__arm64__) /* aarch64 */ \ - || defined(__PPC64__) || defined(__PPC64LE__) || defined(__ppc64__) || defined(__powerpc64__) /* ppc64 */ \ - || defined(__mips64__) || defined(__mips64)) /* mips64 */ \ - || (!defined(SIZE_MAX) || SIZE_MAX < ULLONG_MAX) /* check limits */ -# define XXH_REROLL_XXH64 1 -# else -# define XXH_REROLL_XXH64 0 -# endif -#endif /* !defined(XXH_REROLL_XXH64) */ - -#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) -/* - * Manual byteshift. Best for old compilers which don't inline memcpy. - * We actually directly use XXH_readLE64 and XXH_readBE64. - */ -#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==2)) - -/* Force direct memory access. Only works on CPU which support unaligned memory access in hardware */ -static xxh_u64 XXH_read64(const void* memPtr) -{ - return *(const xxh_u64*) memPtr; -} - -#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==1)) - -/* - * __pack instructions are safer, but compiler specific, hence potentially - * problematic for some compilers. - * - * Currently only defined for GCC and ICC. - */ -#ifdef XXH_OLD_NAMES -typedef union { xxh_u32 u32; xxh_u64 u64; } __attribute__((packed)) unalign64; -#endif -static xxh_u64 XXH_read64(const void* ptr) -{ - typedef union { xxh_u32 u32; xxh_u64 u64; } __attribute__((packed)) xxh_unalign64; - return ((const xxh_unalign64*)ptr)->u64; -} - -#else - -/* - * Portable and safe solution. Generally efficient. - * see: https://stackoverflow.com/a/32095106/646947 - */ -static xxh_u64 XXH_read64(const void* memPtr) -{ - xxh_u64 val; - memcpy(&val, memPtr, sizeof(val)); - return val; -} - -#endif /* XXH_FORCE_DIRECT_MEMORY_ACCESS */ - -#if defined(_MSC_VER) /* Visual Studio */ -# define XXH_swap64 _byteswap_uint64 -#elif XXH_GCC_VERSION >= 403 -# define XXH_swap64 __builtin_bswap64 -#else -static xxh_u64 XXH_swap64(xxh_u64 x) -{ - return ((x << 56) & 0xff00000000000000ULL) | - ((x << 40) & 0x00ff000000000000ULL) | - ((x << 24) & 0x0000ff0000000000ULL) | - ((x << 8) & 0x000000ff00000000ULL) | - ((x >> 8) & 0x00000000ff000000ULL) | - ((x >> 24) & 0x0000000000ff0000ULL) | - ((x >> 40) & 0x000000000000ff00ULL) | - ((x >> 56) & 0x00000000000000ffULL); -} -#endif - - -/* XXH_FORCE_MEMORY_ACCESS==3 is an endian-independent byteshift load. */ -#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) - -XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* memPtr) -{ - const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; - return bytePtr[0] - | ((xxh_u64)bytePtr[1] << 8) - | ((xxh_u64)bytePtr[2] << 16) - | ((xxh_u64)bytePtr[3] << 24) - | ((xxh_u64)bytePtr[4] << 32) - | ((xxh_u64)bytePtr[5] << 40) - | ((xxh_u64)bytePtr[6] << 48) - | ((xxh_u64)bytePtr[7] << 56); -} - -XXH_FORCE_INLINE xxh_u64 XXH_readBE64(const void* memPtr) -{ - const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; - return bytePtr[7] - | ((xxh_u64)bytePtr[6] << 8) - | ((xxh_u64)bytePtr[5] << 16) - | ((xxh_u64)bytePtr[4] << 24) - | ((xxh_u64)bytePtr[3] << 32) - | ((xxh_u64)bytePtr[2] << 40) - | ((xxh_u64)bytePtr[1] << 48) - | ((xxh_u64)bytePtr[0] << 56); -} - -#else -XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* ptr) -{ - return XXH_CPU_LITTLE_ENDIAN ? XXH_read64(ptr) : XXH_swap64(XXH_read64(ptr)); -} - -static xxh_u64 XXH_readBE64(const void* ptr) -{ - return XXH_CPU_LITTLE_ENDIAN ? XXH_swap64(XXH_read64(ptr)) : XXH_read64(ptr); -} -#endif - -XXH_FORCE_INLINE xxh_u64 -XXH_readLE64_align(const void* ptr, XXH_alignment align) -{ - if (align==XXH_unaligned) - return XXH_readLE64(ptr); - else - return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u64*)ptr : XXH_swap64(*(const xxh_u64*)ptr); -} - - -/******* xxh64 *******/ -/*! - * @} - * @defgroup xxh64_impl XXH64 implementation - * @ingroup impl - * @{ - */ -/* #define rather that static const, to be used as initializers */ -#define XXH_PRIME64_1 0x9E3779B185EBCA87ULL /*!< 0b1001111000110111011110011011000110000101111010111100101010000111 */ -#define XXH_PRIME64_2 0xC2B2AE3D27D4EB4FULL /*!< 0b1100001010110010101011100011110100100111110101001110101101001111 */ -#define XXH_PRIME64_3 0x165667B19E3779F9ULL /*!< 0b0001011001010110011001111011000110011110001101110111100111111001 */ -#define XXH_PRIME64_4 0x85EBCA77C2B2AE63ULL /*!< 0b1000010111101011110010100111011111000010101100101010111001100011 */ -#define XXH_PRIME64_5 0x27D4EB2F165667C5ULL /*!< 0b0010011111010100111010110010111100010110010101100110011111000101 */ - -#ifdef XXH_OLD_NAMES -# define PRIME64_1 XXH_PRIME64_1 -# define PRIME64_2 XXH_PRIME64_2 -# define PRIME64_3 XXH_PRIME64_3 -# define PRIME64_4 XXH_PRIME64_4 -# define PRIME64_5 XXH_PRIME64_5 -#endif - -static xxh_u64 XXH64_round(xxh_u64 acc, xxh_u64 input) -{ - acc += input * XXH_PRIME64_2; - acc = XXH_rotl64(acc, 31); - acc *= XXH_PRIME64_1; - return acc; -} - -static xxh_u64 XXH64_mergeRound(xxh_u64 acc, xxh_u64 val) -{ - val = XXH64_round(0, val); - acc ^= val; - acc = acc * XXH_PRIME64_1 + XXH_PRIME64_4; - return acc; -} - -static xxh_u64 XXH64_avalanche(xxh_u64 h64) -{ - h64 ^= h64 >> 33; - h64 *= XXH_PRIME64_2; - h64 ^= h64 >> 29; - h64 *= XXH_PRIME64_3; - h64 ^= h64 >> 32; - return h64; -} - - -#define XXH_get64bits(p) XXH_readLE64_align(p, align) - -static xxh_u64 -XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) -{ -#define XXH_PROCESS1_64 do { \ - h64 ^= (*ptr++) * XXH_PRIME64_5; \ - h64 = XXH_rotl64(h64, 11) * XXH_PRIME64_1; \ -} while (0) - -#define XXH_PROCESS4_64 do { \ - h64 ^= (xxh_u64)(XXH_get32bits(ptr)) * XXH_PRIME64_1; \ - ptr += 4; \ - h64 = XXH_rotl64(h64, 23) * XXH_PRIME64_2 + XXH_PRIME64_3; \ -} while (0) - -#define XXH_PROCESS8_64 do { \ - xxh_u64 const k1 = XXH64_round(0, XXH_get64bits(ptr)); \ - ptr += 8; \ - h64 ^= k1; \ - h64 = XXH_rotl64(h64,27) * XXH_PRIME64_1 + XXH_PRIME64_4; \ -} while (0) - - /* Rerolled version for 32-bit targets is faster and much smaller. */ - if (XXH_REROLL || XXH_REROLL_XXH64) { - len &= 31; - while (len >= 8) { - XXH_PROCESS8_64; - len -= 8; - } - if (len >= 4) { - XXH_PROCESS4_64; - len -= 4; - } - while (len > 0) { - XXH_PROCESS1_64; - --len; - } - return XXH64_avalanche(h64); - } else { - switch(len & 31) { - case 24: XXH_PROCESS8_64; - /* fallthrough */ - case 16: XXH_PROCESS8_64; - /* fallthrough */ - case 8: XXH_PROCESS8_64; - return XXH64_avalanche(h64); - - case 28: XXH_PROCESS8_64; - /* fallthrough */ - case 20: XXH_PROCESS8_64; - /* fallthrough */ - case 12: XXH_PROCESS8_64; - /* fallthrough */ - case 4: XXH_PROCESS4_64; - return XXH64_avalanche(h64); - - case 25: XXH_PROCESS8_64; - /* fallthrough */ - case 17: XXH_PROCESS8_64; - /* fallthrough */ - case 9: XXH_PROCESS8_64; - XXH_PROCESS1_64; - return XXH64_avalanche(h64); - - case 29: XXH_PROCESS8_64; - /* fallthrough */ - case 21: XXH_PROCESS8_64; - /* fallthrough */ - case 13: XXH_PROCESS8_64; - /* fallthrough */ - case 5: XXH_PROCESS4_64; - XXH_PROCESS1_64; - return XXH64_avalanche(h64); - - case 26: XXH_PROCESS8_64; - /* fallthrough */ - case 18: XXH_PROCESS8_64; - /* fallthrough */ - case 10: XXH_PROCESS8_64; - XXH_PROCESS1_64; - XXH_PROCESS1_64; - return XXH64_avalanche(h64); - - case 30: XXH_PROCESS8_64; - /* fallthrough */ - case 22: XXH_PROCESS8_64; - /* fallthrough */ - case 14: XXH_PROCESS8_64; - /* fallthrough */ - case 6: XXH_PROCESS4_64; - XXH_PROCESS1_64; - XXH_PROCESS1_64; - return XXH64_avalanche(h64); - - case 27: XXH_PROCESS8_64; - /* fallthrough */ - case 19: XXH_PROCESS8_64; - /* fallthrough */ - case 11: XXH_PROCESS8_64; - XXH_PROCESS1_64; - XXH_PROCESS1_64; - XXH_PROCESS1_64; - return XXH64_avalanche(h64); - - case 31: XXH_PROCESS8_64; - /* fallthrough */ - case 23: XXH_PROCESS8_64; - /* fallthrough */ - case 15: XXH_PROCESS8_64; - /* fallthrough */ - case 7: XXH_PROCESS4_64; - /* fallthrough */ - case 3: XXH_PROCESS1_64; - /* fallthrough */ - case 2: XXH_PROCESS1_64; - /* fallthrough */ - case 1: XXH_PROCESS1_64; - /* fallthrough */ - case 0: return XXH64_avalanche(h64); - } - } - /* impossible to reach */ - XXH_ASSERT(0); - return 0; /* unreachable, but some compilers complain without it */ -} - -#ifdef XXH_OLD_NAMES -# define PROCESS1_64 XXH_PROCESS1_64 -# define PROCESS4_64 XXH_PROCESS4_64 -# define PROCESS8_64 XXH_PROCESS8_64 -#else -# undef XXH_PROCESS1_64 -# undef XXH_PROCESS4_64 -# undef XXH_PROCESS8_64 -#endif - -XXH_FORCE_INLINE xxh_u64 -XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align) -{ - const xxh_u8* bEnd = input + len; - xxh_u64 h64; - -#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) - if (input==NULL) { - len=0; - bEnd=input=(const xxh_u8*)(size_t)32; - } -#endif - - if (len>=32) { - const xxh_u8* const limit = bEnd - 32; - xxh_u64 v1 = seed + XXH_PRIME64_1 + XXH_PRIME64_2; - xxh_u64 v2 = seed + XXH_PRIME64_2; - xxh_u64 v3 = seed + 0; - xxh_u64 v4 = seed - XXH_PRIME64_1; - - do { - v1 = XXH64_round(v1, XXH_get64bits(input)); input+=8; - v2 = XXH64_round(v2, XXH_get64bits(input)); input+=8; - v3 = XXH64_round(v3, XXH_get64bits(input)); input+=8; - v4 = XXH64_round(v4, XXH_get64bits(input)); input+=8; - } while (input<=limit); - - h64 = XXH_rotl64(v1, 1) + XXH_rotl64(v2, 7) + XXH_rotl64(v3, 12) + XXH_rotl64(v4, 18); - h64 = XXH64_mergeRound(h64, v1); - h64 = XXH64_mergeRound(h64, v2); - h64 = XXH64_mergeRound(h64, v3); - h64 = XXH64_mergeRound(h64, v4); - - } else { - h64 = seed + XXH_PRIME64_5; - } - - h64 += (xxh_u64) len; - - return XXH64_finalize(h64, input, len, align); -} - - -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API XXH64_hash_t XXH64 (const void* input, size_t len, XXH64_hash_t seed) -{ -#if 0 - /* Simple version, good for code maintenance, but unfortunately slow for small inputs */ - XXH64_state_t state; - XXH64_reset(&state, seed); - XXH64_update(&state, (const xxh_u8*)input, len); - return XXH64_digest(&state); -#else - if (XXH_FORCE_ALIGN_CHECK) { - if ((((size_t)input) & 7)==0) { /* Input is aligned, let's leverage the speed advantage */ - return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); - } } - - return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); - -#endif -} - -/******* Hash Streaming *******/ - -/*! @ingroup xxh64_family*/ -XXH_PUBLIC_API XXH64_state_t* XXH64_createState(void) -{ - return (XXH64_state_t*)XXH_malloc(sizeof(XXH64_state_t)); -} -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr) -{ - XXH_free(statePtr); - return XXH_OK; -} - -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API void XXH64_copyState(XXH64_state_t* dstState, const XXH64_state_t* srcState) -{ - memcpy(dstState, srcState, sizeof(*dstState)); -} - -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, XXH64_hash_t seed) -{ - XXH64_state_t state; /* use a local state to memcpy() in order to avoid strict-aliasing warnings */ - memset(&state, 0, sizeof(state)); - state.v1 = seed + XXH_PRIME64_1 + XXH_PRIME64_2; - state.v2 = seed + XXH_PRIME64_2; - state.v3 = seed + 0; - state.v4 = seed - XXH_PRIME64_1; - /* do not write into reserved64, might be removed in a future version */ - memcpy(statePtr, &state, sizeof(state) - sizeof(state.reserved64)); - return XXH_OK; -} - -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API XXH_errorcode -XXH64_update (XXH64_state_t* state, const void* input, size_t len) -{ - if (input==NULL) -#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) - return XXH_OK; -#else - return XXH_ERROR; -#endif - - { const xxh_u8* p = (const xxh_u8*)input; - const xxh_u8* const bEnd = p + len; - - state->total_len += len; - - if (state->memsize + len < 32) { /* fill in tmp buffer */ - XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, len); - state->memsize += (xxh_u32)len; - return XXH_OK; - } - - if (state->memsize) { /* tmp buffer is full */ - XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, 32-state->memsize); - state->v1 = XXH64_round(state->v1, XXH_readLE64(state->mem64+0)); - state->v2 = XXH64_round(state->v2, XXH_readLE64(state->mem64+1)); - state->v3 = XXH64_round(state->v3, XXH_readLE64(state->mem64+2)); - state->v4 = XXH64_round(state->v4, XXH_readLE64(state->mem64+3)); - p += 32 - state->memsize; - state->memsize = 0; - } - - if (p+32 <= bEnd) { - const xxh_u8* const limit = bEnd - 32; - xxh_u64 v1 = state->v1; - xxh_u64 v2 = state->v2; - xxh_u64 v3 = state->v3; - xxh_u64 v4 = state->v4; - - do { - v1 = XXH64_round(v1, XXH_readLE64(p)); p+=8; - v2 = XXH64_round(v2, XXH_readLE64(p)); p+=8; - v3 = XXH64_round(v3, XXH_readLE64(p)); p+=8; - v4 = XXH64_round(v4, XXH_readLE64(p)); p+=8; - } while (p<=limit); - - state->v1 = v1; - state->v2 = v2; - state->v3 = v3; - state->v4 = v4; - } - - if (p < bEnd) { - XXH_memcpy(state->mem64, p, (size_t)(bEnd-p)); - state->memsize = (unsigned)(bEnd-p); - } - } - - return XXH_OK; -} - - -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API XXH64_hash_t XXH64_digest(const XXH64_state_t* state) -{ - xxh_u64 h64; - - if (state->total_len >= 32) { - xxh_u64 const v1 = state->v1; - xxh_u64 const v2 = state->v2; - xxh_u64 const v3 = state->v3; - xxh_u64 const v4 = state->v4; - - h64 = XXH_rotl64(v1, 1) + XXH_rotl64(v2, 7) + XXH_rotl64(v3, 12) + XXH_rotl64(v4, 18); - h64 = XXH64_mergeRound(h64, v1); - h64 = XXH64_mergeRound(h64, v2); - h64 = XXH64_mergeRound(h64, v3); - h64 = XXH64_mergeRound(h64, v4); - } else { - h64 = state->v3 /*seed*/ + XXH_PRIME64_5; - } - - h64 += (xxh_u64) state->total_len; - - return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); -} - - -/******* Canonical representation *******/ - -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash) -{ - XXH_STATIC_ASSERT(sizeof(XXH64_canonical_t) == sizeof(XXH64_hash_t)); - if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap64(hash); - memcpy(dst, &hash, sizeof(*dst)); -} - -/*! @ingroup xxh64_family */ -XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src) -{ - return XXH_readBE64(src); -} - - - -/* ********************************************************************* -* XXH3 -* New generation hash designed for speed on small keys and vectorization -************************************************************************ */ -/*! - * @} - * @defgroup xxh3_impl XXH3 implementation - * @ingroup impl - * @{ - */ - -/* === Compiler specifics === */ - -#if ((defined(sun) || defined(__sun)) && __cplusplus) /* Solaris includes __STDC_VERSION__ with C++. Tested with GCC 5.5 */ -# define XXH_RESTRICT /* disable */ -#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* >= C99 */ -# define XXH_RESTRICT restrict -#else -/* Note: it might be useful to define __restrict or __restrict__ for some C++ compilers */ -# define XXH_RESTRICT /* disable */ -#endif - -#if (defined(__GNUC__) && (__GNUC__ >= 3)) \ - || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 800)) \ - || defined(__clang__) -# define XXH_likely(x) __builtin_expect(x, 1) -# define XXH_unlikely(x) __builtin_expect(x, 0) -#else -# define XXH_likely(x) (x) -# define XXH_unlikely(x) (x) -#endif - -#if defined(__GNUC__) -# if defined(__AVX2__) -# include -# elif defined(__SSE2__) -# include -# elif defined(__ARM_NEON__) || defined(__ARM_NEON) -# define inline __inline__ /* circumvent a clang bug */ -# include -# undef inline -# endif -#elif defined(_MSC_VER) -# include -#endif - -/* - * One goal of XXH3 is to make it fast on both 32-bit and 64-bit, while - * remaining a true 64-bit/128-bit hash function. - * - * This is done by prioritizing a subset of 64-bit operations that can be - * emulated without too many steps on the average 32-bit machine. - * - * For example, these two lines seem similar, and run equally fast on 64-bit: - * - * xxh_u64 x; - * x ^= (x >> 47); // good - * x ^= (x >> 13); // bad - * - * However, to a 32-bit machine, there is a major difference. - * - * x ^= (x >> 47) looks like this: - * - * x.lo ^= (x.hi >> (47 - 32)); - * - * while x ^= (x >> 13) looks like this: - * - * // note: funnel shifts are not usually cheap. - * x.lo ^= (x.lo >> 13) | (x.hi << (32 - 13)); - * x.hi ^= (x.hi >> 13); - * - * The first one is significantly faster than the second, simply because the - * shift is larger than 32. This means: - * - All the bits we need are in the upper 32 bits, so we can ignore the lower - * 32 bits in the shift. - * - The shift result will always fit in the lower 32 bits, and therefore, - * we can ignore the upper 32 bits in the xor. - * - * Thanks to this optimization, XXH3 only requires these features to be efficient: - * - * - Usable unaligned access - * - A 32-bit or 64-bit ALU - * - If 32-bit, a decent ADC instruction - * - A 32 or 64-bit multiply with a 64-bit result - * - For the 128-bit variant, a decent byteswap helps short inputs. - * - * The first two are already required by XXH32, and almost all 32-bit and 64-bit - * platforms which can run XXH32 can run XXH3 efficiently. - * - * Thumb-1, the classic 16-bit only subset of ARM's instruction set, is one - * notable exception. - * - * First of all, Thumb-1 lacks support for the UMULL instruction which - * performs the important long multiply. This means numerous __aeabi_lmul - * calls. - * - * Second of all, the 8 functional registers are just not enough. - * Setup for __aeabi_lmul, byteshift loads, pointers, and all arithmetic need - * Lo registers, and this shuffling results in thousands more MOVs than A32. - * - * A32 and T32 don't have this limitation. They can access all 14 registers, - * do a 32->64 multiply with UMULL, and the flexible operand allowing free - * shifts is helpful, too. - * - * Therefore, we do a quick sanity check. - * - * If compiling Thumb-1 for a target which supports ARM instructions, we will - * emit a warning, as it is not a "sane" platform to compile for. - * - * Usually, if this happens, it is because of an accident and you probably need - * to specify -march, as you likely meant to compile for a newer architecture. - * - * Credit: large sections of the vectorial and asm source code paths - * have been contributed by @easyaspi314 - */ -#if defined(__thumb__) && !defined(__thumb2__) && defined(__ARM_ARCH_ISA_ARM) -# warning "XXH3 is highly inefficient without ARM or Thumb-2." -#endif - -/* ========================================== - * Vectorization detection - * ========================================== */ - -#ifdef XXH_DOXYGEN -/*! - * @ingroup tuning - * @brief Overrides the vectorization implementation chosen for XXH3. - * - * Can be defined to 0 to disable SIMD or any of the values mentioned in - * @ref XXH_VECTOR_TYPE. - * - * If this is not defined, it uses predefined macros to determine the best - * implementation. - */ -# define XXH_VECTOR XXH_SCALAR -/*! - * @ingroup tuning - * @brief Possible values for @ref XXH_VECTOR. - * - * Note that these are actually implemented as macros. - * - * If this is not defined, it is detected automatically. - * @ref XXH_X86DISPATCH overrides this. - */ -enum XXH_VECTOR_TYPE /* fake enum */ { - XXH_SCALAR = 0, /*!< Portable scalar version */ - XXH_SSE2 = 1, /*!< - * SSE2 for Pentium 4, Opteron, all x86_64. - * - * @note SSE2 is also guaranteed on Windows 10, macOS, and - * Android x86. - */ - XXH_AVX2 = 2, /*!< AVX2 for Haswell and Bulldozer */ - XXH_AVX512 = 3, /*!< AVX512 for Skylake and Icelake */ - XXH_NEON = 4, /*!< NEON for most ARMv7-A and all AArch64 */ - XXH_VSX = 5, /*!< VSX and ZVector for POWER8/z13 (64-bit) */ -}; -/*! - * @ingroup tuning - * @brief Selects the minimum alignment for XXH3's accumulators. - * - * When using SIMD, this should match the alignment reqired for said vector - * type, so, for example, 32 for AVX2. - * - * Default: Auto detected. - */ -# define XXH_ACC_ALIGN 8 -#endif - -/* Actual definition */ -#ifndef XXH_DOXYGEN -# define XXH_SCALAR 0 -# define XXH_SSE2 1 -# define XXH_AVX2 2 -# define XXH_AVX512 3 -# define XXH_NEON 4 -# define XXH_VSX 5 -#endif - -#ifndef XXH_VECTOR /* can be defined on command line */ -# if defined(__AVX512F__) -# define XXH_VECTOR XXH_AVX512 -# elif defined(__AVX2__) -# define XXH_VECTOR XXH_AVX2 -# elif defined(__SSE2__) || defined(_M_AMD64) || defined(_M_X64) || (defined(_M_IX86_FP) && (_M_IX86_FP == 2)) -# define XXH_VECTOR XXH_SSE2 -# elif defined(__GNUC__) /* msvc support maybe later */ \ - && (defined(__ARM_NEON__) || defined(__ARM_NEON)) \ - && (defined(__LITTLE_ENDIAN__) /* We only support little endian NEON */ \ - || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)) -# define XXH_VECTOR XXH_NEON -# elif (defined(__PPC64__) && defined(__POWER8_VECTOR__)) \ - || (defined(__s390x__) && defined(__VEC__)) \ - && defined(__GNUC__) /* TODO: IBM XL */ -# define XXH_VECTOR XXH_VSX -# else -# define XXH_VECTOR XXH_SCALAR -# endif -#endif - -/* - * Controls the alignment of the accumulator, - * for compatibility with aligned vector loads, which are usually faster. - */ -#ifndef XXH_ACC_ALIGN -# if defined(XXH_X86DISPATCH) -# define XXH_ACC_ALIGN 64 /* for compatibility with avx512 */ -# elif XXH_VECTOR == XXH_SCALAR /* scalar */ -# define XXH_ACC_ALIGN 8 -# elif XXH_VECTOR == XXH_SSE2 /* sse2 */ -# define XXH_ACC_ALIGN 16 -# elif XXH_VECTOR == XXH_AVX2 /* avx2 */ -# define XXH_ACC_ALIGN 32 -# elif XXH_VECTOR == XXH_NEON /* neon */ -# define XXH_ACC_ALIGN 16 -# elif XXH_VECTOR == XXH_VSX /* vsx */ -# define XXH_ACC_ALIGN 16 -# elif XXH_VECTOR == XXH_AVX512 /* avx512 */ -# define XXH_ACC_ALIGN 64 -# endif -#endif - -#if defined(XXH_X86DISPATCH) || XXH_VECTOR == XXH_SSE2 \ - || XXH_VECTOR == XXH_AVX2 || XXH_VECTOR == XXH_AVX512 -# define XXH_SEC_ALIGN XXH_ACC_ALIGN -#else -# define XXH_SEC_ALIGN 8 -#endif - -/* - * UGLY HACK: - * GCC usually generates the best code with -O3 for xxHash. - * - * However, when targeting AVX2, it is overzealous in its unrolling resulting - * in code roughly 3/4 the speed of Clang. - * - * There are other issues, such as GCC splitting _mm256_loadu_si256 into - * _mm_loadu_si128 + _mm256_inserti128_si256. This is an optimization which - * only applies to Sandy and Ivy Bridge... which don't even support AVX2. - * - * That is why when compiling the AVX2 version, it is recommended to use either - * -O2 -mavx2 -march=haswell - * or - * -O2 -mavx2 -mno-avx256-split-unaligned-load - * for decent performance, or to use Clang instead. - * - * Fortunately, we can control the first one with a pragma that forces GCC into - * -O2, but the other one we can't control without "failed to inline always - * inline function due to target mismatch" warnings. - */ -#if XXH_VECTOR == XXH_AVX2 /* AVX2 */ \ - && defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \ - && defined(__OPTIMIZE__) && !defined(__OPTIMIZE_SIZE__) /* respect -O0 and -Os */ -# pragma GCC push_options -# pragma GCC optimize("-O2") -#endif - - -#if XXH_VECTOR == XXH_NEON -/* - * NEON's setup for vmlal_u32 is a little more complicated than it is on - * SSE2, AVX2, and VSX. - * - * While PMULUDQ and VMULEUW both perform a mask, VMLAL.U32 performs an upcast. - * - * To do the same operation, the 128-bit 'Q' register needs to be split into - * two 64-bit 'D' registers, performing this operation:: - * - * [ a | b ] - * | '---------. .--------' | - * | x | - * | .---------' '--------. | - * [ a & 0xFFFFFFFF | b & 0xFFFFFFFF ],[ a >> 32 | b >> 32 ] - * - * Due to significant changes in aarch64, the fastest method for aarch64 is - * completely different than the fastest method for ARMv7-A. - * - * ARMv7-A treats D registers as unions overlaying Q registers, so modifying - * D11 will modify the high half of Q5. This is similar to how modifying AH - * will only affect bits 8-15 of AX on x86. - * - * VZIP takes two registers, and puts even lanes in one register and odd lanes - * in the other. - * - * On ARMv7-A, this strangely modifies both parameters in place instead of - * taking the usual 3-operand form. - * - * Therefore, if we want to do this, we can simply use a D-form VZIP.32 on the - * lower and upper halves of the Q register to end up with the high and low - * halves where we want - all in one instruction. - * - * vzip.32 d10, d11 @ d10 = { d10[0], d11[0] }; d11 = { d10[1], d11[1] } - * - * Unfortunately we need inline assembly for this: Instructions modifying two - * registers at once is not possible in GCC or Clang's IR, and they have to - * create a copy. - * - * aarch64 requires a different approach. - * - * In order to make it easier to write a decent compiler for aarch64, many - * quirks were removed, such as conditional execution. - * - * NEON was also affected by this. - * - * aarch64 cannot access the high bits of a Q-form register, and writes to a - * D-form register zero the high bits, similar to how writes to W-form scalar - * registers (or DWORD registers on x86_64) work. - * - * The formerly free vget_high intrinsics now require a vext (with a few - * exceptions) - * - * Additionally, VZIP was replaced by ZIP1 and ZIP2, which are the equivalent - * of PUNPCKL* and PUNPCKH* in SSE, respectively, in order to only modify one - * operand. - * - * The equivalent of the VZIP.32 on the lower and upper halves would be this - * mess: - * - * ext v2.4s, v0.4s, v0.4s, #2 // v2 = { v0[2], v0[3], v0[0], v0[1] } - * zip1 v1.2s, v0.2s, v2.2s // v1 = { v0[0], v2[0] } - * zip2 v0.2s, v0.2s, v1.2s // v0 = { v0[1], v2[1] } - * - * Instead, we use a literal downcast, vmovn_u64 (XTN), and vshrn_n_u64 (SHRN): - * - * shrn v1.2s, v0.2d, #32 // v1 = (uint32x2_t)(v0 >> 32); - * xtn v0.2s, v0.2d // v0 = (uint32x2_t)(v0 & 0xFFFFFFFF); - * - * This is available on ARMv7-A, but is less efficient than a single VZIP.32. - */ - -/*! - * Function-like macro: - * void XXH_SPLIT_IN_PLACE(uint64x2_t &in, uint32x2_t &outLo, uint32x2_t &outHi) - * { - * outLo = (uint32x2_t)(in & 0xFFFFFFFF); - * outHi = (uint32x2_t)(in >> 32); - * in = UNDEFINED; - * } - */ -# if !defined(XXH_NO_VZIP_HACK) /* define to disable */ \ - && defined(__GNUC__) \ - && !defined(__aarch64__) && !defined(__arm64__) -# define XXH_SPLIT_IN_PLACE(in, outLo, outHi) \ - do { \ - /* Undocumented GCC/Clang operand modifier: %e0 = lower D half, %f0 = upper D half */ \ - /* https://github.com/gcc-mirror/gcc/blob/38cf91e5/gcc/config/arm/arm.c#L22486 */ \ - /* https://github.com/llvm-mirror/llvm/blob/2c4ca683/lib/Target/ARM/ARMAsmPrinter.cpp#L399 */ \ - __asm__("vzip.32 %e0, %f0" : "+w" (in)); \ - (outLo) = vget_low_u32 (vreinterpretq_u32_u64(in)); \ - (outHi) = vget_high_u32(vreinterpretq_u32_u64(in)); \ - } while (0) -# else -# define XXH_SPLIT_IN_PLACE(in, outLo, outHi) \ - do { \ - (outLo) = vmovn_u64 (in); \ - (outHi) = vshrn_n_u64 ((in), 32); \ - } while (0) -# endif -#endif /* XXH_VECTOR == XXH_NEON */ - -/* - * VSX and Z Vector helpers. - * - * This is very messy, and any pull requests to clean this up are welcome. - * - * There are a lot of problems with supporting VSX and s390x, due to - * inconsistent intrinsics, spotty coverage, and multiple endiannesses. - */ -#if XXH_VECTOR == XXH_VSX -# if defined(__s390x__) -# include -# else -/* gcc's altivec.h can have the unwanted consequence to unconditionally - * #define bool, vector, and pixel keywords, - * with bad consequences for programs already using these keywords for other purposes. - * The paragraph defining these macros is skipped when __APPLE_ALTIVEC__ is defined. - * __APPLE_ALTIVEC__ is _generally_ defined automatically by the compiler, - * but it seems that, in some cases, it isn't. - * Force the build macro to be defined, so that keywords are not altered. - */ -# if defined(__GNUC__) && !defined(__APPLE_ALTIVEC__) -# define __APPLE_ALTIVEC__ -# endif -# include -# endif - -typedef __vector unsigned long long xxh_u64x2; -typedef __vector unsigned char xxh_u8x16; -typedef __vector unsigned xxh_u32x4; - -# ifndef XXH_VSX_BE -# if defined(__BIG_ENDIAN__) \ - || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) -# define XXH_VSX_BE 1 -# elif defined(__VEC_ELEMENT_REG_ORDER__) && __VEC_ELEMENT_REG_ORDER__ == __ORDER_BIG_ENDIAN__ -# warning "-maltivec=be is not recommended. Please use native endianness." -# define XXH_VSX_BE 1 -# else -# define XXH_VSX_BE 0 -# endif -# endif /* !defined(XXH_VSX_BE) */ - -# if XXH_VSX_BE -# if defined(__POWER9_VECTOR__) || (defined(__clang__) && defined(__s390x__)) -# define XXH_vec_revb vec_revb -# else -/*! - * A polyfill for POWER9's vec_revb(). - */ -XXH_FORCE_INLINE xxh_u64x2 XXH_vec_revb(xxh_u64x2 val) -{ - xxh_u8x16 const vByteSwap = { 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00, - 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x09, 0x08 }; - return vec_perm(val, val, vByteSwap); -} -# endif -# endif /* XXH_VSX_BE */ - -/*! - * Performs an unaligned vector load and byte swaps it on big endian. - */ -XXH_FORCE_INLINE xxh_u64x2 XXH_vec_loadu(const void *ptr) -{ - xxh_u64x2 ret; - memcpy(&ret, ptr, sizeof(xxh_u64x2)); -# if XXH_VSX_BE - ret = XXH_vec_revb(ret); -# endif - return ret; -} - -/* - * vec_mulo and vec_mule are very problematic intrinsics on PowerPC - * - * These intrinsics weren't added until GCC 8, despite existing for a while, - * and they are endian dependent. Also, their meaning swap depending on version. - * */ -# if defined(__s390x__) - /* s390x is always big endian, no issue on this platform */ -# define XXH_vec_mulo vec_mulo -# define XXH_vec_mule vec_mule -# elif defined(__clang__) && XXH_HAS_BUILTIN(__builtin_altivec_vmuleuw) -/* Clang has a better way to control this, we can just use the builtin which doesn't swap. */ -# define XXH_vec_mulo __builtin_altivec_vmulouw -# define XXH_vec_mule __builtin_altivec_vmuleuw -# else -/* gcc needs inline assembly */ -/* Adapted from https://github.com/google/highwayhash/blob/master/highwayhash/hh_vsx.h. */ -XXH_FORCE_INLINE xxh_u64x2 XXH_vec_mulo(xxh_u32x4 a, xxh_u32x4 b) -{ - xxh_u64x2 result; - __asm__("vmulouw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b)); - return result; -} -XXH_FORCE_INLINE xxh_u64x2 XXH_vec_mule(xxh_u32x4 a, xxh_u32x4 b) -{ - xxh_u64x2 result; - __asm__("vmuleuw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b)); - return result; -} -# endif /* XXH_vec_mulo, XXH_vec_mule */ -#endif /* XXH_VECTOR == XXH_VSX */ - - -/* prefetch - * can be disabled, by declaring XXH_NO_PREFETCH build macro */ -#if defined(XXH_NO_PREFETCH) -# define XXH_PREFETCH(ptr) (void)(ptr) /* disabled */ -#else -# if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)) /* _mm_prefetch() not defined outside of x86/x64 */ -# include /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */ -# define XXH_PREFETCH(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T0) -# elif defined(__GNUC__) && ( (__GNUC__ >= 4) || ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) ) ) -# define XXH_PREFETCH(ptr) __builtin_prefetch((ptr), 0 /* rw==read */, 3 /* locality */) -# else -# define XXH_PREFETCH(ptr) (void)(ptr) /* disabled */ -# endif -#endif /* XXH_NO_PREFETCH */ - - -/* ========================================== - * XXH3 default settings - * ========================================== */ - -#define XXH_SECRET_DEFAULT_SIZE 192 /* minimum XXH3_SECRET_SIZE_MIN */ - -#if (XXH_SECRET_DEFAULT_SIZE < XXH3_SECRET_SIZE_MIN) -# error "default keyset is not large enough" -#endif - -/*! Pseudorandom secret taken directly from FARSH. */ -XXH_ALIGN(64) static const xxh_u8 XXH3_kSecret[XXH_SECRET_DEFAULT_SIZE] = { - 0xb8, 0xfe, 0x6c, 0x39, 0x23, 0xa4, 0x4b, 0xbe, 0x7c, 0x01, 0x81, 0x2c, 0xf7, 0x21, 0xad, 0x1c, - 0xde, 0xd4, 0x6d, 0xe9, 0x83, 0x90, 0x97, 0xdb, 0x72, 0x40, 0xa4, 0xa4, 0xb7, 0xb3, 0x67, 0x1f, - 0xcb, 0x79, 0xe6, 0x4e, 0xcc, 0xc0, 0xe5, 0x78, 0x82, 0x5a, 0xd0, 0x7d, 0xcc, 0xff, 0x72, 0x21, - 0xb8, 0x08, 0x46, 0x74, 0xf7, 0x43, 0x24, 0x8e, 0xe0, 0x35, 0x90, 0xe6, 0x81, 0x3a, 0x26, 0x4c, - 0x3c, 0x28, 0x52, 0xbb, 0x91, 0xc3, 0x00, 0xcb, 0x88, 0xd0, 0x65, 0x8b, 0x1b, 0x53, 0x2e, 0xa3, - 0x71, 0x64, 0x48, 0x97, 0xa2, 0x0d, 0xf9, 0x4e, 0x38, 0x19, 0xef, 0x46, 0xa9, 0xde, 0xac, 0xd8, - 0xa8, 0xfa, 0x76, 0x3f, 0xe3, 0x9c, 0x34, 0x3f, 0xf9, 0xdc, 0xbb, 0xc7, 0xc7, 0x0b, 0x4f, 0x1d, - 0x8a, 0x51, 0xe0, 0x4b, 0xcd, 0xb4, 0x59, 0x31, 0xc8, 0x9f, 0x7e, 0xc9, 0xd9, 0x78, 0x73, 0x64, - 0xea, 0xc5, 0xac, 0x83, 0x34, 0xd3, 0xeb, 0xc3, 0xc5, 0x81, 0xa0, 0xff, 0xfa, 0x13, 0x63, 0xeb, - 0x17, 0x0d, 0xdd, 0x51, 0xb7, 0xf0, 0xda, 0x49, 0xd3, 0x16, 0x55, 0x26, 0x29, 0xd4, 0x68, 0x9e, - 0x2b, 0x16, 0xbe, 0x58, 0x7d, 0x47, 0xa1, 0xfc, 0x8f, 0xf8, 0xb8, 0xd1, 0x7a, 0xd0, 0x31, 0xce, - 0x45, 0xcb, 0x3a, 0x8f, 0x95, 0x16, 0x04, 0x28, 0xaf, 0xd7, 0xfb, 0xca, 0xbb, 0x4b, 0x40, 0x7e, -}; - - -#ifdef XXH_OLD_NAMES -# define kSecret XXH3_kSecret -#endif - -#ifdef XXH_DOXYGEN -/*! - * @brief Calculates a 32-bit to 64-bit long multiply. - * - * Implemented as a macro. - * - * Wraps `__emulu` on MSVC x86 because it tends to call `__allmul` when it doesn't - * need to (but it shouldn't need to anyways, it is about 7 instructions to do - * a 64x64 multiply...). Since we know that this will _always_ emit `MULL`, we - * use that instead of the normal method. - * - * If you are compiling for platforms like Thumb-1 and don't have a better option, - * you may also want to write your own long multiply routine here. - * - * @param x, y Numbers to be multiplied - * @return 64-bit product of the low 32 bits of @p x and @p y. - */ -XXH_FORCE_INLINE xxh_u64 -XXH_mult32to64(xxh_u64 x, xxh_u64 y) -{ - return (x & 0xFFFFFFFF) * (y & 0xFFFFFFFF); -} -#elif defined(_MSC_VER) && defined(_M_IX86) -# include -# define XXH_mult32to64(x, y) __emulu((unsigned)(x), (unsigned)(y)) -#else -/* - * Downcast + upcast is usually better than masking on older compilers like - * GCC 4.2 (especially 32-bit ones), all without affecting newer compilers. - * - * The other method, (x & 0xFFFFFFFF) * (y & 0xFFFFFFFF), will AND both operands - * and perform a full 64x64 multiply -- entirely redundant on 32-bit. - */ -# define XXH_mult32to64(x, y) ((xxh_u64)(xxh_u32)(x) * (xxh_u64)(xxh_u32)(y)) -#endif - -/*! - * @brief Calculates a 64->128-bit long multiply. - * - * Uses `__uint128_t` and `_umul128` if available, otherwise uses a scalar - * version. - * - * @param lhs, rhs The 64-bit integers to be multiplied - * @return The 128-bit result represented in an @ref XXH128_hash_t. - */ -static XXH128_hash_t -XXH_mult64to128(xxh_u64 lhs, xxh_u64 rhs) -{ - /* - * GCC/Clang __uint128_t method. - * - * On most 64-bit targets, GCC and Clang define a __uint128_t type. - * This is usually the best way as it usually uses a native long 64-bit - * multiply, such as MULQ on x86_64 or MUL + UMULH on aarch64. - * - * Usually. - * - * Despite being a 32-bit platform, Clang (and emscripten) define this type - * despite not having the arithmetic for it. This results in a laggy - * compiler builtin call which calculates a full 128-bit multiply. - * In that case it is best to use the portable one. - * https://github.com/Cyan4973/xxHash/issues/211#issuecomment-515575677 - */ -#if defined(__GNUC__) && !defined(__wasm__) \ - && defined(__SIZEOF_INT128__) \ - || (defined(_INTEGRAL_MAX_BITS) && _INTEGRAL_MAX_BITS >= 128) - - __uint128_t const product = (__uint128_t)lhs * (__uint128_t)rhs; - XXH128_hash_t r128; - r128.low64 = (xxh_u64)(product); - r128.high64 = (xxh_u64)(product >> 64); - return r128; - - /* - * MSVC for x64's _umul128 method. - * - * xxh_u64 _umul128(xxh_u64 Multiplier, xxh_u64 Multiplicand, xxh_u64 *HighProduct); - * - * This compiles to single operand MUL on x64. - */ -#elif defined(_M_X64) || defined(_M_IA64) - -#ifndef _MSC_VER -# pragma intrinsic(_umul128) -#endif - xxh_u64 product_high; - xxh_u64 const product_low = _umul128(lhs, rhs, &product_high); - XXH128_hash_t r128; - r128.low64 = product_low; - r128.high64 = product_high; - return r128; - -#else - /* - * Portable scalar method. Optimized for 32-bit and 64-bit ALUs. - * - * This is a fast and simple grade school multiply, which is shown below - * with base 10 arithmetic instead of base 0x100000000. - * - * 9 3 // D2 lhs = 93 - * x 7 5 // D2 rhs = 75 - * ---------- - * 1 5 // D2 lo_lo = (93 % 10) * (75 % 10) = 15 - * 4 5 | // D2 hi_lo = (93 / 10) * (75 % 10) = 45 - * 2 1 | // D2 lo_hi = (93 % 10) * (75 / 10) = 21 - * + 6 3 | | // D2 hi_hi = (93 / 10) * (75 / 10) = 63 - * --------- - * 2 7 | // D2 cross = (15 / 10) + (45 % 10) + 21 = 27 - * + 6 7 | | // D2 upper = (27 / 10) + (45 / 10) + 63 = 67 - * --------- - * 6 9 7 5 // D4 res = (27 * 10) + (15 % 10) + (67 * 100) = 6975 - * - * The reasons for adding the products like this are: - * 1. It avoids manual carry tracking. Just like how - * (9 * 9) + 9 + 9 = 99, the same applies with this for UINT64_MAX. - * This avoids a lot of complexity. - * - * 2. It hints for, and on Clang, compiles to, the powerful UMAAL - * instruction available in ARM's Digital Signal Processing extension - * in 32-bit ARMv6 and later, which is shown below: - * - * void UMAAL(xxh_u32 *RdLo, xxh_u32 *RdHi, xxh_u32 Rn, xxh_u32 Rm) - * { - * xxh_u64 product = (xxh_u64)*RdLo * (xxh_u64)*RdHi + Rn + Rm; - * *RdLo = (xxh_u32)(product & 0xFFFFFFFF); - * *RdHi = (xxh_u32)(product >> 32); - * } - * - * This instruction was designed for efficient long multiplication, and - * allows this to be calculated in only 4 instructions at speeds - * comparable to some 64-bit ALUs. - * - * 3. It isn't terrible on other platforms. Usually this will be a couple - * of 32-bit ADD/ADCs. - */ - - /* First calculate all of the cross products. */ - xxh_u64 const lo_lo = XXH_mult32to64(lhs & 0xFFFFFFFF, rhs & 0xFFFFFFFF); - xxh_u64 const hi_lo = XXH_mult32to64(lhs >> 32, rhs & 0xFFFFFFFF); - xxh_u64 const lo_hi = XXH_mult32to64(lhs & 0xFFFFFFFF, rhs >> 32); - xxh_u64 const hi_hi = XXH_mult32to64(lhs >> 32, rhs >> 32); - - /* Now add the products together. These will never overflow. */ - xxh_u64 const cross = (lo_lo >> 32) + (hi_lo & 0xFFFFFFFF) + lo_hi; - xxh_u64 const upper = (hi_lo >> 32) + (cross >> 32) + hi_hi; - xxh_u64 const lower = (cross << 32) | (lo_lo & 0xFFFFFFFF); - - XXH128_hash_t r128; - r128.low64 = lower; - r128.high64 = upper; - return r128; -#endif -} - -/*! - * @brief Calculates a 64-bit to 128-bit multiply, then XOR folds it. - * - * The reason for the separate function is to prevent passing too many structs - * around by value. This will hopefully inline the multiply, but we don't force it. - * - * @param lhs, rhs The 64-bit integers to multiply - * @return The low 64 bits of the product XOR'd by the high 64 bits. - * @see XXH_mult64to128() - */ -static xxh_u64 -XXH3_mul128_fold64(xxh_u64 lhs, xxh_u64 rhs) -{ - XXH128_hash_t product = XXH_mult64to128(lhs, rhs); - return product.low64 ^ product.high64; -} - -/*! Seems to produce slightly better code on GCC for some reason. */ -XXH_FORCE_INLINE xxh_u64 XXH_xorshift64(xxh_u64 v64, int shift) -{ - XXH_ASSERT(0 <= shift && shift < 64); - return v64 ^ (v64 >> shift); -} - -/* - * This is a fast avalanche stage, - * suitable when input bits are already partially mixed - */ -static XXH64_hash_t XXH3_avalanche(xxh_u64 h64) -{ - h64 = XXH_xorshift64(h64, 37); - h64 *= 0x165667919E3779F9ULL; - h64 = XXH_xorshift64(h64, 32); - return h64; -} - -/* - * This is a stronger avalanche, - * inspired by Pelle Evensen's rrmxmx - * preferable when input has not been previously mixed - */ -static XXH64_hash_t XXH3_rrmxmx(xxh_u64 h64, xxh_u64 len) -{ - /* this mix is inspired by Pelle Evensen's rrmxmx */ - h64 ^= XXH_rotl64(h64, 49) ^ XXH_rotl64(h64, 24); - h64 *= 0x9FB21C651E98DF25ULL; - h64 ^= (h64 >> 35) + len ; - h64 *= 0x9FB21C651E98DF25ULL; - return XXH_xorshift64(h64, 28); -} - - -/* ========================================== - * Short keys - * ========================================== - * One of the shortcomings of XXH32 and XXH64 was that their performance was - * sub-optimal on short lengths. It used an iterative algorithm which strongly - * favored lengths that were a multiple of 4 or 8. - * - * Instead of iterating over individual inputs, we use a set of single shot - * functions which piece together a range of lengths and operate in constant time. - * - * Additionally, the number of multiplies has been significantly reduced. This - * reduces latency, especially when emulating 64-bit multiplies on 32-bit. - * - * Depending on the platform, this may or may not be faster than XXH32, but it - * is almost guaranteed to be faster than XXH64. - */ - -/* - * At very short lengths, there isn't enough input to fully hide secrets, or use - * the entire secret. - * - * There is also only a limited amount of mixing we can do before significantly - * impacting performance. - * - * Therefore, we use different sections of the secret and always mix two secret - * samples with an XOR. This should have no effect on performance on the - * seedless or withSeed variants because everything _should_ be constant folded - * by modern compilers. - * - * The XOR mixing hides individual parts of the secret and increases entropy. - * - * This adds an extra layer of strength for custom secrets. - */ -XXH_FORCE_INLINE XXH64_hash_t -XXH3_len_1to3_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - XXH_ASSERT(input != NULL); - XXH_ASSERT(1 <= len && len <= 3); - XXH_ASSERT(secret != NULL); - /* - * len = 1: combined = { input[0], 0x01, input[0], input[0] } - * len = 2: combined = { input[1], 0x02, input[0], input[1] } - * len = 3: combined = { input[2], 0x03, input[0], input[1] } - */ - { xxh_u8 const c1 = input[0]; - xxh_u8 const c2 = input[len >> 1]; - xxh_u8 const c3 = input[len - 1]; - xxh_u32 const combined = ((xxh_u32)c1 << 16) | ((xxh_u32)c2 << 24) - | ((xxh_u32)c3 << 0) | ((xxh_u32)len << 8); - xxh_u64 const bitflip = (XXH_readLE32(secret) ^ XXH_readLE32(secret+4)) + seed; - xxh_u64 const keyed = (xxh_u64)combined ^ bitflip; - return XXH64_avalanche(keyed); - } -} - -XXH_FORCE_INLINE XXH64_hash_t -XXH3_len_4to8_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - XXH_ASSERT(input != NULL); - XXH_ASSERT(secret != NULL); - XXH_ASSERT(4 <= len && len < 8); - seed ^= (xxh_u64)XXH_swap32((xxh_u32)seed) << 32; - { xxh_u32 const input1 = XXH_readLE32(input); - xxh_u32 const input2 = XXH_readLE32(input + len - 4); - xxh_u64 const bitflip = (XXH_readLE64(secret+8) ^ XXH_readLE64(secret+16)) - seed; - xxh_u64 const input64 = input2 + (((xxh_u64)input1) << 32); - xxh_u64 const keyed = input64 ^ bitflip; - return XXH3_rrmxmx(keyed, len); - } -} - -XXH_FORCE_INLINE XXH64_hash_t -XXH3_len_9to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - XXH_ASSERT(input != NULL); - XXH_ASSERT(secret != NULL); - XXH_ASSERT(8 <= len && len <= 16); - { xxh_u64 const bitflip1 = (XXH_readLE64(secret+24) ^ XXH_readLE64(secret+32)) + seed; - xxh_u64 const bitflip2 = (XXH_readLE64(secret+40) ^ XXH_readLE64(secret+48)) - seed; - xxh_u64 const input_lo = XXH_readLE64(input) ^ bitflip1; - xxh_u64 const input_hi = XXH_readLE64(input + len - 8) ^ bitflip2; - xxh_u64 const acc = len - + XXH_swap64(input_lo) + input_hi - + XXH3_mul128_fold64(input_lo, input_hi); - return XXH3_avalanche(acc); - } -} - -XXH_FORCE_INLINE XXH64_hash_t -XXH3_len_0to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - XXH_ASSERT(len <= 16); - { if (XXH_likely(len > 8)) return XXH3_len_9to16_64b(input, len, secret, seed); - if (XXH_likely(len >= 4)) return XXH3_len_4to8_64b(input, len, secret, seed); - if (len) return XXH3_len_1to3_64b(input, len, secret, seed); - return XXH64_avalanche(seed ^ (XXH_readLE64(secret+56) ^ XXH_readLE64(secret+64))); - } -} - -/* - * DISCLAIMER: There are known *seed-dependent* multicollisions here due to - * multiplication by zero, affecting hashes of lengths 17 to 240. - * - * However, they are very unlikely. - * - * Keep this in mind when using the unseeded XXH3_64bits() variant: As with all - * unseeded non-cryptographic hashes, it does not attempt to defend itself - * against specially crafted inputs, only random inputs. - * - * Compared to classic UMAC where a 1 in 2^31 chance of 4 consecutive bytes - * cancelling out the secret is taken an arbitrary number of times (addressed - * in XXH3_accumulate_512), this collision is very unlikely with random inputs - * and/or proper seeding: - * - * This only has a 1 in 2^63 chance of 8 consecutive bytes cancelling out, in a - * function that is only called up to 16 times per hash with up to 240 bytes of - * input. - * - * This is not too bad for a non-cryptographic hash function, especially with - * only 64 bit outputs. - * - * The 128-bit variant (which trades some speed for strength) is NOT affected - * by this, although it is always a good idea to use a proper seed if you care - * about strength. - */ -XXH_FORCE_INLINE xxh_u64 XXH3_mix16B(const xxh_u8* XXH_RESTRICT input, - const xxh_u8* XXH_RESTRICT secret, xxh_u64 seed64) -{ -#if defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \ - && defined(__i386__) && defined(__SSE2__) /* x86 + SSE2 */ \ - && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable like XXH32 hack */ - /* - * UGLY HACK: - * GCC for x86 tends to autovectorize the 128-bit multiply, resulting in - * slower code. - * - * By forcing seed64 into a register, we disrupt the cost model and - * cause it to scalarize. See `XXH32_round()` - * - * FIXME: Clang's output is still _much_ faster -- On an AMD Ryzen 3600, - * XXH3_64bits @ len=240 runs at 4.6 GB/s with Clang 9, but 3.3 GB/s on - * GCC 9.2, despite both emitting scalar code. - * - * GCC generates much better scalar code than Clang for the rest of XXH3, - * which is why finding a more optimal codepath is an interest. - */ - __asm__ ("" : "+r" (seed64)); -#endif - { xxh_u64 const input_lo = XXH_readLE64(input); - xxh_u64 const input_hi = XXH_readLE64(input+8); - return XXH3_mul128_fold64( - input_lo ^ (XXH_readLE64(secret) + seed64), - input_hi ^ (XXH_readLE64(secret+8) - seed64) - ); - } -} - -/* For mid range keys, XXH3 uses a Mum-hash variant. */ -XXH_FORCE_INLINE XXH64_hash_t -XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len, - const xxh_u8* XXH_RESTRICT secret, size_t secretSize, - XXH64_hash_t seed) -{ - XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; - XXH_ASSERT(16 < len && len <= 128); - - { xxh_u64 acc = len * XXH_PRIME64_1; - if (len > 32) { - if (len > 64) { - if (len > 96) { - acc += XXH3_mix16B(input+48, secret+96, seed); - acc += XXH3_mix16B(input+len-64, secret+112, seed); - } - acc += XXH3_mix16B(input+32, secret+64, seed); - acc += XXH3_mix16B(input+len-48, secret+80, seed); - } - acc += XXH3_mix16B(input+16, secret+32, seed); - acc += XXH3_mix16B(input+len-32, secret+48, seed); - } - acc += XXH3_mix16B(input+0, secret+0, seed); - acc += XXH3_mix16B(input+len-16, secret+16, seed); - - return XXH3_avalanche(acc); - } -} - -#define XXH3_MIDSIZE_MAX 240 - -XXH_NO_INLINE XXH64_hash_t -XXH3_len_129to240_64b(const xxh_u8* XXH_RESTRICT input, size_t len, - const xxh_u8* XXH_RESTRICT secret, size_t secretSize, - XXH64_hash_t seed) -{ - XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; - XXH_ASSERT(128 < len && len <= XXH3_MIDSIZE_MAX); - - #define XXH3_MIDSIZE_STARTOFFSET 3 - #define XXH3_MIDSIZE_LASTOFFSET 17 - - { xxh_u64 acc = len * XXH_PRIME64_1; - int const nbRounds = (int)len / 16; - int i; - for (i=0; i<8; i++) { - acc += XXH3_mix16B(input+(16*i), secret+(16*i), seed); - } - acc = XXH3_avalanche(acc); - XXH_ASSERT(nbRounds >= 8); -#if defined(__clang__) /* Clang */ \ - && (defined(__ARM_NEON) || defined(__ARM_NEON__)) /* NEON */ \ - && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable */ - /* - * UGLY HACK: - * Clang for ARMv7-A tries to vectorize this loop, similar to GCC x86. - * In everywhere else, it uses scalar code. - * - * For 64->128-bit multiplies, even if the NEON was 100% optimal, it - * would still be slower than UMAAL (see XXH_mult64to128). - * - * Unfortunately, Clang doesn't handle the long multiplies properly and - * converts them to the nonexistent "vmulq_u64" intrinsic, which is then - * scalarized into an ugly mess of VMOV.32 instructions. - * - * This mess is difficult to avoid without turning autovectorization - * off completely, but they are usually relatively minor and/or not - * worth it to fix. - * - * This loop is the easiest to fix, as unlike XXH32, this pragma - * _actually works_ because it is a loop vectorization instead of an - * SLP vectorization. - */ - #pragma clang loop vectorize(disable) -#endif - for (i=8 ; i < nbRounds; i++) { - acc += XXH3_mix16B(input+(16*i), secret+(16*(i-8)) + XXH3_MIDSIZE_STARTOFFSET, seed); - } - /* last bytes */ - acc += XXH3_mix16B(input + len - 16, secret + XXH3_SECRET_SIZE_MIN - XXH3_MIDSIZE_LASTOFFSET, seed); - return XXH3_avalanche(acc); - } -} - - -/* ======= Long Keys ======= */ - -#define XXH_STRIPE_LEN 64 -#define XXH_SECRET_CONSUME_RATE 8 /* nb of secret bytes consumed at each accumulation */ -#define XXH_ACC_NB (XXH_STRIPE_LEN / sizeof(xxh_u64)) - -#ifdef XXH_OLD_NAMES -# define STRIPE_LEN XXH_STRIPE_LEN -# define ACC_NB XXH_ACC_NB -#endif - -XXH_FORCE_INLINE void XXH_writeLE64(void* dst, xxh_u64 v64) -{ - if (!XXH_CPU_LITTLE_ENDIAN) v64 = XXH_swap64(v64); - memcpy(dst, &v64, sizeof(v64)); -} - -/* Several intrinsic functions below are supposed to accept __int64 as argument, - * as documented in https://software.intel.com/sites/landingpage/IntrinsicsGuide/ . - * However, several environments do not define __int64 type, - * requiring a workaround. - */ -#if !defined (__VMS) \ - && (defined (__cplusplus) \ - || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) - typedef int64_t xxh_i64; -#else - /* the following type must have a width of 64-bit */ - typedef long long xxh_i64; -#endif - -/* - * XXH3_accumulate_512 is the tightest loop for long inputs, and it is the most optimized. - * - * It is a hardened version of UMAC, based off of FARSH's implementation. - * - * This was chosen because it adapts quite well to 32-bit, 64-bit, and SIMD - * implementations, and it is ridiculously fast. - * - * We harden it by mixing the original input to the accumulators as well as the product. - * - * This means that in the (relatively likely) case of a multiply by zero, the - * original input is preserved. - * - * On 128-bit inputs, we swap 64-bit pairs when we add the input to improve - * cross-pollination, as otherwise the upper and lower halves would be - * essentially independent. - * - * This doesn't matter on 64-bit hashes since they all get merged together in - * the end, so we skip the extra step. - * - * Both XXH3_64bits and XXH3_128bits use this subroutine. - */ - -#if (XXH_VECTOR == XXH_AVX512) \ - || (defined(XXH_DISPATCH_AVX512) && XXH_DISPATCH_AVX512 != 0) - -#ifndef XXH_TARGET_AVX512 -# define XXH_TARGET_AVX512 /* disable attribute target */ -#endif - -XXH_FORCE_INLINE XXH_TARGET_AVX512 void -XXH3_accumulate_512_avx512(void* XXH_RESTRICT acc, - const void* XXH_RESTRICT input, - const void* XXH_RESTRICT secret) -{ - XXH_ALIGN(64) __m512i* const xacc = (__m512i *) acc; - XXH_ASSERT((((size_t)acc) & 63) == 0); - XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i)); - - { - /* data_vec = input[0]; */ - __m512i const data_vec = _mm512_loadu_si512 (input); - /* key_vec = secret[0]; */ - __m512i const key_vec = _mm512_loadu_si512 (secret); - /* data_key = data_vec ^ key_vec; */ - __m512i const data_key = _mm512_xor_si512 (data_vec, key_vec); - /* data_key_lo = data_key >> 32; */ - __m512i const data_key_lo = _mm512_shuffle_epi32 (data_key, (_MM_PERM_ENUM)_MM_SHUFFLE(0, 3, 0, 1)); - /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */ - __m512i const product = _mm512_mul_epu32 (data_key, data_key_lo); - /* xacc[0] += swap(data_vec); */ - __m512i const data_swap = _mm512_shuffle_epi32(data_vec, (_MM_PERM_ENUM)_MM_SHUFFLE(1, 0, 3, 2)); - __m512i const sum = _mm512_add_epi64(*xacc, data_swap); - /* xacc[0] += product; */ - *xacc = _mm512_add_epi64(product, sum); - } -} - -/* - * XXH3_scrambleAcc: Scrambles the accumulators to improve mixing. - * - * Multiplication isn't perfect, as explained by Google in HighwayHash: - * - * // Multiplication mixes/scrambles bytes 0-7 of the 64-bit result to - * // varying degrees. In descending order of goodness, bytes - * // 3 4 2 5 1 6 0 7 have quality 228 224 164 160 100 96 36 32. - * // As expected, the upper and lower bytes are much worse. - * - * Source: https://github.com/google/highwayhash/blob/0aaf66b/highwayhash/hh_avx2.h#L291 - * - * Since our algorithm uses a pseudorandom secret to add some variance into the - * mix, we don't need to (or want to) mix as often or as much as HighwayHash does. - * - * This isn't as tight as XXH3_accumulate, but still written in SIMD to avoid - * extraction. - * - * Both XXH3_64bits and XXH3_128bits use this subroutine. - */ - -XXH_FORCE_INLINE XXH_TARGET_AVX512 void -XXH3_scrambleAcc_avx512(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) -{ - XXH_ASSERT((((size_t)acc) & 63) == 0); - XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i)); - { XXH_ALIGN(64) __m512i* const xacc = (__m512i*) acc; - const __m512i prime32 = _mm512_set1_epi32((int)XXH_PRIME32_1); - - /* xacc[0] ^= (xacc[0] >> 47) */ - __m512i const acc_vec = *xacc; - __m512i const shifted = _mm512_srli_epi64 (acc_vec, 47); - __m512i const data_vec = _mm512_xor_si512 (acc_vec, shifted); - /* xacc[0] ^= secret; */ - __m512i const key_vec = _mm512_loadu_si512 (secret); - __m512i const data_key = _mm512_xor_si512 (data_vec, key_vec); - - /* xacc[0] *= XXH_PRIME32_1; */ - __m512i const data_key_hi = _mm512_shuffle_epi32 (data_key, (_MM_PERM_ENUM)_MM_SHUFFLE(0, 3, 0, 1)); - __m512i const prod_lo = _mm512_mul_epu32 (data_key, prime32); - __m512i const prod_hi = _mm512_mul_epu32 (data_key_hi, prime32); - *xacc = _mm512_add_epi64(prod_lo, _mm512_slli_epi64(prod_hi, 32)); - } -} - -XXH_FORCE_INLINE XXH_TARGET_AVX512 void -XXH3_initCustomSecret_avx512(void* XXH_RESTRICT customSecret, xxh_u64 seed64) -{ - XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 63) == 0); - XXH_STATIC_ASSERT(XXH_SEC_ALIGN == 64); - XXH_ASSERT(((size_t)customSecret & 63) == 0); - (void)(&XXH_writeLE64); - { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / sizeof(__m512i); - __m512i const seed = _mm512_mask_set1_epi64(_mm512_set1_epi64((xxh_i64)seed64), 0xAA, -(xxh_i64)seed64); - - XXH_ALIGN(64) const __m512i* const src = (const __m512i*) XXH3_kSecret; - XXH_ALIGN(64) __m512i* const dest = ( __m512i*) customSecret; - int i; - for (i=0; i < nbRounds; ++i) { - /* GCC has a bug, _mm512_stream_load_si512 accepts 'void*', not 'void const*', - * this will warn "discards ‘const’ qualifier". */ - union { - XXH_ALIGN(64) const __m512i* cp; - XXH_ALIGN(64) void* p; - } remote_const_void; - remote_const_void.cp = src + i; - dest[i] = _mm512_add_epi64(_mm512_stream_load_si512(remote_const_void.p), seed); - } } -} - -#endif - -#if (XXH_VECTOR == XXH_AVX2) \ - || (defined(XXH_DISPATCH_AVX2) && XXH_DISPATCH_AVX2 != 0) - -#ifndef XXH_TARGET_AVX2 -# define XXH_TARGET_AVX2 /* disable attribute target */ -#endif - -XXH_FORCE_INLINE XXH_TARGET_AVX2 void -XXH3_accumulate_512_avx2( void* XXH_RESTRICT acc, - const void* XXH_RESTRICT input, - const void* XXH_RESTRICT secret) -{ - XXH_ASSERT((((size_t)acc) & 31) == 0); - { XXH_ALIGN(32) __m256i* const xacc = (__m256i *) acc; - /* Unaligned. This is mainly for pointer arithmetic, and because - * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */ - const __m256i* const xinput = (const __m256i *) input; - /* Unaligned. This is mainly for pointer arithmetic, and because - * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */ - const __m256i* const xsecret = (const __m256i *) secret; - - size_t i; - for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) { - /* data_vec = xinput[i]; */ - __m256i const data_vec = _mm256_loadu_si256 (xinput+i); - /* key_vec = xsecret[i]; */ - __m256i const key_vec = _mm256_loadu_si256 (xsecret+i); - /* data_key = data_vec ^ key_vec; */ - __m256i const data_key = _mm256_xor_si256 (data_vec, key_vec); - /* data_key_lo = data_key >> 32; */ - __m256i const data_key_lo = _mm256_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); - /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */ - __m256i const product = _mm256_mul_epu32 (data_key, data_key_lo); - /* xacc[i] += swap(data_vec); */ - __m256i const data_swap = _mm256_shuffle_epi32(data_vec, _MM_SHUFFLE(1, 0, 3, 2)); - __m256i const sum = _mm256_add_epi64(xacc[i], data_swap); - /* xacc[i] += product; */ - xacc[i] = _mm256_add_epi64(product, sum); - } } -} - -XXH_FORCE_INLINE XXH_TARGET_AVX2 void -XXH3_scrambleAcc_avx2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) -{ - XXH_ASSERT((((size_t)acc) & 31) == 0); - { XXH_ALIGN(32) __m256i* const xacc = (__m256i*) acc; - /* Unaligned. This is mainly for pointer arithmetic, and because - * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */ - const __m256i* const xsecret = (const __m256i *) secret; - const __m256i prime32 = _mm256_set1_epi32((int)XXH_PRIME32_1); - - size_t i; - for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) { - /* xacc[i] ^= (xacc[i] >> 47) */ - __m256i const acc_vec = xacc[i]; - __m256i const shifted = _mm256_srli_epi64 (acc_vec, 47); - __m256i const data_vec = _mm256_xor_si256 (acc_vec, shifted); - /* xacc[i] ^= xsecret; */ - __m256i const key_vec = _mm256_loadu_si256 (xsecret+i); - __m256i const data_key = _mm256_xor_si256 (data_vec, key_vec); - - /* xacc[i] *= XXH_PRIME32_1; */ - __m256i const data_key_hi = _mm256_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); - __m256i const prod_lo = _mm256_mul_epu32 (data_key, prime32); - __m256i const prod_hi = _mm256_mul_epu32 (data_key_hi, prime32); - xacc[i] = _mm256_add_epi64(prod_lo, _mm256_slli_epi64(prod_hi, 32)); - } - } -} - -XXH_FORCE_INLINE XXH_TARGET_AVX2 void XXH3_initCustomSecret_avx2(void* XXH_RESTRICT customSecret, xxh_u64 seed64) -{ - XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 31) == 0); - XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE / sizeof(__m256i)) == 6); - XXH_STATIC_ASSERT(XXH_SEC_ALIGN <= 64); - (void)(&XXH_writeLE64); - XXH_PREFETCH(customSecret); - { __m256i const seed = _mm256_set_epi64x(-(xxh_i64)seed64, (xxh_i64)seed64, -(xxh_i64)seed64, (xxh_i64)seed64); - - XXH_ALIGN(64) const __m256i* const src = (const __m256i*) XXH3_kSecret; - XXH_ALIGN(64) __m256i* dest = ( __m256i*) customSecret; - -# if defined(__GNUC__) || defined(__clang__) - /* - * On GCC & Clang, marking 'dest' as modified will cause the compiler: - * - do not extract the secret from sse registers in the internal loop - * - use less common registers, and avoid pushing these reg into stack - * The asm hack causes Clang to assume that XXH3_kSecretPtr aliases with - * customSecret, and on aarch64, this prevented LDP from merging two - * loads together for free. Putting the loads together before the stores - * properly generates LDP. - */ - __asm__("" : "+r" (dest)); -# endif - - /* GCC -O2 need unroll loop manually */ - dest[0] = _mm256_add_epi64(_mm256_stream_load_si256(src+0), seed); - dest[1] = _mm256_add_epi64(_mm256_stream_load_si256(src+1), seed); - dest[2] = _mm256_add_epi64(_mm256_stream_load_si256(src+2), seed); - dest[3] = _mm256_add_epi64(_mm256_stream_load_si256(src+3), seed); - dest[4] = _mm256_add_epi64(_mm256_stream_load_si256(src+4), seed); - dest[5] = _mm256_add_epi64(_mm256_stream_load_si256(src+5), seed); - } -} - -#endif - -/* x86dispatch always generates SSE2 */ -#if (XXH_VECTOR == XXH_SSE2) || defined(XXH_X86DISPATCH) - -#ifndef XXH_TARGET_SSE2 -# define XXH_TARGET_SSE2 /* disable attribute target */ -#endif - -XXH_FORCE_INLINE XXH_TARGET_SSE2 void -XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc, - const void* XXH_RESTRICT input, - const void* XXH_RESTRICT secret) -{ - /* SSE2 is just a half-scale version of the AVX2 version. */ - XXH_ASSERT((((size_t)acc) & 15) == 0); - { XXH_ALIGN(16) __m128i* const xacc = (__m128i *) acc; - /* Unaligned. This is mainly for pointer arithmetic, and because - * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */ - const __m128i* const xinput = (const __m128i *) input; - /* Unaligned. This is mainly for pointer arithmetic, and because - * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */ - const __m128i* const xsecret = (const __m128i *) secret; - - size_t i; - for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) { - /* data_vec = xinput[i]; */ - __m128i const data_vec = _mm_loadu_si128 (xinput+i); - /* key_vec = xsecret[i]; */ - __m128i const key_vec = _mm_loadu_si128 (xsecret+i); - /* data_key = data_vec ^ key_vec; */ - __m128i const data_key = _mm_xor_si128 (data_vec, key_vec); - /* data_key_lo = data_key >> 32; */ - __m128i const data_key_lo = _mm_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); - /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */ - __m128i const product = _mm_mul_epu32 (data_key, data_key_lo); - /* xacc[i] += swap(data_vec); */ - __m128i const data_swap = _mm_shuffle_epi32(data_vec, _MM_SHUFFLE(1,0,3,2)); - __m128i const sum = _mm_add_epi64(xacc[i], data_swap); - /* xacc[i] += product; */ - xacc[i] = _mm_add_epi64(product, sum); - } } -} - -XXH_FORCE_INLINE XXH_TARGET_SSE2 void -XXH3_scrambleAcc_sse2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) -{ - XXH_ASSERT((((size_t)acc) & 15) == 0); - { XXH_ALIGN(16) __m128i* const xacc = (__m128i*) acc; - /* Unaligned. This is mainly for pointer arithmetic, and because - * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */ - const __m128i* const xsecret = (const __m128i *) secret; - const __m128i prime32 = _mm_set1_epi32((int)XXH_PRIME32_1); - - size_t i; - for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) { - /* xacc[i] ^= (xacc[i] >> 47) */ - __m128i const acc_vec = xacc[i]; - __m128i const shifted = _mm_srli_epi64 (acc_vec, 47); - __m128i const data_vec = _mm_xor_si128 (acc_vec, shifted); - /* xacc[i] ^= xsecret[i]; */ - __m128i const key_vec = _mm_loadu_si128 (xsecret+i); - __m128i const data_key = _mm_xor_si128 (data_vec, key_vec); - - /* xacc[i] *= XXH_PRIME32_1; */ - __m128i const data_key_hi = _mm_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); - __m128i const prod_lo = _mm_mul_epu32 (data_key, prime32); - __m128i const prod_hi = _mm_mul_epu32 (data_key_hi, prime32); - xacc[i] = _mm_add_epi64(prod_lo, _mm_slli_epi64(prod_hi, 32)); - } - } -} - -XXH_FORCE_INLINE XXH_TARGET_SSE2 void XXH3_initCustomSecret_sse2(void* XXH_RESTRICT customSecret, xxh_u64 seed64) -{ - XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 15) == 0); - (void)(&XXH_writeLE64); - { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / sizeof(__m128i); - -# if defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER < 1900 - // MSVC 32bit mode does not support _mm_set_epi64x before 2015 - XXH_ALIGN(16) const xxh_i64 seed64x2[2] = { (xxh_i64)seed64, -(xxh_i64)seed64 }; - __m128i const seed = _mm_load_si128((__m128i const*)seed64x2); -# else - __m128i const seed = _mm_set_epi64x(-(xxh_i64)seed64, (xxh_i64)seed64); -# endif - int i; - - XXH_ALIGN(64) const float* const src = (float const*) XXH3_kSecret; - XXH_ALIGN(XXH_SEC_ALIGN) __m128i* dest = (__m128i*) customSecret; -# if defined(__GNUC__) || defined(__clang__) - /* - * On GCC & Clang, marking 'dest' as modified will cause the compiler: - * - do not extract the secret from sse registers in the internal loop - * - use less common registers, and avoid pushing these reg into stack - */ - __asm__("" : "+r" (dest)); -# endif - - for (i=0; i < nbRounds; ++i) { - dest[i] = _mm_add_epi64(_mm_castps_si128(_mm_load_ps(src+i*4)), seed); - } } -} - -#endif - -#if (XXH_VECTOR == XXH_NEON) - -XXH_FORCE_INLINE void -XXH3_accumulate_512_neon( void* XXH_RESTRICT acc, - const void* XXH_RESTRICT input, - const void* XXH_RESTRICT secret) -{ - XXH_ASSERT((((size_t)acc) & 15) == 0); - { - XXH_ALIGN(16) uint64x2_t* const xacc = (uint64x2_t *) acc; - /* We don't use a uint32x4_t pointer because it causes bus errors on ARMv7. */ - uint8_t const* const xinput = (const uint8_t *) input; - uint8_t const* const xsecret = (const uint8_t *) secret; - - size_t i; - for (i=0; i < XXH_STRIPE_LEN / sizeof(uint64x2_t); i++) { - /* data_vec = xinput[i]; */ - uint8x16_t data_vec = vld1q_u8(xinput + (i * 16)); - /* key_vec = xsecret[i]; */ - uint8x16_t key_vec = vld1q_u8(xsecret + (i * 16)); - uint64x2_t data_key; - uint32x2_t data_key_lo, data_key_hi; - /* xacc[i] += swap(data_vec); */ - uint64x2_t const data64 = vreinterpretq_u64_u8(data_vec); - uint64x2_t const swapped = vextq_u64(data64, data64, 1); - xacc[i] = vaddq_u64 (xacc[i], swapped); - /* data_key = data_vec ^ key_vec; */ - data_key = vreinterpretq_u64_u8(veorq_u8(data_vec, key_vec)); - /* data_key_lo = (uint32x2_t) (data_key & 0xFFFFFFFF); - * data_key_hi = (uint32x2_t) (data_key >> 32); - * data_key = UNDEFINED; */ - XXH_SPLIT_IN_PLACE(data_key, data_key_lo, data_key_hi); - /* xacc[i] += (uint64x2_t) data_key_lo * (uint64x2_t) data_key_hi; */ - xacc[i] = vmlal_u32 (xacc[i], data_key_lo, data_key_hi); - - } - } -} - -XXH_FORCE_INLINE void -XXH3_scrambleAcc_neon(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) -{ - XXH_ASSERT((((size_t)acc) & 15) == 0); - - { uint64x2_t* xacc = (uint64x2_t*) acc; - uint8_t const* xsecret = (uint8_t const*) secret; - uint32x2_t prime = vdup_n_u32 (XXH_PRIME32_1); - - size_t i; - for (i=0; i < XXH_STRIPE_LEN/sizeof(uint64x2_t); i++) { - /* xacc[i] ^= (xacc[i] >> 47); */ - uint64x2_t acc_vec = xacc[i]; - uint64x2_t shifted = vshrq_n_u64 (acc_vec, 47); - uint64x2_t data_vec = veorq_u64 (acc_vec, shifted); - - /* xacc[i] ^= xsecret[i]; */ - uint8x16_t key_vec = vld1q_u8(xsecret + (i * 16)); - uint64x2_t data_key = veorq_u64(data_vec, vreinterpretq_u64_u8(key_vec)); - - /* xacc[i] *= XXH_PRIME32_1 */ - uint32x2_t data_key_lo, data_key_hi; - /* data_key_lo = (uint32x2_t) (xacc[i] & 0xFFFFFFFF); - * data_key_hi = (uint32x2_t) (xacc[i] >> 32); - * xacc[i] = UNDEFINED; */ - XXH_SPLIT_IN_PLACE(data_key, data_key_lo, data_key_hi); - { /* - * prod_hi = (data_key >> 32) * XXH_PRIME32_1; - * - * Avoid vmul_u32 + vshll_n_u32 since Clang 6 and 7 will - * incorrectly "optimize" this: - * tmp = vmul_u32(vmovn_u64(a), vmovn_u64(b)); - * shifted = vshll_n_u32(tmp, 32); - * to this: - * tmp = "vmulq_u64"(a, b); // no such thing! - * shifted = vshlq_n_u64(tmp, 32); - * - * However, unlike SSE, Clang lacks a 64-bit multiply routine - * for NEON, and it scalarizes two 64-bit multiplies instead. - * - * vmull_u32 has the same timing as vmul_u32, and it avoids - * this bug completely. - * See https://bugs.llvm.org/show_bug.cgi?id=39967 - */ - uint64x2_t prod_hi = vmull_u32 (data_key_hi, prime); - /* xacc[i] = prod_hi << 32; */ - xacc[i] = vshlq_n_u64(prod_hi, 32); - /* xacc[i] += (prod_hi & 0xFFFFFFFF) * XXH_PRIME32_1; */ - xacc[i] = vmlal_u32(xacc[i], data_key_lo, prime); - } - } } -} - -#endif - -#if (XXH_VECTOR == XXH_VSX) - -XXH_FORCE_INLINE void -XXH3_accumulate_512_vsx( void* XXH_RESTRICT acc, - const void* XXH_RESTRICT input, - const void* XXH_RESTRICT secret) -{ - xxh_u64x2* const xacc = (xxh_u64x2*) acc; /* presumed aligned */ - xxh_u64x2 const* const xinput = (xxh_u64x2 const*) input; /* no alignment restriction */ - xxh_u64x2 const* const xsecret = (xxh_u64x2 const*) secret; /* no alignment restriction */ - xxh_u64x2 const v32 = { 32, 32 }; - size_t i; - for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) { - /* data_vec = xinput[i]; */ - xxh_u64x2 const data_vec = XXH_vec_loadu(xinput + i); - /* key_vec = xsecret[i]; */ - xxh_u64x2 const key_vec = XXH_vec_loadu(xsecret + i); - xxh_u64x2 const data_key = data_vec ^ key_vec; - /* shuffled = (data_key << 32) | (data_key >> 32); */ - xxh_u32x4 const shuffled = (xxh_u32x4)vec_rl(data_key, v32); - /* product = ((xxh_u64x2)data_key & 0xFFFFFFFF) * ((xxh_u64x2)shuffled & 0xFFFFFFFF); */ - xxh_u64x2 const product = XXH_vec_mulo((xxh_u32x4)data_key, shuffled); - xacc[i] += product; - - /* swap high and low halves */ -#ifdef __s390x__ - xacc[i] += vec_permi(data_vec, data_vec, 2); -#else - xacc[i] += vec_xxpermdi(data_vec, data_vec, 2); -#endif - } -} - -XXH_FORCE_INLINE void -XXH3_scrambleAcc_vsx(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) -{ - XXH_ASSERT((((size_t)acc) & 15) == 0); - - { xxh_u64x2* const xacc = (xxh_u64x2*) acc; - const xxh_u64x2* const xsecret = (const xxh_u64x2*) secret; - /* constants */ - xxh_u64x2 const v32 = { 32, 32 }; - xxh_u64x2 const v47 = { 47, 47 }; - xxh_u32x4 const prime = { XXH_PRIME32_1, XXH_PRIME32_1, XXH_PRIME32_1, XXH_PRIME32_1 }; - size_t i; - for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) { - /* xacc[i] ^= (xacc[i] >> 47); */ - xxh_u64x2 const acc_vec = xacc[i]; - xxh_u64x2 const data_vec = acc_vec ^ (acc_vec >> v47); - - /* xacc[i] ^= xsecret[i]; */ - xxh_u64x2 const key_vec = XXH_vec_loadu(xsecret + i); - xxh_u64x2 const data_key = data_vec ^ key_vec; - - /* xacc[i] *= XXH_PRIME32_1 */ - /* prod_lo = ((xxh_u64x2)data_key & 0xFFFFFFFF) * ((xxh_u64x2)prime & 0xFFFFFFFF); */ - xxh_u64x2 const prod_even = XXH_vec_mule((xxh_u32x4)data_key, prime); - /* prod_hi = ((xxh_u64x2)data_key >> 32) * ((xxh_u64x2)prime >> 32); */ - xxh_u64x2 const prod_odd = XXH_vec_mulo((xxh_u32x4)data_key, prime); - xacc[i] = prod_odd + (prod_even << v32); - } } -} - -#endif - -/* scalar variants - universal */ - -XXH_FORCE_INLINE void -XXH3_accumulate_512_scalar(void* XXH_RESTRICT acc, - const void* XXH_RESTRICT input, - const void* XXH_RESTRICT secret) -{ - XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64* const xacc = (xxh_u64*) acc; /* presumed aligned */ - const xxh_u8* const xinput = (const xxh_u8*) input; /* no alignment restriction */ - const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ - size_t i; - XXH_ASSERT(((size_t)acc & (XXH_ACC_ALIGN-1)) == 0); - for (i=0; i < XXH_ACC_NB; i++) { - xxh_u64 const data_val = XXH_readLE64(xinput + 8*i); - xxh_u64 const data_key = data_val ^ XXH_readLE64(xsecret + i*8); - xacc[i ^ 1] += data_val; /* swap adjacent lanes */ - xacc[i] += XXH_mult32to64(data_key & 0xFFFFFFFF, data_key >> 32); - } -} - -XXH_FORCE_INLINE void -XXH3_scrambleAcc_scalar(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) -{ - XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64* const xacc = (xxh_u64*) acc; /* presumed aligned */ - const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ - size_t i; - XXH_ASSERT((((size_t)acc) & (XXH_ACC_ALIGN-1)) == 0); - for (i=0; i < XXH_ACC_NB; i++) { - xxh_u64 const key64 = XXH_readLE64(xsecret + 8*i); - xxh_u64 acc64 = xacc[i]; - acc64 = XXH_xorshift64(acc64, 47); - acc64 ^= key64; - acc64 *= XXH_PRIME32_1; - xacc[i] = acc64; - } -} - -XXH_FORCE_INLINE void -XXH3_initCustomSecret_scalar(void* XXH_RESTRICT customSecret, xxh_u64 seed64) -{ - /* - * We need a separate pointer for the hack below, - * which requires a non-const pointer. - * Any decent compiler will optimize this out otherwise. - */ - const xxh_u8* kSecretPtr = XXH3_kSecret; - XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 15) == 0); - -#if defined(__clang__) && defined(__aarch64__) - /* - * UGLY HACK: - * Clang generates a bunch of MOV/MOVK pairs for aarch64, and they are - * placed sequentially, in order, at the top of the unrolled loop. - * - * While MOVK is great for generating constants (2 cycles for a 64-bit - * constant compared to 4 cycles for LDR), long MOVK chains stall the - * integer pipelines: - * I L S - * MOVK - * MOVK - * MOVK - * MOVK - * ADD - * SUB STR - * STR - * By forcing loads from memory (as the asm line causes Clang to assume - * that XXH3_kSecretPtr has been changed), the pipelines are used more - * efficiently: - * I L S - * LDR - * ADD LDR - * SUB STR - * STR - * XXH3_64bits_withSeed, len == 256, Snapdragon 835 - * without hack: 2654.4 MB/s - * with hack: 3202.9 MB/s - */ - __asm__("" : "+r" (kSecretPtr)); -#endif - /* - * Note: in debug mode, this overrides the asm optimization - * and Clang will emit MOVK chains again. - */ - XXH_ASSERT(kSecretPtr == XXH3_kSecret); - - { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / 16; - int i; - for (i=0; i < nbRounds; i++) { - /* - * The asm hack causes Clang to assume that kSecretPtr aliases with - * customSecret, and on aarch64, this prevented LDP from merging two - * loads together for free. Putting the loads together before the stores - * properly generates LDP. - */ - xxh_u64 lo = XXH_readLE64(kSecretPtr + 16*i) + seed64; - xxh_u64 hi = XXH_readLE64(kSecretPtr + 16*i + 8) - seed64; - XXH_writeLE64((xxh_u8*)customSecret + 16*i, lo); - XXH_writeLE64((xxh_u8*)customSecret + 16*i + 8, hi); - } } -} - - -typedef void (*XXH3_f_accumulate_512)(void* XXH_RESTRICT, const void*, const void*); -typedef void (*XXH3_f_scrambleAcc)(void* XXH_RESTRICT, const void*); -typedef void (*XXH3_f_initCustomSecret)(void* XXH_RESTRICT, xxh_u64); - - -#if (XXH_VECTOR == XXH_AVX512) - -#define XXH3_accumulate_512 XXH3_accumulate_512_avx512 -#define XXH3_scrambleAcc XXH3_scrambleAcc_avx512 -#define XXH3_initCustomSecret XXH3_initCustomSecret_avx512 - -#elif (XXH_VECTOR == XXH_AVX2) - -#define XXH3_accumulate_512 XXH3_accumulate_512_avx2 -#define XXH3_scrambleAcc XXH3_scrambleAcc_avx2 -#define XXH3_initCustomSecret XXH3_initCustomSecret_avx2 - -#elif (XXH_VECTOR == XXH_SSE2) - -#define XXH3_accumulate_512 XXH3_accumulate_512_sse2 -#define XXH3_scrambleAcc XXH3_scrambleAcc_sse2 -#define XXH3_initCustomSecret XXH3_initCustomSecret_sse2 - -#elif (XXH_VECTOR == XXH_NEON) - -#define XXH3_accumulate_512 XXH3_accumulate_512_neon -#define XXH3_scrambleAcc XXH3_scrambleAcc_neon -#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar - -#elif (XXH_VECTOR == XXH_VSX) - -#define XXH3_accumulate_512 XXH3_accumulate_512_vsx -#define XXH3_scrambleAcc XXH3_scrambleAcc_vsx -#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar - -#else /* scalar */ - -#define XXH3_accumulate_512 XXH3_accumulate_512_scalar -#define XXH3_scrambleAcc XXH3_scrambleAcc_scalar -#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar - -#endif - - - -#ifndef XXH_PREFETCH_DIST -# ifdef __clang__ -# define XXH_PREFETCH_DIST 320 -# else -# if (XXH_VECTOR == XXH_AVX512) -# define XXH_PREFETCH_DIST 512 -# else -# define XXH_PREFETCH_DIST 384 -# endif -# endif /* __clang__ */ -#endif /* XXH_PREFETCH_DIST */ - -/* - * XXH3_accumulate() - * Loops over XXH3_accumulate_512(). - * Assumption: nbStripes will not overflow the secret size - */ -XXH_FORCE_INLINE void -XXH3_accumulate( xxh_u64* XXH_RESTRICT acc, - const xxh_u8* XXH_RESTRICT input, - const xxh_u8* XXH_RESTRICT secret, - size_t nbStripes, - XXH3_f_accumulate_512 f_acc512) -{ - size_t n; - for (n = 0; n < nbStripes; n++ ) { - const xxh_u8* const in = input + n*XXH_STRIPE_LEN; - XXH_PREFETCH(in + XXH_PREFETCH_DIST); - f_acc512(acc, - in, - secret + n*XXH_SECRET_CONSUME_RATE); - } -} - -XXH_FORCE_INLINE void -XXH3_hashLong_internal_loop(xxh_u64* XXH_RESTRICT acc, - const xxh_u8* XXH_RESTRICT input, size_t len, - const xxh_u8* XXH_RESTRICT secret, size_t secretSize, - XXH3_f_accumulate_512 f_acc512, - XXH3_f_scrambleAcc f_scramble) -{ - size_t const nbStripesPerBlock = (secretSize - XXH_STRIPE_LEN) / XXH_SECRET_CONSUME_RATE; - size_t const block_len = XXH_STRIPE_LEN * nbStripesPerBlock; - size_t const nb_blocks = (len - 1) / block_len; - - size_t n; - - XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); - - for (n = 0; n < nb_blocks; n++) { - XXH3_accumulate(acc, input + n*block_len, secret, nbStripesPerBlock, f_acc512); - f_scramble(acc, secret + secretSize - XXH_STRIPE_LEN); - } - - /* last partial block */ - XXH_ASSERT(len > XXH_STRIPE_LEN); - { size_t const nbStripes = ((len - 1) - (block_len * nb_blocks)) / XXH_STRIPE_LEN; - XXH_ASSERT(nbStripes <= (secretSize / XXH_SECRET_CONSUME_RATE)); - XXH3_accumulate(acc, input + nb_blocks*block_len, secret, nbStripes, f_acc512); - - /* last stripe */ - { const xxh_u8* const p = input + len - XXH_STRIPE_LEN; -#define XXH_SECRET_LASTACC_START 7 /* not aligned on 8, last secret is different from acc & scrambler */ - f_acc512(acc, p, secret + secretSize - XXH_STRIPE_LEN - XXH_SECRET_LASTACC_START); - } } -} - -XXH_FORCE_INLINE xxh_u64 -XXH3_mix2Accs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret) -{ - return XXH3_mul128_fold64( - acc[0] ^ XXH_readLE64(secret), - acc[1] ^ XXH_readLE64(secret+8) ); -} - -static XXH64_hash_t -XXH3_mergeAccs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret, xxh_u64 start) -{ - xxh_u64 result64 = start; - size_t i = 0; - - for (i = 0; i < 4; i++) { - result64 += XXH3_mix2Accs(acc+2*i, secret + 16*i); -#if defined(__clang__) /* Clang */ \ - && (defined(__arm__) || defined(__thumb__)) /* ARMv7 */ \ - && (defined(__ARM_NEON) || defined(__ARM_NEON__)) /* NEON */ \ - && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable */ - /* - * UGLY HACK: - * Prevent autovectorization on Clang ARMv7-a. Exact same problem as - * the one in XXH3_len_129to240_64b. Speeds up shorter keys > 240b. - * XXH3_64bits, len == 256, Snapdragon 835: - * without hack: 2063.7 MB/s - * with hack: 2560.7 MB/s - */ - __asm__("" : "+r" (result64)); -#endif - } - - return XXH3_avalanche(result64); -} - -#define XXH3_INIT_ACC { XXH_PRIME32_3, XXH_PRIME64_1, XXH_PRIME64_2, XXH_PRIME64_3, \ - XXH_PRIME64_4, XXH_PRIME32_2, XXH_PRIME64_5, XXH_PRIME32_1 } - -XXH_FORCE_INLINE XXH64_hash_t -XXH3_hashLong_64b_internal(const void* XXH_RESTRICT input, size_t len, - const void* XXH_RESTRICT secret, size_t secretSize, - XXH3_f_accumulate_512 f_acc512, - XXH3_f_scrambleAcc f_scramble) -{ - XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64 acc[XXH_ACC_NB] = XXH3_INIT_ACC; - - XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, (const xxh_u8*)secret, secretSize, f_acc512, f_scramble); - - /* converge into final hash */ - XXH_STATIC_ASSERT(sizeof(acc) == 64); - /* do not align on 8, so that the secret is different from the accumulator */ -#define XXH_SECRET_MERGEACCS_START 11 - XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); - return XXH3_mergeAccs(acc, (const xxh_u8*)secret + XXH_SECRET_MERGEACCS_START, (xxh_u64)len * XXH_PRIME64_1); -} - -/* - * It's important for performance that XXH3_hashLong is not inlined. - */ -XXH_NO_INLINE XXH64_hash_t -XXH3_hashLong_64b_withSecret(const void* XXH_RESTRICT input, size_t len, - XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) -{ - (void)seed64; - return XXH3_hashLong_64b_internal(input, len, secret, secretLen, XXH3_accumulate_512, XXH3_scrambleAcc); -} - -/* - * It's important for performance that XXH3_hashLong is not inlined. - * Since the function is not inlined, the compiler may not be able to understand that, - * in some scenarios, its `secret` argument is actually a compile time constant. - * This variant enforces that the compiler can detect that, - * and uses this opportunity to streamline the generated code for better performance. - */ -XXH_NO_INLINE XXH64_hash_t -XXH3_hashLong_64b_default(const void* XXH_RESTRICT input, size_t len, - XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) -{ - (void)seed64; (void)secret; (void)secretLen; - return XXH3_hashLong_64b_internal(input, len, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_accumulate_512, XXH3_scrambleAcc); -} - -/* - * XXH3_hashLong_64b_withSeed(): - * Generate a custom key based on alteration of default XXH3_kSecret with the seed, - * and then use this key for long mode hashing. - * - * This operation is decently fast but nonetheless costs a little bit of time. - * Try to avoid it whenever possible (typically when seed==0). - * - * It's important for performance that XXH3_hashLong is not inlined. Not sure - * why (uop cache maybe?), but the difference is large and easily measurable. - */ -XXH_FORCE_INLINE XXH64_hash_t -XXH3_hashLong_64b_withSeed_internal(const void* input, size_t len, - XXH64_hash_t seed, - XXH3_f_accumulate_512 f_acc512, - XXH3_f_scrambleAcc f_scramble, - XXH3_f_initCustomSecret f_initSec) -{ - if (seed == 0) - return XXH3_hashLong_64b_internal(input, len, - XXH3_kSecret, sizeof(XXH3_kSecret), - f_acc512, f_scramble); - { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; - f_initSec(secret, seed); - return XXH3_hashLong_64b_internal(input, len, secret, sizeof(secret), - f_acc512, f_scramble); - } -} - -/* - * It's important for performance that XXH3_hashLong is not inlined. - */ -XXH_NO_INLINE XXH64_hash_t -XXH3_hashLong_64b_withSeed(const void* input, size_t len, - XXH64_hash_t seed, const xxh_u8* secret, size_t secretLen) -{ - (void)secret; (void)secretLen; - return XXH3_hashLong_64b_withSeed_internal(input, len, seed, - XXH3_accumulate_512, XXH3_scrambleAcc, XXH3_initCustomSecret); -} - - -typedef XXH64_hash_t (*XXH3_hashLong64_f)(const void* XXH_RESTRICT, size_t, - XXH64_hash_t, const xxh_u8* XXH_RESTRICT, size_t); - -XXH_FORCE_INLINE XXH64_hash_t -XXH3_64bits_internal(const void* XXH_RESTRICT input, size_t len, - XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen, - XXH3_hashLong64_f f_hashLong) -{ - XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN); - /* - * If an action is to be taken if `secretLen` condition is not respected, - * it should be done here. - * For now, it's a contract pre-condition. - * Adding a check and a branch here would cost performance at every hash. - * Also, note that function signature doesn't offer room to return an error. - */ - if (len <= 16) - return XXH3_len_0to16_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); - if (len <= 128) - return XXH3_len_17to128_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); - if (len <= XXH3_MIDSIZE_MAX) - return XXH3_len_129to240_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); - return f_hashLong(input, len, seed64, (const xxh_u8*)secret, secretLen); -} - - -/* === Public entry point === */ - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH64_hash_t XXH3_64bits(const void* input, size_t len) -{ - return XXH3_64bits_internal(input, len, 0, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_hashLong_64b_default); -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH64_hash_t -XXH3_64bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) -{ - return XXH3_64bits_internal(input, len, 0, secret, secretSize, XXH3_hashLong_64b_withSecret); -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH64_hash_t -XXH3_64bits_withSeed(const void* input, size_t len, XXH64_hash_t seed) -{ - return XXH3_64bits_internal(input, len, seed, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_hashLong_64b_withSeed); -} - - -/* === XXH3 streaming === */ - -/* - * Malloc's a pointer that is always aligned to align. - * - * This must be freed with `XXH_alignedFree()`. - * - * malloc typically guarantees 16 byte alignment on 64-bit systems and 8 byte - * alignment on 32-bit. This isn't enough for the 32 byte aligned loads in AVX2 - * or on 32-bit, the 16 byte aligned loads in SSE2 and NEON. - * - * This underalignment previously caused a rather obvious crash which went - * completely unnoticed due to XXH3_createState() not actually being tested. - * Credit to RedSpah for noticing this bug. - * - * The alignment is done manually: Functions like posix_memalign or _mm_malloc - * are avoided: To maintain portability, we would have to write a fallback - * like this anyways, and besides, testing for the existence of library - * functions without relying on external build tools is impossible. - * - * The method is simple: Overallocate, manually align, and store the offset - * to the original behind the returned pointer. - * - * Align must be a power of 2 and 8 <= align <= 128. - */ -static void* XXH_alignedMalloc(size_t s, size_t align) -{ - XXH_ASSERT(align <= 128 && align >= 8); /* range check */ - XXH_ASSERT((align & (align-1)) == 0); /* power of 2 */ - XXH_ASSERT(s != 0 && s < (s + align)); /* empty/overflow */ - { /* Overallocate to make room for manual realignment and an offset byte */ - xxh_u8* base = (xxh_u8*)XXH_malloc(s + align); - if (base != NULL) { - /* - * Get the offset needed to align this pointer. - * - * Even if the returned pointer is aligned, there will always be - * at least one byte to store the offset to the original pointer. - */ - size_t offset = align - ((size_t)base & (align - 1)); /* base % align */ - /* Add the offset for the now-aligned pointer */ - xxh_u8* ptr = base + offset; - - XXH_ASSERT((size_t)ptr % align == 0); - - /* Store the offset immediately before the returned pointer. */ - ptr[-1] = (xxh_u8)offset; - return ptr; - } - return NULL; - } -} -/* - * Frees an aligned pointer allocated by XXH_alignedMalloc(). Don't pass - * normal malloc'd pointers, XXH_alignedMalloc has a specific data layout. - */ -static void XXH_alignedFree(void* p) -{ - if (p != NULL) { - xxh_u8* ptr = (xxh_u8*)p; - /* Get the offset byte we added in XXH_malloc. */ - xxh_u8 offset = ptr[-1]; - /* Free the original malloc'd pointer */ - xxh_u8* base = ptr - offset; - XXH_free(base); - } -} -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH3_state_t* XXH3_createState(void) -{ - XXH3_state_t* const state = (XXH3_state_t*)XXH_alignedMalloc(sizeof(XXH3_state_t), 64); - if (state==NULL) return NULL; - XXH3_INITSTATE(state); - return state; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode XXH3_freeState(XXH3_state_t* statePtr) -{ - XXH_alignedFree(statePtr); - return XXH_OK; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API void -XXH3_copyState(XXH3_state_t* dst_state, const XXH3_state_t* src_state) -{ - memcpy(dst_state, src_state, sizeof(*dst_state)); -} - -static void -XXH3_reset_internal(XXH3_state_t* statePtr, - XXH64_hash_t seed, - const void* secret, size_t secretSize) -{ - size_t const initStart = offsetof(XXH3_state_t, bufferedSize); - size_t const initLength = offsetof(XXH3_state_t, nbStripesPerBlock) - initStart; - XXH_ASSERT(offsetof(XXH3_state_t, nbStripesPerBlock) > initStart); - XXH_ASSERT(statePtr != NULL); - /* set members from bufferedSize to nbStripesPerBlock (excluded) to 0 */ - memset((char*)statePtr + initStart, 0, initLength); - statePtr->acc[0] = XXH_PRIME32_3; - statePtr->acc[1] = XXH_PRIME64_1; - statePtr->acc[2] = XXH_PRIME64_2; - statePtr->acc[3] = XXH_PRIME64_3; - statePtr->acc[4] = XXH_PRIME64_4; - statePtr->acc[5] = XXH_PRIME32_2; - statePtr->acc[6] = XXH_PRIME64_5; - statePtr->acc[7] = XXH_PRIME32_1; - statePtr->seed = seed; - statePtr->extSecret = (const unsigned char*)secret; - XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); - statePtr->secretLimit = secretSize - XXH_STRIPE_LEN; - statePtr->nbStripesPerBlock = statePtr->secretLimit / XXH_SECRET_CONSUME_RATE; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_64bits_reset(XXH3_state_t* statePtr) -{ - if (statePtr == NULL) return XXH_ERROR; - XXH3_reset_internal(statePtr, 0, XXH3_kSecret, XXH_SECRET_DEFAULT_SIZE); - return XXH_OK; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) -{ - if (statePtr == NULL) return XXH_ERROR; - XXH3_reset_internal(statePtr, 0, secret, secretSize); - if (secret == NULL) return XXH_ERROR; - if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR; - return XXH_OK; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_64bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed) -{ - if (statePtr == NULL) return XXH_ERROR; - if (seed==0) return XXH3_64bits_reset(statePtr); - if (seed != statePtr->seed) XXH3_initCustomSecret(statePtr->customSecret, seed); - XXH3_reset_internal(statePtr, seed, NULL, XXH_SECRET_DEFAULT_SIZE); - return XXH_OK; -} - -/* Note : when XXH3_consumeStripes() is invoked, - * there must be a guarantee that at least one more byte must be consumed from input - * so that the function can blindly consume all stripes using the "normal" secret segment */ -XXH_FORCE_INLINE void -XXH3_consumeStripes(xxh_u64* XXH_RESTRICT acc, - size_t* XXH_RESTRICT nbStripesSoFarPtr, size_t nbStripesPerBlock, - const xxh_u8* XXH_RESTRICT input, size_t nbStripes, - const xxh_u8* XXH_RESTRICT secret, size_t secretLimit, - XXH3_f_accumulate_512 f_acc512, - XXH3_f_scrambleAcc f_scramble) -{ - XXH_ASSERT(nbStripes <= nbStripesPerBlock); /* can handle max 1 scramble per invocation */ - XXH_ASSERT(*nbStripesSoFarPtr < nbStripesPerBlock); - if (nbStripesPerBlock - *nbStripesSoFarPtr <= nbStripes) { - /* need a scrambling operation */ - size_t const nbStripesToEndofBlock = nbStripesPerBlock - *nbStripesSoFarPtr; - size_t const nbStripesAfterBlock = nbStripes - nbStripesToEndofBlock; - XXH3_accumulate(acc, input, secret + nbStripesSoFarPtr[0] * XXH_SECRET_CONSUME_RATE, nbStripesToEndofBlock, f_acc512); - f_scramble(acc, secret + secretLimit); - XXH3_accumulate(acc, input + nbStripesToEndofBlock * XXH_STRIPE_LEN, secret, nbStripesAfterBlock, f_acc512); - *nbStripesSoFarPtr = nbStripesAfterBlock; - } else { - XXH3_accumulate(acc, input, secret + nbStripesSoFarPtr[0] * XXH_SECRET_CONSUME_RATE, nbStripes, f_acc512); - *nbStripesSoFarPtr += nbStripes; - } -} - -/* - * Both XXH3_64bits_update and XXH3_128bits_update use this routine. - */ -XXH_FORCE_INLINE XXH_errorcode -XXH3_update(XXH3_state_t* state, - const xxh_u8* input, size_t len, - XXH3_f_accumulate_512 f_acc512, - XXH3_f_scrambleAcc f_scramble) -{ - if (input==NULL) -#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) - return XXH_OK; -#else - return XXH_ERROR; -#endif - - { const xxh_u8* const bEnd = input + len; - const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret; - - state->totalLen += len; - XXH_ASSERT(state->bufferedSize <= XXH3_INTERNALBUFFER_SIZE); - - if (state->bufferedSize + len <= XXH3_INTERNALBUFFER_SIZE) { /* fill in tmp buffer */ - XXH_memcpy(state->buffer + state->bufferedSize, input, len); - state->bufferedSize += (XXH32_hash_t)len; - return XXH_OK; - } - /* total input is now > XXH3_INTERNALBUFFER_SIZE */ - - #define XXH3_INTERNALBUFFER_STRIPES (XXH3_INTERNALBUFFER_SIZE / XXH_STRIPE_LEN) - XXH_STATIC_ASSERT(XXH3_INTERNALBUFFER_SIZE % XXH_STRIPE_LEN == 0); /* clean multiple */ - - /* - * Internal buffer is partially filled (always, except at beginning) - * Complete it, then consume it. - */ - if (state->bufferedSize) { - size_t const loadSize = XXH3_INTERNALBUFFER_SIZE - state->bufferedSize; - XXH_memcpy(state->buffer + state->bufferedSize, input, loadSize); - input += loadSize; - XXH3_consumeStripes(state->acc, - &state->nbStripesSoFar, state->nbStripesPerBlock, - state->buffer, XXH3_INTERNALBUFFER_STRIPES, - secret, state->secretLimit, - f_acc512, f_scramble); - state->bufferedSize = 0; - } - XXH_ASSERT(input < bEnd); - - /* Consume input by a multiple of internal buffer size */ - if (input+XXH3_INTERNALBUFFER_SIZE < bEnd) { - const xxh_u8* const limit = bEnd - XXH3_INTERNALBUFFER_SIZE; - do { - XXH3_consumeStripes(state->acc, - &state->nbStripesSoFar, state->nbStripesPerBlock, - input, XXH3_INTERNALBUFFER_STRIPES, - secret, state->secretLimit, - f_acc512, f_scramble); - input += XXH3_INTERNALBUFFER_SIZE; - } while (inputbuffer + sizeof(state->buffer) - XXH_STRIPE_LEN, input - XXH_STRIPE_LEN, XXH_STRIPE_LEN); - } - XXH_ASSERT(input < bEnd); - - /* Some remaining input (always) : buffer it */ - XXH_memcpy(state->buffer, input, (size_t)(bEnd-input)); - state->bufferedSize = (XXH32_hash_t)(bEnd-input); - } - - return XXH_OK; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_64bits_update(XXH3_state_t* state, const void* input, size_t len) -{ - return XXH3_update(state, (const xxh_u8*)input, len, - XXH3_accumulate_512, XXH3_scrambleAcc); -} - - -XXH_FORCE_INLINE void -XXH3_digest_long (XXH64_hash_t* acc, - const XXH3_state_t* state, - const unsigned char* secret) -{ - /* - * Digest on a local copy. This way, the state remains unaltered, and it can - * continue ingesting more input afterwards. - */ - memcpy(acc, state->acc, sizeof(state->acc)); - if (state->bufferedSize >= XXH_STRIPE_LEN) { - size_t const nbStripes = (state->bufferedSize - 1) / XXH_STRIPE_LEN; - size_t nbStripesSoFar = state->nbStripesSoFar; - XXH3_consumeStripes(acc, - &nbStripesSoFar, state->nbStripesPerBlock, - state->buffer, nbStripes, - secret, state->secretLimit, - XXH3_accumulate_512, XXH3_scrambleAcc); - /* last stripe */ - XXH3_accumulate_512(acc, - state->buffer + state->bufferedSize - XXH_STRIPE_LEN, - secret + state->secretLimit - XXH_SECRET_LASTACC_START); - } else { /* bufferedSize < XXH_STRIPE_LEN */ - xxh_u8 lastStripe[XXH_STRIPE_LEN]; - size_t const catchupSize = XXH_STRIPE_LEN - state->bufferedSize; - XXH_ASSERT(state->bufferedSize > 0); /* there is always some input buffered */ - memcpy(lastStripe, state->buffer + sizeof(state->buffer) - catchupSize, catchupSize); - memcpy(lastStripe + catchupSize, state->buffer, state->bufferedSize); - XXH3_accumulate_512(acc, - lastStripe, - secret + state->secretLimit - XXH_SECRET_LASTACC_START); - } -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_digest (const XXH3_state_t* state) -{ - const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret; - if (state->totalLen > XXH3_MIDSIZE_MAX) { - XXH_ALIGN(XXH_ACC_ALIGN) XXH64_hash_t acc[XXH_ACC_NB]; - XXH3_digest_long(acc, state, secret); - return XXH3_mergeAccs(acc, - secret + XXH_SECRET_MERGEACCS_START, - (xxh_u64)state->totalLen * XXH_PRIME64_1); - } - /* totalLen <= XXH3_MIDSIZE_MAX: digesting a short input */ - if (state->seed) - return XXH3_64bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed); - return XXH3_64bits_withSecret(state->buffer, (size_t)(state->totalLen), - secret, state->secretLimit + XXH_STRIPE_LEN); -} - - -#define XXH_MIN(x, y) (((x) > (y)) ? (y) : (x)) - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API void -XXH3_generateSecret(void* secretBuffer, const void* customSeed, size_t customSeedSize) -{ - XXH_ASSERT(secretBuffer != NULL); - if (customSeedSize == 0) { - memcpy(secretBuffer, XXH3_kSecret, XXH_SECRET_DEFAULT_SIZE); - return; - } - XXH_ASSERT(customSeed != NULL); - - { size_t const segmentSize = sizeof(XXH128_hash_t); - size_t const nbSegments = XXH_SECRET_DEFAULT_SIZE / segmentSize; - XXH128_canonical_t scrambler; - XXH64_hash_t seeds[12]; - size_t segnb; - XXH_ASSERT(nbSegments == 12); - XXH_ASSERT(segmentSize * nbSegments == XXH_SECRET_DEFAULT_SIZE); /* exact multiple */ - XXH128_canonicalFromHash(&scrambler, XXH128(customSeed, customSeedSize, 0)); - - /* - * Copy customSeed to seeds[], truncating or repeating as necessary. - */ - { size_t toFill = XXH_MIN(customSeedSize, sizeof(seeds)); - size_t filled = toFill; - memcpy(seeds, customSeed, toFill); - while (filled < sizeof(seeds)) { - toFill = XXH_MIN(filled, sizeof(seeds) - filled); - memcpy((char*)seeds + filled, seeds, toFill); - filled += toFill; - } } - - /* generate secret */ - memcpy(secretBuffer, &scrambler, sizeof(scrambler)); - for (segnb=1; segnb < nbSegments; segnb++) { - size_t const segmentStart = segnb * segmentSize; - XXH128_canonical_t segment; - XXH128_canonicalFromHash(&segment, - XXH128(&scrambler, sizeof(scrambler), XXH_readLE64(seeds + segnb) + segnb) ); - memcpy((char*)secretBuffer + segmentStart, &segment, sizeof(segment)); - } } -} - - -/* ========================================== - * XXH3 128 bits (a.k.a XXH128) - * ========================================== - * XXH3's 128-bit variant has better mixing and strength than the 64-bit variant, - * even without counting the significantly larger output size. - * - * For example, extra steps are taken to avoid the seed-dependent collisions - * in 17-240 byte inputs (See XXH3_mix16B and XXH128_mix32B). - * - * This strength naturally comes at the cost of some speed, especially on short - * lengths. Note that longer hashes are about as fast as the 64-bit version - * due to it using only a slight modification of the 64-bit loop. - * - * XXH128 is also more oriented towards 64-bit machines. It is still extremely - * fast for a _128-bit_ hash on 32-bit (it usually clears XXH64). - */ - -XXH_FORCE_INLINE XXH128_hash_t -XXH3_len_1to3_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - /* A doubled version of 1to3_64b with different constants. */ - XXH_ASSERT(input != NULL); - XXH_ASSERT(1 <= len && len <= 3); - XXH_ASSERT(secret != NULL); - /* - * len = 1: combinedl = { input[0], 0x01, input[0], input[0] } - * len = 2: combinedl = { input[1], 0x02, input[0], input[1] } - * len = 3: combinedl = { input[2], 0x03, input[0], input[1] } - */ - { xxh_u8 const c1 = input[0]; - xxh_u8 const c2 = input[len >> 1]; - xxh_u8 const c3 = input[len - 1]; - xxh_u32 const combinedl = ((xxh_u32)c1 <<16) | ((xxh_u32)c2 << 24) - | ((xxh_u32)c3 << 0) | ((xxh_u32)len << 8); - xxh_u32 const combinedh = XXH_rotl32(XXH_swap32(combinedl), 13); - xxh_u64 const bitflipl = (XXH_readLE32(secret) ^ XXH_readLE32(secret+4)) + seed; - xxh_u64 const bitfliph = (XXH_readLE32(secret+8) ^ XXH_readLE32(secret+12)) - seed; - xxh_u64 const keyed_lo = (xxh_u64)combinedl ^ bitflipl; - xxh_u64 const keyed_hi = (xxh_u64)combinedh ^ bitfliph; - XXH128_hash_t h128; - h128.low64 = XXH64_avalanche(keyed_lo); - h128.high64 = XXH64_avalanche(keyed_hi); - return h128; - } -} - -XXH_FORCE_INLINE XXH128_hash_t -XXH3_len_4to8_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - XXH_ASSERT(input != NULL); - XXH_ASSERT(secret != NULL); - XXH_ASSERT(4 <= len && len <= 8); - seed ^= (xxh_u64)XXH_swap32((xxh_u32)seed) << 32; - { xxh_u32 const input_lo = XXH_readLE32(input); - xxh_u32 const input_hi = XXH_readLE32(input + len - 4); - xxh_u64 const input_64 = input_lo + ((xxh_u64)input_hi << 32); - xxh_u64 const bitflip = (XXH_readLE64(secret+16) ^ XXH_readLE64(secret+24)) + seed; - xxh_u64 const keyed = input_64 ^ bitflip; - - /* Shift len to the left to ensure it is even, this avoids even multiplies. */ - XXH128_hash_t m128 = XXH_mult64to128(keyed, XXH_PRIME64_1 + (len << 2)); - - m128.high64 += (m128.low64 << 1); - m128.low64 ^= (m128.high64 >> 3); - - m128.low64 = XXH_xorshift64(m128.low64, 35); - m128.low64 *= 0x9FB21C651E98DF25ULL; - m128.low64 = XXH_xorshift64(m128.low64, 28); - m128.high64 = XXH3_avalanche(m128.high64); - return m128; - } -} - -XXH_FORCE_INLINE XXH128_hash_t -XXH3_len_9to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - XXH_ASSERT(input != NULL); - XXH_ASSERT(secret != NULL); - XXH_ASSERT(9 <= len && len <= 16); - { xxh_u64 const bitflipl = (XXH_readLE64(secret+32) ^ XXH_readLE64(secret+40)) - seed; - xxh_u64 const bitfliph = (XXH_readLE64(secret+48) ^ XXH_readLE64(secret+56)) + seed; - xxh_u64 const input_lo = XXH_readLE64(input); - xxh_u64 input_hi = XXH_readLE64(input + len - 8); - XXH128_hash_t m128 = XXH_mult64to128(input_lo ^ input_hi ^ bitflipl, XXH_PRIME64_1); - /* - * Put len in the middle of m128 to ensure that the length gets mixed to - * both the low and high bits in the 128x64 multiply below. - */ - m128.low64 += (xxh_u64)(len - 1) << 54; - input_hi ^= bitfliph; - /* - * Add the high 32 bits of input_hi to the high 32 bits of m128, then - * add the long product of the low 32 bits of input_hi and XXH_PRIME32_2 to - * the high 64 bits of m128. - * - * The best approach to this operation is different on 32-bit and 64-bit. - */ - if (sizeof(void *) < sizeof(xxh_u64)) { /* 32-bit */ - /* - * 32-bit optimized version, which is more readable. - * - * On 32-bit, it removes an ADC and delays a dependency between the two - * halves of m128.high64, but it generates an extra mask on 64-bit. - */ - m128.high64 += (input_hi & 0xFFFFFFFF00000000ULL) + XXH_mult32to64((xxh_u32)input_hi, XXH_PRIME32_2); - } else { - /* - * 64-bit optimized (albeit more confusing) version. - * - * Uses some properties of addition and multiplication to remove the mask: - * - * Let: - * a = input_hi.lo = (input_hi & 0x00000000FFFFFFFF) - * b = input_hi.hi = (input_hi & 0xFFFFFFFF00000000) - * c = XXH_PRIME32_2 - * - * a + (b * c) - * Inverse Property: x + y - x == y - * a + (b * (1 + c - 1)) - * Distributive Property: x * (y + z) == (x * y) + (x * z) - * a + (b * 1) + (b * (c - 1)) - * Identity Property: x * 1 == x - * a + b + (b * (c - 1)) - * - * Substitute a, b, and c: - * input_hi.hi + input_hi.lo + ((xxh_u64)input_hi.lo * (XXH_PRIME32_2 - 1)) - * - * Since input_hi.hi + input_hi.lo == input_hi, we get this: - * input_hi + ((xxh_u64)input_hi.lo * (XXH_PRIME32_2 - 1)) - */ - m128.high64 += input_hi + XXH_mult32to64((xxh_u32)input_hi, XXH_PRIME32_2 - 1); - } - /* m128 ^= XXH_swap64(m128 >> 64); */ - m128.low64 ^= XXH_swap64(m128.high64); - - { /* 128x64 multiply: h128 = m128 * XXH_PRIME64_2; */ - XXH128_hash_t h128 = XXH_mult64to128(m128.low64, XXH_PRIME64_2); - h128.high64 += m128.high64 * XXH_PRIME64_2; - - h128.low64 = XXH3_avalanche(h128.low64); - h128.high64 = XXH3_avalanche(h128.high64); - return h128; - } } -} - -/* - * Assumption: `secret` size is >= XXH3_SECRET_SIZE_MIN - */ -XXH_FORCE_INLINE XXH128_hash_t -XXH3_len_0to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) -{ - XXH_ASSERT(len <= 16); - { if (len > 8) return XXH3_len_9to16_128b(input, len, secret, seed); - if (len >= 4) return XXH3_len_4to8_128b(input, len, secret, seed); - if (len) return XXH3_len_1to3_128b(input, len, secret, seed); - { XXH128_hash_t h128; - xxh_u64 const bitflipl = XXH_readLE64(secret+64) ^ XXH_readLE64(secret+72); - xxh_u64 const bitfliph = XXH_readLE64(secret+80) ^ XXH_readLE64(secret+88); - h128.low64 = XXH64_avalanche(seed ^ bitflipl); - h128.high64 = XXH64_avalanche( seed ^ bitfliph); - return h128; - } } -} - -/* - * A bit slower than XXH3_mix16B, but handles multiply by zero better. - */ -XXH_FORCE_INLINE XXH128_hash_t -XXH128_mix32B(XXH128_hash_t acc, const xxh_u8* input_1, const xxh_u8* input_2, - const xxh_u8* secret, XXH64_hash_t seed) -{ - acc.low64 += XXH3_mix16B (input_1, secret+0, seed); - acc.low64 ^= XXH_readLE64(input_2) + XXH_readLE64(input_2 + 8); - acc.high64 += XXH3_mix16B (input_2, secret+16, seed); - acc.high64 ^= XXH_readLE64(input_1) + XXH_readLE64(input_1 + 8); - return acc; -} - - -XXH_FORCE_INLINE XXH128_hash_t -XXH3_len_17to128_128b(const xxh_u8* XXH_RESTRICT input, size_t len, - const xxh_u8* XXH_RESTRICT secret, size_t secretSize, - XXH64_hash_t seed) -{ - XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; - XXH_ASSERT(16 < len && len <= 128); - - { XXH128_hash_t acc; - acc.low64 = len * XXH_PRIME64_1; - acc.high64 = 0; - if (len > 32) { - if (len > 64) { - if (len > 96) { - acc = XXH128_mix32B(acc, input+48, input+len-64, secret+96, seed); - } - acc = XXH128_mix32B(acc, input+32, input+len-48, secret+64, seed); - } - acc = XXH128_mix32B(acc, input+16, input+len-32, secret+32, seed); - } - acc = XXH128_mix32B(acc, input, input+len-16, secret, seed); - { XXH128_hash_t h128; - h128.low64 = acc.low64 + acc.high64; - h128.high64 = (acc.low64 * XXH_PRIME64_1) - + (acc.high64 * XXH_PRIME64_4) - + ((len - seed) * XXH_PRIME64_2); - h128.low64 = XXH3_avalanche(h128.low64); - h128.high64 = (XXH64_hash_t)0 - XXH3_avalanche(h128.high64); - return h128; - } - } -} - -XXH_NO_INLINE XXH128_hash_t -XXH3_len_129to240_128b(const xxh_u8* XXH_RESTRICT input, size_t len, - const xxh_u8* XXH_RESTRICT secret, size_t secretSize, - XXH64_hash_t seed) -{ - XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; - XXH_ASSERT(128 < len && len <= XXH3_MIDSIZE_MAX); - - { XXH128_hash_t acc; - int const nbRounds = (int)len / 32; - int i; - acc.low64 = len * XXH_PRIME64_1; - acc.high64 = 0; - for (i=0; i<4; i++) { - acc = XXH128_mix32B(acc, - input + (32 * i), - input + (32 * i) + 16, - secret + (32 * i), - seed); - } - acc.low64 = XXH3_avalanche(acc.low64); - acc.high64 = XXH3_avalanche(acc.high64); - XXH_ASSERT(nbRounds >= 4); - for (i=4 ; i < nbRounds; i++) { - acc = XXH128_mix32B(acc, - input + (32 * i), - input + (32 * i) + 16, - secret + XXH3_MIDSIZE_STARTOFFSET + (32 * (i - 4)), - seed); - } - /* last bytes */ - acc = XXH128_mix32B(acc, - input + len - 16, - input + len - 32, - secret + XXH3_SECRET_SIZE_MIN - XXH3_MIDSIZE_LASTOFFSET - 16, - 0ULL - seed); - - { XXH128_hash_t h128; - h128.low64 = acc.low64 + acc.high64; - h128.high64 = (acc.low64 * XXH_PRIME64_1) - + (acc.high64 * XXH_PRIME64_4) - + ((len - seed) * XXH_PRIME64_2); - h128.low64 = XXH3_avalanche(h128.low64); - h128.high64 = (XXH64_hash_t)0 - XXH3_avalanche(h128.high64); - return h128; - } - } -} - -XXH_FORCE_INLINE XXH128_hash_t -XXH3_hashLong_128b_internal(const void* XXH_RESTRICT input, size_t len, - const xxh_u8* XXH_RESTRICT secret, size_t secretSize, - XXH3_f_accumulate_512 f_acc512, - XXH3_f_scrambleAcc f_scramble) -{ - XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64 acc[XXH_ACC_NB] = XXH3_INIT_ACC; - - XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, secret, secretSize, f_acc512, f_scramble); - - /* converge into final hash */ - XXH_STATIC_ASSERT(sizeof(acc) == 64); - XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); - { XXH128_hash_t h128; - h128.low64 = XXH3_mergeAccs(acc, - secret + XXH_SECRET_MERGEACCS_START, - (xxh_u64)len * XXH_PRIME64_1); - h128.high64 = XXH3_mergeAccs(acc, - secret + secretSize - - sizeof(acc) - XXH_SECRET_MERGEACCS_START, - ~((xxh_u64)len * XXH_PRIME64_2)); - return h128; - } -} - -/* - * It's important for performance that XXH3_hashLong is not inlined. - */ -XXH_NO_INLINE XXH128_hash_t -XXH3_hashLong_128b_default(const void* XXH_RESTRICT input, size_t len, - XXH64_hash_t seed64, - const void* XXH_RESTRICT secret, size_t secretLen) -{ - (void)seed64; (void)secret; (void)secretLen; - return XXH3_hashLong_128b_internal(input, len, XXH3_kSecret, sizeof(XXH3_kSecret), - XXH3_accumulate_512, XXH3_scrambleAcc); -} - -/* - * It's important for performance that XXH3_hashLong is not inlined. - */ -XXH_NO_INLINE XXH128_hash_t -XXH3_hashLong_128b_withSecret(const void* XXH_RESTRICT input, size_t len, - XXH64_hash_t seed64, - const void* XXH_RESTRICT secret, size_t secretLen) -{ - (void)seed64; - return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, secretLen, - XXH3_accumulate_512, XXH3_scrambleAcc); -} - -XXH_FORCE_INLINE XXH128_hash_t -XXH3_hashLong_128b_withSeed_internal(const void* XXH_RESTRICT input, size_t len, - XXH64_hash_t seed64, - XXH3_f_accumulate_512 f_acc512, - XXH3_f_scrambleAcc f_scramble, - XXH3_f_initCustomSecret f_initSec) -{ - if (seed64 == 0) - return XXH3_hashLong_128b_internal(input, len, - XXH3_kSecret, sizeof(XXH3_kSecret), - f_acc512, f_scramble); - { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; - f_initSec(secret, seed64); - return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, sizeof(secret), - f_acc512, f_scramble); - } -} - -/* - * It's important for performance that XXH3_hashLong is not inlined. - */ -XXH_NO_INLINE XXH128_hash_t -XXH3_hashLong_128b_withSeed(const void* input, size_t len, - XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen) -{ - (void)secret; (void)secretLen; - return XXH3_hashLong_128b_withSeed_internal(input, len, seed64, - XXH3_accumulate_512, XXH3_scrambleAcc, XXH3_initCustomSecret); -} - -typedef XXH128_hash_t (*XXH3_hashLong128_f)(const void* XXH_RESTRICT, size_t, - XXH64_hash_t, const void* XXH_RESTRICT, size_t); - -XXH_FORCE_INLINE XXH128_hash_t -XXH3_128bits_internal(const void* input, size_t len, - XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen, - XXH3_hashLong128_f f_hl128) -{ - XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN); - /* - * If an action is to be taken if `secret` conditions are not respected, - * it should be done here. - * For now, it's a contract pre-condition. - * Adding a check and a branch here would cost performance at every hash. - */ - if (len <= 16) - return XXH3_len_0to16_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); - if (len <= 128) - return XXH3_len_17to128_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); - if (len <= XXH3_MIDSIZE_MAX) - return XXH3_len_129to240_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); - return f_hl128(input, len, seed64, secret, secretLen); -} - - -/* === Public XXH128 API === */ - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH128_hash_t XXH3_128bits(const void* input, size_t len) -{ - return XXH3_128bits_internal(input, len, 0, - XXH3_kSecret, sizeof(XXH3_kSecret), - XXH3_hashLong_128b_default); -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH128_hash_t -XXH3_128bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) -{ - return XXH3_128bits_internal(input, len, 0, - (const xxh_u8*)secret, secretSize, - XXH3_hashLong_128b_withSecret); -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH128_hash_t -XXH3_128bits_withSeed(const void* input, size_t len, XXH64_hash_t seed) -{ - return XXH3_128bits_internal(input, len, seed, - XXH3_kSecret, sizeof(XXH3_kSecret), - XXH3_hashLong_128b_withSeed); -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH128_hash_t -XXH128(const void* input, size_t len, XXH64_hash_t seed) -{ - return XXH3_128bits_withSeed(input, len, seed); -} - - -/* === XXH3 128-bit streaming === */ - -/* - * All the functions are actually the same as for 64-bit streaming variant. - * The only difference is the finalization routine. - */ - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_128bits_reset(XXH3_state_t* statePtr) -{ - if (statePtr == NULL) return XXH_ERROR; - XXH3_reset_internal(statePtr, 0, XXH3_kSecret, XXH_SECRET_DEFAULT_SIZE); - return XXH_OK; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) -{ - if (statePtr == NULL) return XXH_ERROR; - XXH3_reset_internal(statePtr, 0, secret, secretSize); - if (secret == NULL) return XXH_ERROR; - if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR; - return XXH_OK; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_128bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed) -{ - if (statePtr == NULL) return XXH_ERROR; - if (seed==0) return XXH3_128bits_reset(statePtr); - if (seed != statePtr->seed) XXH3_initCustomSecret(statePtr->customSecret, seed); - XXH3_reset_internal(statePtr, seed, NULL, XXH_SECRET_DEFAULT_SIZE); - return XXH_OK; -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH_errorcode -XXH3_128bits_update(XXH3_state_t* state, const void* input, size_t len) -{ - return XXH3_update(state, (const xxh_u8*)input, len, - XXH3_accumulate_512, XXH3_scrambleAcc); -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_digest (const XXH3_state_t* state) -{ - const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret; - if (state->totalLen > XXH3_MIDSIZE_MAX) { - XXH_ALIGN(XXH_ACC_ALIGN) XXH64_hash_t acc[XXH_ACC_NB]; - XXH3_digest_long(acc, state, secret); - XXH_ASSERT(state->secretLimit + XXH_STRIPE_LEN >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); - { XXH128_hash_t h128; - h128.low64 = XXH3_mergeAccs(acc, - secret + XXH_SECRET_MERGEACCS_START, - (xxh_u64)state->totalLen * XXH_PRIME64_1); - h128.high64 = XXH3_mergeAccs(acc, - secret + state->secretLimit + XXH_STRIPE_LEN - - sizeof(acc) - XXH_SECRET_MERGEACCS_START, - ~((xxh_u64)state->totalLen * XXH_PRIME64_2)); - return h128; - } - } - /* len <= XXH3_MIDSIZE_MAX : short code */ - if (state->seed) - return XXH3_128bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed); - return XXH3_128bits_withSecret(state->buffer, (size_t)(state->totalLen), - secret, state->secretLimit + XXH_STRIPE_LEN); -} - -/* 128-bit utility functions */ - -#include /* memcmp, memcpy */ - -/* return : 1 is equal, 0 if different */ -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API int XXH128_isEqual(XXH128_hash_t h1, XXH128_hash_t h2) -{ - /* note : XXH128_hash_t is compact, it has no padding byte */ - return !(memcmp(&h1, &h2, sizeof(h1))); -} - -/* This prototype is compatible with stdlib's qsort(). - * return : >0 if *h128_1 > *h128_2 - * <0 if *h128_1 < *h128_2 - * =0 if *h128_1 == *h128_2 */ -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API int XXH128_cmp(const void* h128_1, const void* h128_2) -{ - XXH128_hash_t const h1 = *(const XXH128_hash_t*)h128_1; - XXH128_hash_t const h2 = *(const XXH128_hash_t*)h128_2; - int const hcmp = (h1.high64 > h2.high64) - (h2.high64 > h1.high64); - /* note : bets that, in most cases, hash values are different */ - if (hcmp) return hcmp; - return (h1.low64 > h2.low64) - (h2.low64 > h1.low64); -} - - -/*====== Canonical representation ======*/ -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API void -XXH128_canonicalFromHash(XXH128_canonical_t* dst, XXH128_hash_t hash) -{ - XXH_STATIC_ASSERT(sizeof(XXH128_canonical_t) == sizeof(XXH128_hash_t)); - if (XXH_CPU_LITTLE_ENDIAN) { - hash.high64 = XXH_swap64(hash.high64); - hash.low64 = XXH_swap64(hash.low64); - } - memcpy(dst, &hash.high64, sizeof(hash.high64)); - memcpy((char*)dst + sizeof(hash.high64), &hash.low64, sizeof(hash.low64)); -} - -/*! @ingroup xxh3_family */ -XXH_PUBLIC_API XXH128_hash_t -XXH128_hashFromCanonical(const XXH128_canonical_t* src) -{ - XXH128_hash_t h; - h.high64 = XXH_readBE64(src); - h.low64 = XXH_readBE64(src->digest + 8); - return h; -} - -/* Pop our optimization override from above */ -#if XXH_VECTOR == XXH_AVX2 /* AVX2 */ \ - && defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \ - && defined(__OPTIMIZE__) && !defined(__OPTIMIZE_SIZE__) /* respect -O0 and -Os */ -# pragma GCC pop_options -#endif - -#endif /* XXH_NO_LONG_LONG */ - -/*! - * @} - */ -#endif /* XXH_IMPLEMENTATION */ - - -#if defined (__cplusplus) -} -#endif +/* + * xxHash - Extremely Fast Hash algorithm + * Header File + * Copyright (C) 2012-2020 Yann Collet + * + * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * You can contact the author at: + * - xxHash homepage: https://www.xxhash.com + * - xxHash source repository: https://github.com/Cyan4973/xxHash + */ +/*! + * @mainpage xxHash + * + * @file xxhash.h + * xxHash prototypes and implementation + */ +/* TODO: update */ +/* Notice extracted from xxHash homepage: + +xxHash is an extremely fast hash algorithm, running at RAM speed limits. +It also successfully passes all tests from the SMHasher suite. + +Comparison (single thread, Windows Seven 32 bits, using SMHasher on a Core 2 Duo @3GHz) + +Name Speed Q.Score Author +xxHash 5.4 GB/s 10 +CrapWow 3.2 GB/s 2 Andrew +MurmurHash 3a 2.7 GB/s 10 Austin Appleby +SpookyHash 2.0 GB/s 10 Bob Jenkins +SBox 1.4 GB/s 9 Bret Mulvey +Lookup3 1.2 GB/s 9 Bob Jenkins +SuperFastHash 1.2 GB/s 1 Paul Hsieh +CityHash64 1.05 GB/s 10 Pike & Alakuijala +FNV 0.55 GB/s 5 Fowler, Noll, Vo +CRC32 0.43 GB/s 9 +MD5-32 0.33 GB/s 10 Ronald L. Rivest +SHA1-32 0.28 GB/s 10 + +Q.Score is a measure of quality of the hash function. +It depends on successfully passing SMHasher test set. +10 is a perfect score. + +Note: SMHasher's CRC32 implementation is not the fastest one. +Other speed-oriented implementations can be faster, +especially in combination with PCLMUL instruction: +https://fastcompression.blogspot.com/2019/03/presenting-xxh3.html?showComment=1552696407071#c3490092340461170735 + +A 64-bit version, named XXH64, is available since r35. +It offers much better speed, but for 64-bit applications only. +Name Speed on 64 bits Speed on 32 bits +XXH64 13.8 GB/s 1.9 GB/s +XXH32 6.8 GB/s 6.0 GB/s +*/ + +#if defined (__cplusplus) +extern "C" { +#endif + +/* **************************** + * INLINE mode + ******************************/ +/*! + * XXH_INLINE_ALL (and XXH_PRIVATE_API) + * Use these build macros to inline xxhash into the target unit. + * Inlining improves performance on small inputs, especially when the length is + * expressed as a compile-time constant: + * + * https://fastcompression.blogspot.com/2018/03/xxhash-for-small-keys-impressive-power.html + * + * It also keeps xxHash symbols private to the unit, so they are not exported. + * + * Usage: + * #define XXH_INLINE_ALL + * #include "xxhash.h" + * + * Do not compile and link xxhash.o as a separate object, as it is not useful. + */ +#if (defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API)) \ + && !defined(XXH_INLINE_ALL_31684351384) + /* this section should be traversed only once */ +# define XXH_INLINE_ALL_31684351384 + /* give access to the advanced API, required to compile implementations */ +# undef XXH_STATIC_LINKING_ONLY /* avoid macro redef */ +# define XXH_STATIC_LINKING_ONLY + /* make all functions private */ +# undef XXH_PUBLIC_API +# if defined(__GNUC__) +# define XXH_PUBLIC_API static __inline __attribute__((unused)) +# elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) +# define XXH_PUBLIC_API static inline +# elif defined(_MSC_VER) +# define XXH_PUBLIC_API static __inline +# else + /* note: this version may generate warnings for unused static functions */ +# define XXH_PUBLIC_API static +# endif + + /* + * This part deals with the special case where a unit wants to inline xxHash, + * but "xxhash.h" has previously been included without XXH_INLINE_ALL, such + * as part of some previously included *.h header file. + * Without further action, the new include would just be ignored, + * and functions would effectively _not_ be inlined (silent failure). + * The following macros solve this situation by prefixing all inlined names, + * avoiding naming collision with previous inclusions. + */ +# ifdef XXH_NAMESPACE +# error "XXH_INLINE_ALL with XXH_NAMESPACE is not supported" + /* + * Note: Alternative: #undef all symbols (it's a pretty large list). + * Without #error: it compiles, but functions are actually not inlined. + */ +# endif +# define XXH_NAMESPACE XXH_INLINE_ + /* + * Some identifiers (enums, type names) are not symbols, but they must + * still be renamed to avoid redeclaration. + * Alternative solution: do not redeclare them. + * However, this requires some #ifdefs, and is a more dispersed action. + * Meanwhile, renaming can be achieved in a single block + */ +# define XXH_IPREF(Id) XXH_INLINE_ ## Id +# define XXH_OK XXH_IPREF(XXH_OK) +# define XXH_ERROR XXH_IPREF(XXH_ERROR) +# define XXH_errorcode XXH_IPREF(XXH_errorcode) +# define XXH32_canonical_t XXH_IPREF(XXH32_canonical_t) +# define XXH64_canonical_t XXH_IPREF(XXH64_canonical_t) +# define XXH128_canonical_t XXH_IPREF(XXH128_canonical_t) +# define XXH32_state_s XXH_IPREF(XXH32_state_s) +# define XXH32_state_t XXH_IPREF(XXH32_state_t) +# define XXH64_state_s XXH_IPREF(XXH64_state_s) +# define XXH64_state_t XXH_IPREF(XXH64_state_t) +# define XXH3_state_s XXH_IPREF(XXH3_state_s) +# define XXH3_state_t XXH_IPREF(XXH3_state_t) +# define XXH128_hash_t XXH_IPREF(XXH128_hash_t) + /* Ensure the header is parsed again, even if it was previously included */ +# undef XXHASH_H_5627135585666179 +# undef XXHASH_H_STATIC_13879238742 +#endif /* XXH_INLINE_ALL || XXH_PRIVATE_API */ + + + +/* **************************************************************** + * Stable API + *****************************************************************/ +#ifndef XXHASH_H_5627135585666179 +#define XXHASH_H_5627135585666179 1 + + +/*! + * @defgroup public Public API + * Contains details on the public xxHash functions. + * @{ + */ +/* specific declaration modes for Windows */ +#if !defined(XXH_INLINE_ALL) && !defined(XXH_PRIVATE_API) +# if defined(WIN32) && defined(_MSC_VER) && (defined(XXH_IMPORT) || defined(XXH_EXPORT)) +# ifdef XXH_EXPORT +# define XXH_PUBLIC_API __declspec(dllexport) +# elif XXH_IMPORT +# define XXH_PUBLIC_API __declspec(dllimport) +# endif +# else +# define XXH_PUBLIC_API /* do nothing */ +# endif +#endif + +#ifdef XXH_DOXYGEN +/*! + * @brief Emulate a namespace by transparently prefixing all symbols. + * + * If you want to include _and expose_ xxHash functions from within your own + * library, but also want to avoid symbol collisions with other libraries which + * may also include xxHash, you can use XXH_NAMESPACE to automatically prefix + * any public symbol from xxhash library with the value of XXH_NAMESPACE + * (therefore, avoid empty or numeric values). + * + * Note that no change is required within the calling program as long as it + * includes `xxhash.h`: Regular symbol names will be automatically translated + * by this header. + */ +# define XXH_NAMESPACE /* YOUR NAME HERE */ +# undef XXH_NAMESPACE +#endif + +#ifdef XXH_NAMESPACE +# define XXH_CAT(A,B) A##B +# define XXH_NAME2(A,B) XXH_CAT(A,B) +# define XXH_versionNumber XXH_NAME2(XXH_NAMESPACE, XXH_versionNumber) +/* XXH32 */ +# define XXH32 XXH_NAME2(XXH_NAMESPACE, XXH32) +# define XXH32_createState XXH_NAME2(XXH_NAMESPACE, XXH32_createState) +# define XXH32_freeState XXH_NAME2(XXH_NAMESPACE, XXH32_freeState) +# define XXH32_reset XXH_NAME2(XXH_NAMESPACE, XXH32_reset) +# define XXH32_update XXH_NAME2(XXH_NAMESPACE, XXH32_update) +# define XXH32_digest XXH_NAME2(XXH_NAMESPACE, XXH32_digest) +# define XXH32_copyState XXH_NAME2(XXH_NAMESPACE, XXH32_copyState) +# define XXH32_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH32_canonicalFromHash) +# define XXH32_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH32_hashFromCanonical) +/* XXH64 */ +# define XXH64 XXH_NAME2(XXH_NAMESPACE, XXH64) +# define XXH64_createState XXH_NAME2(XXH_NAMESPACE, XXH64_createState) +# define XXH64_freeState XXH_NAME2(XXH_NAMESPACE, XXH64_freeState) +# define XXH64_reset XXH_NAME2(XXH_NAMESPACE, XXH64_reset) +# define XXH64_update XXH_NAME2(XXH_NAMESPACE, XXH64_update) +# define XXH64_digest XXH_NAME2(XXH_NAMESPACE, XXH64_digest) +# define XXH64_copyState XXH_NAME2(XXH_NAMESPACE, XXH64_copyState) +# define XXH64_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH64_canonicalFromHash) +# define XXH64_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH64_hashFromCanonical) +/* XXH3_64bits */ +# define XXH3_64bits XXH_NAME2(XXH_NAMESPACE, XXH3_64bits) +# define XXH3_64bits_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_withSecret) +# define XXH3_64bits_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_withSeed) +# define XXH3_createState XXH_NAME2(XXH_NAMESPACE, XXH3_createState) +# define XXH3_freeState XXH_NAME2(XXH_NAMESPACE, XXH3_freeState) +# define XXH3_copyState XXH_NAME2(XXH_NAMESPACE, XXH3_copyState) +# define XXH3_64bits_reset XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset) +# define XXH3_64bits_reset_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset_withSeed) +# define XXH3_64bits_reset_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset_withSecret) +# define XXH3_64bits_update XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_update) +# define XXH3_64bits_digest XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_digest) +# define XXH3_generateSecret XXH_NAME2(XXH_NAMESPACE, XXH3_generateSecret) +/* XXH3_128bits */ +# define XXH128 XXH_NAME2(XXH_NAMESPACE, XXH128) +# define XXH3_128bits XXH_NAME2(XXH_NAMESPACE, XXH3_128bits) +# define XXH3_128bits_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_withSeed) +# define XXH3_128bits_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_withSecret) +# define XXH3_128bits_reset XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset) +# define XXH3_128bits_reset_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset_withSeed) +# define XXH3_128bits_reset_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset_withSecret) +# define XXH3_128bits_update XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_update) +# define XXH3_128bits_digest XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_digest) +# define XXH128_isEqual XXH_NAME2(XXH_NAMESPACE, XXH128_isEqual) +# define XXH128_cmp XXH_NAME2(XXH_NAMESPACE, XXH128_cmp) +# define XXH128_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH128_canonicalFromHash) +# define XXH128_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH128_hashFromCanonical) +#endif + + +/* ************************************* +* Version +***************************************/ +#define XXH_VERSION_MAJOR 0 +#define XXH_VERSION_MINOR 8 +#define XXH_VERSION_RELEASE 0 +#define XXH_VERSION_NUMBER (XXH_VERSION_MAJOR *100*100 + XXH_VERSION_MINOR *100 + XXH_VERSION_RELEASE) + +/*! + * @brief Obtains the xxHash version. + * + * This is only useful when xxHash is compiled as a shared library, as it is + * independent of the version defined in the header. + * + * @return `XXH_VERSION_NUMBER` as of when the function was compiled. + */ +XXH_PUBLIC_API unsigned XXH_versionNumber (void); + + +/* **************************** +* Definitions +******************************/ +#include /* size_t */ +typedef enum { XXH_OK=0, XXH_ERROR } XXH_errorcode; + + +/*-********************************************************************** +* 32-bit hash +************************************************************************/ +#if defined(XXH_DOXYGEN) /* Don't show include */ +/*! + * @brief An unsigned 32-bit integer. + * + * Not necessarily defined to `uint32_t` but functionally equivalent. + */ +typedef uint32_t XXH32_hash_t; +#elif !defined (__VMS) \ + && (defined (__cplusplus) \ + || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) +# include + typedef uint32_t XXH32_hash_t; +#else +# include +# if UINT_MAX == 0xFFFFFFFFUL + typedef unsigned int XXH32_hash_t; +# else +# if ULONG_MAX == 0xFFFFFFFFUL + typedef unsigned long XXH32_hash_t; +# else +# error "unsupported platform: need a 32-bit type" +# endif +# endif +#endif + +/*! + * @} + * + * @defgroup xxh32_family XXH32 family + * @ingroup public + * Contains functions used in the classic 32-bit xxHash algorithm. + * + * @note + * XXH32 is considered rather weak by today's standards. + * The @ref xxh3_family provides competitive speed for both 32-bit and 64-bit + * systems, and offers true 64/128 bit hash results. It provides a superior + * level of dispersion, and greatly reduces the risks of collisions. + * + * @see @ref xxh64_family, @ref xxh3_family : Other xxHash families + * @see @ref xxh32_impl for implementation details + * @{ + */ + +/*! + * @brief Calculates the 32-bit hash of @p input using xxHash32. + * + * Speed on Core 2 Duo @ 3 GHz (single thread, SMHasher benchmark): 5.4 GB/s + * + * @param input The block of data to be hashed, at least @p length bytes in size. + * @param length The length of @p input, in bytes. + * @param seed The 32-bit seed to alter the hash's output predictably. + * + * @pre + * The memory between @p input and @p input + @p length must be valid, + * readable, contiguous memory. However, if @p length is `0`, @p input may be + * `NULL`. In C++, this also must be *TriviallyCopyable*. + * + * @return The calculated 32-bit hash value. + * + * @see + * XXH64(), XXH3_64bits_withSeed(), XXH3_128bits_withSeed(), XXH128(): + * Direct equivalents for the other variants of xxHash. + * @see + * XXH32_createState(), XXH32_update(), XXH32_digest(): Streaming version. + */ +XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, XXH32_hash_t seed); + +/*! + * Streaming functions generate the xxHash value from an incremental input. + * This method is slower than single-call functions, due to state management. + * For small inputs, prefer `XXH32()` and `XXH64()`, which are better optimized. + * + * An XXH state must first be allocated using `XXH*_createState()`. + * + * Start a new hash by initializing the state with a seed using `XXH*_reset()`. + * + * Then, feed the hash state by calling `XXH*_update()` as many times as necessary. + * + * The function returns an error code, with 0 meaning OK, and any other value + * meaning there is an error. + * + * Finally, a hash value can be produced anytime, by using `XXH*_digest()`. + * This function returns the nn-bits hash as an int or long long. + * + * It's still possible to continue inserting input into the hash state after a + * digest, and generate new hash values later on by invoking `XXH*_digest()`. + * + * When done, release the state using `XXH*_freeState()`. + * + * Example code for incrementally hashing a file: + * @code{.c} + * #include + * #include + * #define BUFFER_SIZE 256 + * + * // Note: XXH64 and XXH3 use the same interface. + * XXH32_hash_t + * hashFile(FILE* stream) + * { + * XXH32_state_t* state; + * unsigned char buf[BUFFER_SIZE]; + * size_t amt; + * XXH32_hash_t hash; + * + * state = XXH32_createState(); // Create a state + * assert(state != NULL); // Error check here + * XXH32_reset(state, 0xbaad5eed); // Reset state with our seed + * while ((amt = fread(buf, 1, sizeof(buf), stream)) != 0) { + * XXH32_update(state, buf, amt); // Hash the file in chunks + * } + * hash = XXH32_digest(state); // Finalize the hash + * XXH32_freeState(state); // Clean up + * return hash; + * } + * @endcode + */ + +/*! + * @typedef struct XXH32_state_s XXH32_state_t + * @brief The opaque state struct for the XXH32 streaming API. + * + * @see XXH32_state_s for details. + */ +typedef struct XXH32_state_s XXH32_state_t; + +/*! + * @brief Allocates an @ref XXH32_state_t. + * + * Must be freed with XXH32_freeState(). + * @return An allocated XXH32_state_t on success, `NULL` on failure. + */ +XXH_PUBLIC_API XXH32_state_t* XXH32_createState(void); +/*! + * @brief Frees an @ref XXH32_state_t. + * + * Must be allocated with XXH32_createState(). + * @param statePtr A pointer to an @ref XXH32_state_t allocated with @ref XXH32_createState(). + * @return XXH_OK. + */ +XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr); +/*! + * @brief Copies one @ref XXH32_state_t to another. + * + * @param dst_state The state to copy to. + * @param src_state The state to copy from. + * @pre + * @p dst_state and @p src_state must not be `NULL` and must not overlap. + */ +XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* dst_state, const XXH32_state_t* src_state); + +/*! + * @brief Resets an @ref XXH32_state_t to begin a new hash. + * + * This function resets and seeds a state. Call it before @ref XXH32_update(). + * + * @param statePtr The state struct to reset. + * @param seed The 32-bit seed to alter the hash result predictably. + * + * @pre + * @p statePtr must not be `NULL`. + * + * @return @ref XXH_OK on success, @ref XXH_ERROR on failure. + */ +XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, XXH32_hash_t seed); + +/*! + * @brief Consumes a block of @p input to an @ref XXH32_state_t. + * + * Call this to incrementally consume blocks of data. + * + * @param statePtr The state struct to update. + * @param input The block of data to be hashed, at least @p length bytes in size. + * @param length The length of @p input, in bytes. + * + * @pre + * @p statePtr must not be `NULL`. + * @pre + * The memory between @p input and @p input + @p length must be valid, + * readable, contiguous memory. However, if @p length is `0`, @p input may be + * `NULL`. In C++, this also must be *TriviallyCopyable*. + * + * @return @ref XXH_OK on success, @ref XXH_ERROR on failure. + */ +XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t length); + +/*! + * @brief Returns the calculated hash value from an @ref XXH32_state_t. + * + * @note + * Calling XXH32_digest() will not affect @p statePtr, so you can update, + * digest, and update again. + * + * @param statePtr The state struct to calculate the hash from. + * + * @pre + * @p statePtr must not be `NULL`. + * + * @return The calculated xxHash32 value from that state. + */ +XXH_PUBLIC_API XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr); + +/******* Canonical representation *******/ + +/* + * The default return values from XXH functions are unsigned 32 and 64 bit + * integers. + * This the simplest and fastest format for further post-processing. + * + * However, this leaves open the question of what is the order on the byte level, + * since little and big endian conventions will store the same number differently. + * + * The canonical representation settles this issue by mandating big-endian + * convention, the same convention as human-readable numbers (large digits first). + * + * When writing hash values to storage, sending them over a network, or printing + * them, it's highly recommended to use the canonical representation to ensure + * portability across a wider range of systems, present and future. + * + * The following functions allow transformation of hash values to and from + * canonical format. + */ + +/*! + * @brief Canonical (big endian) representation of @ref XXH32_hash_t. + */ +typedef struct { + unsigned char digest[4]; /*!< Hash bytes, big endian */ +} XXH32_canonical_t; + +/*! + * @brief Converts an @ref XXH32_hash_t to a big endian @ref XXH32_canonical_t. + * + * @param dst The @ref XXH32_canonical_t pointer to be stored to. + * @param hash The @ref XXH32_hash_t to be converted. + * + * @pre + * @p dst must not be `NULL`. + */ +XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash); + +/*! + * @brief Converts an @ref XXH32_canonical_t to a native @ref XXH32_hash_t. + * + * @param src The @ref XXH32_canonical_t to convert. + * + * @pre + * @p src must not be `NULL`. + * + * @return The converted hash. + */ +XXH_PUBLIC_API XXH32_hash_t XXH32_hashFromCanonical(const XXH32_canonical_t* src); + + +/*! + * @} + * @ingroup public + * @{ + */ + +#ifndef XXH_NO_LONG_LONG +/*-********************************************************************** +* 64-bit hash +************************************************************************/ +#if defined(XXH_DOXYGEN) /* don't include */ +/*! + * @brief An unsigned 64-bit integer. + * + * Not necessarily defined to `uint64_t` but functionally equivalent. + */ +typedef uint64_t XXH64_hash_t; +#elif !defined (__VMS) \ + && (defined (__cplusplus) \ + || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) +# include + typedef uint64_t XXH64_hash_t; +#else +# include +# if defined(__LP64__) && ULONG_MAX == 0xFFFFFFFFFFFFFFFFULL + /* LP64 ABI says uint64_t is unsigned long */ + typedef unsigned long XXH64_hash_t; +# else + /* the following type must have a width of 64-bit */ + typedef unsigned long long XXH64_hash_t; +# endif +#endif + +/*! + * @} + * + * @defgroup xxh64_family XXH64 family + * @ingroup public + * @{ + * Contains functions used in the classic 64-bit xxHash algorithm. + * + * @note + * XXH3 provides competitive speed for both 32-bit and 64-bit systems, + * and offers true 64/128 bit hash results. It provides a superior level of + * dispersion, and greatly reduces the risks of collisions. + */ + + +/*! + * @brief Calculates the 64-bit hash of @p input using xxHash64. + * + * This function usually runs faster on 64-bit systems, but slower on 32-bit + * systems (see benchmark). + * + * @param input The block of data to be hashed, at least @p length bytes in size. + * @param length The length of @p input, in bytes. + * @param seed The 64-bit seed to alter the hash's output predictably. + * + * @pre + * The memory between @p input and @p input + @p length must be valid, + * readable, contiguous memory. However, if @p length is `0`, @p input may be + * `NULL`. In C++, this also must be *TriviallyCopyable*. + * + * @return The calculated 64-bit hash. + * + * @see + * XXH32(), XXH3_64bits_withSeed(), XXH3_128bits_withSeed(), XXH128(): + * Direct equivalents for the other variants of xxHash. + * @see + * XXH64_createState(), XXH64_update(), XXH64_digest(): Streaming version. + */ +XXH_PUBLIC_API XXH64_hash_t XXH64(const void* input, size_t length, XXH64_hash_t seed); + +/******* Streaming *******/ +/*! + * @brief The opaque state struct for the XXH64 streaming API. + * + * @see XXH64_state_s for details. + */ +typedef struct XXH64_state_s XXH64_state_t; /* incomplete type */ +XXH_PUBLIC_API XXH64_state_t* XXH64_createState(void); +XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr); +XXH_PUBLIC_API void XXH64_copyState(XXH64_state_t* dst_state, const XXH64_state_t* src_state); + +XXH_PUBLIC_API XXH_errorcode XXH64_reset (XXH64_state_t* statePtr, XXH64_hash_t seed); +XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t length); +XXH_PUBLIC_API XXH64_hash_t XXH64_digest (const XXH64_state_t* statePtr); + +/******* Canonical representation *******/ +typedef struct { unsigned char digest[sizeof(XXH64_hash_t)]; } XXH64_canonical_t; +XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash); +XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src); + +/*! + * @} + * ************************************************************************ + * @defgroup xxh3_family XXH3 family + * @ingroup public + * @{ + * + * XXH3 is a more recent hash algorithm featuring: + * - Improved speed for both small and large inputs + * - True 64-bit and 128-bit outputs + * - SIMD acceleration + * - Improved 32-bit viability + * + * Speed analysis methodology is explained here: + * + * https://fastcompression.blogspot.com/2019/03/presenting-xxh3.html + * + * Compared to XXH64, expect XXH3 to run approximately + * ~2x faster on large inputs and >3x faster on small ones, + * exact differences vary depending on platform. + * + * XXH3's speed benefits greatly from SIMD and 64-bit arithmetic, + * but does not require it. + * Any 32-bit and 64-bit targets that can run XXH32 smoothly + * can run XXH3 at competitive speeds, even without vector support. + * Further details are explained in the implementation. + * + * Optimized implementations are provided for AVX512, AVX2, SSE2, NEON, POWER8, + * ZVector and scalar targets. This can be controlled via the XXH_VECTOR macro. + * + * XXH3 implementation is portable: + * it has a generic C90 formulation that can be compiled on any platform, + * all implementations generage exactly the same hash value on all platforms. + * Starting from v0.8.0, it's also labelled "stable", meaning that + * any future version will also generate the same hash value. + * + * XXH3 offers 2 variants, _64bits and _128bits. + * + * When only 64 bits are needed, prefer invoking the _64bits variant, as it + * reduces the amount of mixing, resulting in faster speed on small inputs. + * It's also generally simpler to manipulate a scalar return type than a struct. + * + * The API supports one-shot hashing, streaming mode, and custom secrets. + */ + +/*-********************************************************************** +* XXH3 64-bit variant +************************************************************************/ + +/* XXH3_64bits(): + * default 64-bit variant, using default secret and default seed of 0. + * It's the fastest variant. */ +XXH_PUBLIC_API XXH64_hash_t XXH3_64bits(const void* data, size_t len); + +/* + * XXH3_64bits_withSeed(): + * This variant generates a custom secret on the fly + * based on default secret altered using the `seed` value. + * While this operation is decently fast, note that it's not completely free. + * Note: seed==0 produces the same results as XXH3_64bits(). + */ +XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_withSeed(const void* data, size_t len, XXH64_hash_t seed); + +/*! + * The bare minimum size for a custom secret. + * + * @see + * XXH3_64bits_withSecret(), XXH3_64bits_reset_withSecret(), + * XXH3_128bits_withSecret(), XXH3_128bits_reset_withSecret(). + */ +#define XXH3_SECRET_SIZE_MIN 136 + +/* + * XXH3_64bits_withSecret(): + * It's possible to provide any blob of bytes as a "secret" to generate the hash. + * This makes it more difficult for an external actor to prepare an intentional collision. + * The main condition is that secretSize *must* be large enough (>= XXH3_SECRET_SIZE_MIN). + * However, the quality of produced hash values depends on secret's entropy. + * Technically, the secret must look like a bunch of random bytes. + * Avoid "trivial" or structured data such as repeated sequences or a text document. + * Whenever unsure about the "randomness" of the blob of bytes, + * consider relabelling it as a "custom seed" instead, + * and employ "XXH3_generateSecret()" (see below) + * to generate a high entropy secret derived from the custom seed. + */ +XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_withSecret(const void* data, size_t len, const void* secret, size_t secretSize); + + +/******* Streaming *******/ +/* + * Streaming requires state maintenance. + * This operation costs memory and CPU. + * As a consequence, streaming is slower than one-shot hashing. + * For better performance, prefer one-shot functions whenever applicable. + */ + +/*! + * @brief The state struct for the XXH3 streaming API. + * + * @see XXH3_state_s for details. + */ +typedef struct XXH3_state_s XXH3_state_t; +XXH_PUBLIC_API XXH3_state_t* XXH3_createState(void); +XXH_PUBLIC_API XXH_errorcode XXH3_freeState(XXH3_state_t* statePtr); +XXH_PUBLIC_API void XXH3_copyState(XXH3_state_t* dst_state, const XXH3_state_t* src_state); + +/* + * XXH3_64bits_reset(): + * Initialize with default parameters. + * digest will be equivalent to `XXH3_64bits()`. + */ +XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset(XXH3_state_t* statePtr); +/* + * XXH3_64bits_reset_withSeed(): + * Generate a custom secret from `seed`, and store it into `statePtr`. + * digest will be equivalent to `XXH3_64bits_withSeed()`. + */ +XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed); +/* + * XXH3_64bits_reset_withSecret(): + * `secret` is referenced, it _must outlive_ the hash streaming session. + * Similar to one-shot API, `secretSize` must be >= `XXH3_SECRET_SIZE_MIN`, + * and the quality of produced hash values depends on secret's entropy + * (secret's content should look like a bunch of random bytes). + * When in doubt about the randomness of a candidate `secret`, + * consider employing `XXH3_generateSecret()` instead (see below). + */ +XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize); + +XXH_PUBLIC_API XXH_errorcode XXH3_64bits_update (XXH3_state_t* statePtr, const void* input, size_t length); +XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_digest (const XXH3_state_t* statePtr); + +/* note : canonical representation of XXH3 is the same as XXH64 + * since they both produce XXH64_hash_t values */ + + +/*-********************************************************************** +* XXH3 128-bit variant +************************************************************************/ + +/*! + * @brief The return value from 128-bit hashes. + * + * Stored in little endian order, although the fields themselves are in native + * endianness. + */ +typedef struct { + XXH64_hash_t low64; /*!< `value & 0xFFFFFFFFFFFFFFFF` */ + XXH64_hash_t high64; /*!< `value >> 64` */ +} XXH128_hash_t; + +XXH_PUBLIC_API XXH128_hash_t XXH3_128bits(const void* data, size_t len); +XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSeed(const void* data, size_t len, XXH64_hash_t seed); +XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSecret(const void* data, size_t len, const void* secret, size_t secretSize); + +/******* Streaming *******/ +/* + * Streaming requires state maintenance. + * This operation costs memory and CPU. + * As a consequence, streaming is slower than one-shot hashing. + * For better performance, prefer one-shot functions whenever applicable. + * + * XXH3_128bits uses the same XXH3_state_t as XXH3_64bits(). + * Use already declared XXH3_createState() and XXH3_freeState(). + * + * All reset and streaming functions have same meaning as their 64-bit counterpart. + */ + +XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset(XXH3_state_t* statePtr); +XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed); +XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize); + +XXH_PUBLIC_API XXH_errorcode XXH3_128bits_update (XXH3_state_t* statePtr, const void* input, size_t length); +XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_digest (const XXH3_state_t* statePtr); + +/* Following helper functions make it possible to compare XXH128_hast_t values. + * Since XXH128_hash_t is a structure, this capability is not offered by the language. + * Note: For better performance, these functions can be inlined using XXH_INLINE_ALL */ + +/*! + * XXH128_isEqual(): + * Return: 1 if `h1` and `h2` are equal, 0 if they are not. + */ +XXH_PUBLIC_API int XXH128_isEqual(XXH128_hash_t h1, XXH128_hash_t h2); + +/*! + * XXH128_cmp(): + * + * This comparator is compatible with stdlib's `qsort()`/`bsearch()`. + * + * return: >0 if *h128_1 > *h128_2 + * =0 if *h128_1 == *h128_2 + * <0 if *h128_1 < *h128_2 + */ +XXH_PUBLIC_API int XXH128_cmp(const void* h128_1, const void* h128_2); + + +/******* Canonical representation *******/ +typedef struct { unsigned char digest[sizeof(XXH128_hash_t)]; } XXH128_canonical_t; +XXH_PUBLIC_API void XXH128_canonicalFromHash(XXH128_canonical_t* dst, XXH128_hash_t hash); +XXH_PUBLIC_API XXH128_hash_t XXH128_hashFromCanonical(const XXH128_canonical_t* src); + + +#endif /* XXH_NO_LONG_LONG */ + +/*! + * @} + */ +#endif /* XXHASH_H_5627135585666179 */ + + + +#if defined(XXH_STATIC_LINKING_ONLY) && !defined(XXHASH_H_STATIC_13879238742) +#define XXHASH_H_STATIC_13879238742 +/* **************************************************************************** + * This section contains declarations which are not guaranteed to remain stable. + * They may change in future versions, becoming incompatible with a different + * version of the library. + * These declarations should only be used with static linking. + * Never use them in association with dynamic linking! + ***************************************************************************** */ + +/* + * These definitions are only present to allow static allocation + * of XXH states, on stack or in a struct, for example. + * Never **ever** access their members directly. + */ + +/*! + * @internal + * @brief Structure for XXH32 streaming API. + * + * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY, + * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is + * an opaque type. This allows fields to safely be changed. + * + * Typedef'd to @ref XXH32_state_t. + * Do not access the members of this struct directly. + * @see XXH64_state_s, XXH3_state_s + */ +struct XXH32_state_s { + XXH32_hash_t total_len_32; /*!< Total length hashed, modulo 2^32 */ + XXH32_hash_t large_len; /*!< Whether the hash is >= 16 (handles @ref total_len_32 overflow) */ + XXH32_hash_t v1; /*!< First accumulator lane */ + XXH32_hash_t v2; /*!< Second accumulator lane */ + XXH32_hash_t v3; /*!< Third accumulator lane */ + XXH32_hash_t v4; /*!< Fourth accumulator lane */ + XXH32_hash_t mem32[4]; /*!< Internal buffer for partial reads. Treated as unsigned char[16]. */ + XXH32_hash_t memsize; /*!< Amount of data in @ref mem32 */ + XXH32_hash_t reserved; /*!< Reserved field. Do not read or write to it, it may be removed. */ +}; /* typedef'd to XXH32_state_t */ + + +#ifndef XXH_NO_LONG_LONG /* defined when there is no 64-bit support */ + +/*! + * @internal + * @brief Structure for XXH64 streaming API. + * + * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY, + * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is + * an opaque type. This allows fields to safely be changed. + * + * Typedef'd to @ref XXH64_state_t. + * Do not access the members of this struct directly. + * @see XXH32_state_s, XXH3_state_s + */ +struct XXH64_state_s { + XXH64_hash_t total_len; /*!< Total length hashed. This is always 64-bit. */ + XXH64_hash_t v1; /*!< First accumulator lane */ + XXH64_hash_t v2; /*!< Second accumulator lane */ + XXH64_hash_t v3; /*!< Third accumulator lane */ + XXH64_hash_t v4; /*!< Fourth accumulator lane */ + XXH64_hash_t mem64[4]; /*!< Internal buffer for partial reads. Treated as unsigned char[32]. */ + XXH32_hash_t memsize; /*!< Amount of data in @ref mem64 */ + XXH32_hash_t reserved32; /*!< Reserved field, needed for padding anyways*/ + XXH64_hash_t reserved64; /*!< Reserved field. Do not read or write to it, it may be removed. */ +}; /* typedef'd to XXH64_state_t */ + +#if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11+ */ +# include +# define XXH_ALIGN(n) alignas(n) +#elif defined(__GNUC__) +# define XXH_ALIGN(n) __attribute__ ((aligned(n))) +#elif defined(_MSC_VER) +# define XXH_ALIGN(n) __declspec(align(n)) +#else +# define XXH_ALIGN(n) /* disabled */ +#endif + +/* Old GCC versions only accept the attribute after the type in structures. */ +#if !(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) /* C11+ */ \ + && defined(__GNUC__) +# define XXH_ALIGN_MEMBER(align, type) type XXH_ALIGN(align) +#else +# define XXH_ALIGN_MEMBER(align, type) XXH_ALIGN(align) type +#endif + +/*! + * @brief The size of the internal XXH3 buffer. + * + * This is the optimal update size for incremental hashing. + * + * @see XXH3_64b_update(), XXH3_128b_update(). + */ +#define XXH3_INTERNALBUFFER_SIZE 256 + +/*! + * @brief Default size of the secret buffer (and @ref XXH3_kSecret). + * + * This is the size used in @ref XXH3_kSecret and the seeded functions. + * + * Not to be confused with @ref XXH3_SECRET_SIZE_MIN. + */ +#define XXH3_SECRET_DEFAULT_SIZE 192 + +/*! + * @internal + * @brief Structure for XXH3 streaming API. + * + * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY, + * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is + * an opaque type. This allows fields to safely be changed. + * + * @note **This structure has a strict alignment requirement of 64 bytes.** Do + * not allocate this with `malloc()` or `new`, it will not be sufficiently + * aligned. Use @ref XXH3_createState() and @ref XXH3_freeState(), or stack + * allocation. + * + * Typedef'd to @ref XXH3_state_t. + * Do not access the members of this struct directly. + * + * @see XXH3_INITSTATE() for stack initialization. + * @see XXH3_createState(), XXH3_freeState(). + * @see XXH32_state_s, XXH64_state_s + */ +struct XXH3_state_s { + XXH_ALIGN_MEMBER(64, XXH64_hash_t acc[8]); + /*!< The 8 accumulators. Similar to `vN` in @ref XXH32_state_s::v1 and @ref XXH64_state_s */ + XXH_ALIGN_MEMBER(64, unsigned char customSecret[XXH3_SECRET_DEFAULT_SIZE]); + /*!< Used to store a custom secret generated from a seed. */ + XXH_ALIGN_MEMBER(64, unsigned char buffer[XXH3_INTERNALBUFFER_SIZE]); + /*!< The internal buffer. @see XXH32_state_s::mem32 */ + XXH32_hash_t bufferedSize; + /*!< The amount of memory in @ref buffer, @see XXH32_state_s::memsize */ + XXH32_hash_t reserved32; + /*!< Reserved field. Needed for padding on 64-bit. */ + size_t nbStripesSoFar; + /*!< Number or stripes processed. */ + XXH64_hash_t totalLen; + /*!< Total length hashed. 64-bit even on 32-bit targets. */ + size_t nbStripesPerBlock; + /*!< Number of stripes per block. */ + size_t secretLimit; + /*!< Size of @ref customSecret or @ref extSecret */ + XXH64_hash_t seed; + /*!< Seed for _withSeed variants. Must be zero otherwise, @see XXH3_INITSTATE() */ + XXH64_hash_t reserved64; + /*!< Reserved field. */ + const unsigned char* extSecret; + /*!< Reference to an external secret for the _withSecret variants, NULL + * for other variants. */ + /* note: there may be some padding at the end due to alignment on 64 bytes */ +}; /* typedef'd to XXH3_state_t */ + +#undef XXH_ALIGN_MEMBER + +/*! + * @brief Initializes a stack-allocated `XXH3_state_s`. + * + * When the @ref XXH3_state_t structure is merely emplaced on stack, + * it should be initialized with XXH3_INITSTATE() or a memset() + * in case its first reset uses XXH3_NNbits_reset_withSeed(). + * This init can be omitted if the first reset uses default or _withSecret mode. + * This operation isn't necessary when the state is created with XXH3_createState(). + * Note that this doesn't prepare the state for a streaming operation, + * it's still necessary to use XXH3_NNbits_reset*() afterwards. + */ +#define XXH3_INITSTATE(XXH3_state_ptr) { (XXH3_state_ptr)->seed = 0; } + + +/* === Experimental API === */ +/* Symbols defined below must be considered tied to a specific library version. */ + +/* + * XXH3_generateSecret(): + * + * Derive a high-entropy secret from any user-defined content, named customSeed. + * The generated secret can be used in combination with `*_withSecret()` functions. + * The `_withSecret()` variants are useful to provide a higher level of protection than 64-bit seed, + * as it becomes much more difficult for an external actor to guess how to impact the calculation logic. + * + * The function accepts as input a custom seed of any length and any content, + * and derives from it a high-entropy secret of length XXH3_SECRET_DEFAULT_SIZE + * into an already allocated buffer secretBuffer. + * The generated secret is _always_ XXH_SECRET_DEFAULT_SIZE bytes long. + * + * The generated secret can then be used with any `*_withSecret()` variant. + * Functions `XXH3_128bits_withSecret()`, `XXH3_64bits_withSecret()`, + * `XXH3_128bits_reset_withSecret()` and `XXH3_64bits_reset_withSecret()` + * are part of this list. They all accept a `secret` parameter + * which must be very long for implementation reasons (>= XXH3_SECRET_SIZE_MIN) + * _and_ feature very high entropy (consist of random-looking bytes). + * These conditions can be a high bar to meet, so + * this function can be used to generate a secret of proper quality. + * + * customSeed can be anything. It can have any size, even small ones, + * and its content can be anything, even stupidly "low entropy" source such as a bunch of zeroes. + * The resulting `secret` will nonetheless provide all expected qualities. + * + * Supplying NULL as the customSeed copies the default secret into `secretBuffer`. + * When customSeedSize > 0, supplying NULL as customSeed is undefined behavior. + */ +XXH_PUBLIC_API void XXH3_generateSecret(void* secretBuffer, const void* customSeed, size_t customSeedSize); + + +/* simple short-cut to pre-selected XXH3_128bits variant */ +XXH_PUBLIC_API XXH128_hash_t XXH128(const void* data, size_t len, XXH64_hash_t seed); + + +#endif /* XXH_NO_LONG_LONG */ +#if defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API) +# define XXH_IMPLEMENTATION +#endif + +#endif /* defined(XXH_STATIC_LINKING_ONLY) && !defined(XXHASH_H_STATIC_13879238742) */ + + +/* ======================================================================== */ +/* ======================================================================== */ +/* ======================================================================== */ + + +/*-********************************************************************** + * xxHash implementation + *-********************************************************************** + * xxHash's implementation used to be hosted inside xxhash.c. + * + * However, inlining requires implementation to be visible to the compiler, + * hence be included alongside the header. + * Previously, implementation was hosted inside xxhash.c, + * which was then #included when inlining was activated. + * This construction created issues with a few build and install systems, + * as it required xxhash.c to be stored in /include directory. + * + * xxHash implementation is now directly integrated within xxhash.h. + * As a consequence, xxhash.c is no longer needed in /include. + * + * xxhash.c is still available and is still useful. + * In a "normal" setup, when xxhash is not inlined, + * xxhash.h only exposes the prototypes and public symbols, + * while xxhash.c can be built into an object file xxhash.o + * which can then be linked into the final binary. + ************************************************************************/ + +#if ( defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API) \ + || defined(XXH_IMPLEMENTATION) ) && !defined(XXH_IMPLEM_13a8737387) +# define XXH_IMPLEM_13a8737387 + +/* ************************************* +* Tuning parameters +***************************************/ + +/*! + * @defgroup tuning Tuning parameters + * @{ + * + * Various macros to control xxHash's behavior. + */ +#ifdef XXH_DOXYGEN +/*! + * @brief Define this to disable 64-bit code. + * + * Useful if only using the @ref xxh32_family and you have a strict C90 compiler. + */ +# define XXH_NO_LONG_LONG +# undef XXH_NO_LONG_LONG /* don't actually */ +/*! + * @brief Controls how unaligned memory is accessed. + * + * By default, access to unaligned memory is controlled by `memcpy()`, which is + * safe and portable. + * + * Unfortunately, on some target/compiler combinations, the generated assembly + * is sub-optimal. + * + * The below switch allow selection of a different access method + * in the search for improved performance. + * + * @par Possible options: + * + * - `XXH_FORCE_MEMORY_ACCESS=0` (default): `memcpy` + * @par + * Use `memcpy()`. Safe and portable. Note that most modern compilers will + * eliminate the function call and treat it as an unaligned access. + * + * - `XXH_FORCE_MEMORY_ACCESS=1`: `__attribute__((packed))` + * @par + * Depends on compiler extensions and is therefore not portable. + * This method is safe _if_ your compiler supports it, + * and *generally* as fast or faster than `memcpy`. + * + * - `XXH_FORCE_MEMORY_ACCESS=2`: Direct cast + * @par + * Casts directly and dereferences. This method doesn't depend on the + * compiler, but it violates the C standard as it directly dereferences an + * unaligned pointer. It can generate buggy code on targets which do not + * support unaligned memory accesses, but in some circumstances, it's the + * only known way to get the most performance. + * + * - `XXH_FORCE_MEMORY_ACCESS=3`: Byteshift + * @par + * Also portable. This can generate the best code on old compilers which don't + * inline small `memcpy()` calls, and it might also be faster on big-endian + * systems which lack a native byteswap instruction. However, some compilers + * will emit literal byteshifts even if the target supports unaligned access. + * . + * + * @warning + * Methods 1 and 2 rely on implementation-defined behavior. Use these with + * care, as what works on one compiler/platform/optimization level may cause + * another to read garbage data or even crash. + * + * See https://stackoverflow.com/a/32095106/646947 for details. + * + * Prefer these methods in priority order (0 > 3 > 1 > 2) + */ +# define XXH_FORCE_MEMORY_ACCESS 0 +/*! + * @def XXH_ACCEPT_NULL_INPUT_POINTER + * @brief Whether to add explicit `NULL` checks. + * + * If the input pointer is `NULL` and the length is non-zero, xxHash's default + * behavior is to dereference it, triggering a segfault. + * + * When this macro is enabled, xxHash actively checks the input for a null pointer. + * If it is, the result for null input pointers is the same as a zero-length input. + */ +# define XXH_ACCEPT_NULL_INPUT_POINTER 0 +/*! + * @def XXH_FORCE_ALIGN_CHECK + * @brief If defined to non-zero, adds a special path for aligned inputs (XXH32() + * and XXH64() only). + * + * This is an important performance trick for architectures without decent + * unaligned memory access performance. + * + * It checks for input alignment, and when conditions are met, uses a "fast + * path" employing direct 32-bit/64-bit reads, resulting in _dramatically + * faster_ read speed. + * + * The check costs one initial branch per hash, which is generally negligible, + * but not zero. + * + * Moreover, it's not useful to generate an additional code path if memory + * access uses the same instruction for both aligned and unaligned + * addresses (e.g. x86 and aarch64). + * + * In these cases, the alignment check can be removed by setting this macro to 0. + * Then the code will always use unaligned memory access. + * Align check is automatically disabled on x86, x64 & arm64, + * which are platforms known to offer good unaligned memory accesses performance. + * + * This option does not affect XXH3 (only XXH32 and XXH64). + */ +# define XXH_FORCE_ALIGN_CHECK 0 + +/*! + * @def XXH_NO_INLINE_HINTS + * @brief When non-zero, sets all functions to `static`. + * + * By default, xxHash tries to force the compiler to inline almost all internal + * functions. + * + * This can usually improve performance due to reduced jumping and improved + * constant folding, but significantly increases the size of the binary which + * might not be favorable. + * + * Additionally, sometimes the forced inlining can be detrimental to performance, + * depending on the architecture. + * + * XXH_NO_INLINE_HINTS marks all internal functions as static, giving the + * compiler full control on whether to inline or not. + * + * When not optimizing (-O0), optimizing for size (-Os, -Oz), or using + * -fno-inline with GCC or Clang, this will automatically be defined. + */ +# define XXH_NO_INLINE_HINTS 0 + +/*! + * @def XXH_REROLL + * @brief Whether to reroll `XXH32_finalize` and `XXH64_finalize`. + * + * For performance, `XXH32_finalize` and `XXH64_finalize` use an unrolled loop + * in the form of a switch statement. + * + * This is not always desirable, as it generates larger code, and depending on + * the architecture, may even be slower + * + * This is automatically defined with `-Os`/`-Oz` on GCC and Clang. + */ +# define XXH_REROLL 0 + +/*! + * @internal + * @brief Redefines old internal names. + * + * For compatibility with code that uses xxHash's internals before the names + * were changed to improve namespacing. There is no other reason to use this. + */ +# define XXH_OLD_NAMES +# undef XXH_OLD_NAMES /* don't actually use, it is ugly. */ +#endif /* XXH_DOXYGEN */ +/*! + * @} + */ + +#ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ + /* prefer __packed__ structures (method 1) for gcc on armv7 and armv8 */ +# if !defined(__clang__) && ( \ + (defined(__INTEL_COMPILER) && !defined(_WIN32)) || \ + (defined(__GNUC__) && (defined(__ARM_ARCH) && __ARM_ARCH >= 7)) ) +# define XXH_FORCE_MEMORY_ACCESS 1 +# endif +#endif + +#ifndef XXH_ACCEPT_NULL_INPUT_POINTER /* can be defined externally */ +# define XXH_ACCEPT_NULL_INPUT_POINTER 0 +#endif + +#ifndef XXH_FORCE_ALIGN_CHECK /* can be defined externally */ +# if defined(__i386) || defined(__x86_64__) || defined(__aarch64__) \ + || defined(_M_IX86) || defined(_M_X64) || defined(_M_ARM64) /* visual */ +# define XXH_FORCE_ALIGN_CHECK 0 +# else +# define XXH_FORCE_ALIGN_CHECK 1 +# endif +#endif + +#ifndef XXH_NO_INLINE_HINTS +# if defined(__OPTIMIZE_SIZE__) /* -Os, -Oz */ \ + || defined(__NO_INLINE__) /* -O0, -fno-inline */ +# define XXH_NO_INLINE_HINTS 1 +# else +# define XXH_NO_INLINE_HINTS 0 +# endif +#endif + +#ifndef XXH_REROLL +# if defined(__OPTIMIZE_SIZE__) +# define XXH_REROLL 1 +# else +# define XXH_REROLL 0 +# endif +#endif + +/*! + * @defgroup impl Implementation + * @{ + */ + + +/* ************************************* +* Includes & Memory related functions +***************************************/ +/* + * Modify the local functions below should you wish to use + * different memory routines for malloc() and free() + */ +#include + +/*! + * @internal + * @brief Modify this function to use a different routine than malloc(). + */ +static void* XXH_malloc(size_t s) { return malloc(s); } + +/*! + * @internal + * @brief Modify this function to use a different routine than free(). + */ +static void XXH_free(void* p) { free(p); } + +#include + +/*! + * @internal + * @brief Modify this function to use a different routine than memcpy(). + */ +static void* XXH_memcpy(void* dest, const void* src, size_t size) +{ + return memcpy(dest,src,size); +} + +#include /* ULLONG_MAX */ + + +/* ************************************* +* Compiler Specific Options +***************************************/ +#ifdef _MSC_VER /* Visual Studio warning fix */ +# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */ +#endif + +#if XXH_NO_INLINE_HINTS /* disable inlining hints */ +# if defined(__GNUC__) +# define XXH_FORCE_INLINE static __attribute__((unused)) +# else +# define XXH_FORCE_INLINE static +# endif +# define XXH_NO_INLINE static +/* enable inlining hints */ +#elif defined(_MSC_VER) /* Visual Studio */ +# define XXH_FORCE_INLINE static __forceinline +# define XXH_NO_INLINE static __declspec(noinline) +#elif defined(__GNUC__) +# define XXH_FORCE_INLINE static __inline__ __attribute__((always_inline, unused)) +# define XXH_NO_INLINE static __attribute__((noinline)) +#elif defined (__cplusplus) \ + || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) /* C99 */ +# define XXH_FORCE_INLINE static inline +# define XXH_NO_INLINE static +#else +# define XXH_FORCE_INLINE static +# define XXH_NO_INLINE static +#endif + + + +/* ************************************* +* Debug +***************************************/ +/*! + * @ingroup tuning + * @def XXH_DEBUGLEVEL + * @brief Sets the debugging level. + * + * XXH_DEBUGLEVEL is expected to be defined externally, typically via the + * compiler's command line options. The value must be a number. + */ +#ifndef XXH_DEBUGLEVEL +# ifdef DEBUGLEVEL /* backwards compat */ +# define XXH_DEBUGLEVEL DEBUGLEVEL +# else +# define XXH_DEBUGLEVEL 0 +# endif +#endif + +#if (XXH_DEBUGLEVEL>=1) +# include /* note: can still be disabled with NDEBUG */ +# define XXH_ASSERT(c) assert(c) +#else +# define XXH_ASSERT(c) ((void)0) +#endif + +/* note: use after variable declarations */ +#define XXH_STATIC_ASSERT(c) do { enum { XXH_sa = 1/(int)(!!(c)) }; } while (0) + + +/* ************************************* +* Basic Types +***************************************/ +#if !defined (__VMS) \ + && (defined (__cplusplus) \ + || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) +# include + typedef uint8_t xxh_u8; +#else + typedef unsigned char xxh_u8; +#endif +typedef XXH32_hash_t xxh_u32; + +#ifdef XXH_OLD_NAMES +# define BYTE xxh_u8 +# define U8 xxh_u8 +# define U32 xxh_u32 +#endif + +/* *** Memory access *** */ + +/*! + * @internal + * @fn xxh_u32 XXH_read32(const void* ptr) + * @brief Reads an unaligned 32-bit integer from @p ptr in native endianness. + * + * Affected by @ref XXH_FORCE_MEMORY_ACCESS. + * + * @param ptr The pointer to read from. + * @return The 32-bit native endian integer from the bytes at @p ptr. + */ + +/*! + * @internal + * @fn xxh_u32 XXH_readLE32(const void* ptr) + * @brief Reads an unaligned 32-bit little endian integer from @p ptr. + * + * Affected by @ref XXH_FORCE_MEMORY_ACCESS. + * + * @param ptr The pointer to read from. + * @return The 32-bit little endian integer from the bytes at @p ptr. + */ + +/*! + * @internal + * @fn xxh_u32 XXH_readBE32(const void* ptr) + * @brief Reads an unaligned 32-bit big endian integer from @p ptr. + * + * Affected by @ref XXH_FORCE_MEMORY_ACCESS. + * + * @param ptr The pointer to read from. + * @return The 32-bit big endian integer from the bytes at @p ptr. + */ + +/*! + * @internal + * @fn xxh_u32 XXH_readLE32_align(const void* ptr, XXH_alignment align) + * @brief Like @ref XXH_readLE32(), but has an option for aligned reads. + * + * Affected by @ref XXH_FORCE_MEMORY_ACCESS. + * Note that when @ref XXH_FORCE_ALIGN_CHECK == 0, the @p align parameter is + * always @ref XXH_alignment::XXH_unaligned. + * + * @param ptr The pointer to read from. + * @param align Whether @p ptr is aligned. + * @pre + * If @p align == @ref XXH_alignment::XXH_aligned, @p ptr must be 4 byte + * aligned. + * @return The 32-bit little endian integer from the bytes at @p ptr. + */ + +#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) +/* + * Manual byteshift. Best for old compilers which don't inline memcpy. + * We actually directly use XXH_readLE32 and XXH_readBE32. + */ +#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==2)) + +/* + * Force direct memory access. Only works on CPU which support unaligned memory + * access in hardware. + */ +static xxh_u32 XXH_read32(const void* memPtr) { return *(const xxh_u32*) memPtr; } + +#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==1)) + +/* + * __pack instructions are safer but compiler specific, hence potentially + * problematic for some compilers. + * + * Currently only defined for GCC and ICC. + */ +#ifdef XXH_OLD_NAMES +typedef union { xxh_u32 u32; } __attribute__((packed)) unalign; +#endif +static xxh_u32 XXH_read32(const void* ptr) +{ + typedef union { xxh_u32 u32; } __attribute__((packed)) xxh_unalign; + return ((const xxh_unalign*)ptr)->u32; +} + +#else + +/* + * Portable and safe solution. Generally efficient. + * see: https://stackoverflow.com/a/32095106/646947 + */ +static xxh_u32 XXH_read32(const void* memPtr) +{ + xxh_u32 val; + memcpy(&val, memPtr, sizeof(val)); + return val; +} + +#endif /* XXH_FORCE_DIRECT_MEMORY_ACCESS */ + + +/* *** Endianness *** */ +typedef enum { XXH_bigEndian=0, XXH_littleEndian=1 } XXH_endianess; + +/*! + * @ingroup tuning + * @def XXH_CPU_LITTLE_ENDIAN + * @brief Whether the target is little endian. + * + * Defined to 1 if the target is little endian, or 0 if it is big endian. + * It can be defined externally, for example on the compiler command line. + * + * If it is not defined, a runtime check (which is usually constant folded) + * is used instead. + * + * @note + * This is not necessarily defined to an integer constant. + * + * @see XXH_isLittleEndian() for the runtime check. + */ +#ifndef XXH_CPU_LITTLE_ENDIAN +/* + * Try to detect endianness automatically, to avoid the nonstandard behavior + * in `XXH_isLittleEndian()` + */ +# if defined(_WIN32) /* Windows is always little endian */ \ + || defined(__LITTLE_ENDIAN__) \ + || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) +# define XXH_CPU_LITTLE_ENDIAN 1 +# elif defined(__BIG_ENDIAN__) \ + || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) +# define XXH_CPU_LITTLE_ENDIAN 0 +# else +/*! + * @internal + * @brief Runtime check for @ref XXH_CPU_LITTLE_ENDIAN. + * + * Most compilers will constant fold this. + */ +static int XXH_isLittleEndian(void) +{ + /* + * Portable and well-defined behavior. + * Don't use static: it is detrimental to performance. + */ + const union { xxh_u32 u; xxh_u8 c[4]; } one = { 1 }; + return one.c[0]; +} +# define XXH_CPU_LITTLE_ENDIAN XXH_isLittleEndian() +# endif +#endif + + + + +/* **************************************** +* Compiler-specific Functions and Macros +******************************************/ +#define XXH_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) + +#ifdef __has_builtin +# define XXH_HAS_BUILTIN(x) __has_builtin(x) +#else +# define XXH_HAS_BUILTIN(x) 0 +#endif + +/*! + * @internal + * @def XXH_rotl32(x,r) + * @brief 32-bit rotate left. + * + * @param x The 32-bit integer to be rotated. + * @param r The number of bits to rotate. + * @pre + * @p r > 0 && @p r < 32 + * @note + * @p x and @p r may be evaluated multiple times. + * @return The rotated result. + */ +#if !defined(NO_CLANG_BUILTIN) && XXH_HAS_BUILTIN(__builtin_rotateleft32) \ + && XXH_HAS_BUILTIN(__builtin_rotateleft64) +# define XXH_rotl32 __builtin_rotateleft32 +# define XXH_rotl64 __builtin_rotateleft64 +/* Note: although _rotl exists for minGW (GCC under windows), performance seems poor */ +#elif defined(_MSC_VER) +# define XXH_rotl32(x,r) _rotl(x,r) +# define XXH_rotl64(x,r) _rotl64(x,r) +#else +# define XXH_rotl32(x,r) (((x) << (r)) | ((x) >> (32 - (r)))) +# define XXH_rotl64(x,r) (((x) << (r)) | ((x) >> (64 - (r)))) +#endif + +/*! + * @internal + * @fn xxh_u32 XXH_swap32(xxh_u32 x) + * @brief A 32-bit byteswap. + * + * @param x The 32-bit integer to byteswap. + * @return @p x, byteswapped. + */ +#if defined(_MSC_VER) /* Visual Studio */ +# define XXH_swap32 _byteswap_ulong +#elif XXH_GCC_VERSION >= 403 +# define XXH_swap32 __builtin_bswap32 +#else +static xxh_u32 XXH_swap32 (xxh_u32 x) +{ + return ((x << 24) & 0xff000000 ) | + ((x << 8) & 0x00ff0000 ) | + ((x >> 8) & 0x0000ff00 ) | + ((x >> 24) & 0x000000ff ); +} +#endif + + +/* *************************** +* Memory reads +*****************************/ + +/*! + * @internal + * @brief Enum to indicate whether a pointer is aligned. + */ +typedef enum { + XXH_aligned, /*!< Aligned */ + XXH_unaligned /*!< Possibly unaligned */ +} XXH_alignment; + +/* + * XXH_FORCE_MEMORY_ACCESS==3 is an endian-independent byteshift load. + * + * This is ideal for older compilers which don't inline memcpy. + */ +#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) + +XXH_FORCE_INLINE xxh_u32 XXH_readLE32(const void* memPtr) +{ + const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; + return bytePtr[0] + | ((xxh_u32)bytePtr[1] << 8) + | ((xxh_u32)bytePtr[2] << 16) + | ((xxh_u32)bytePtr[3] << 24); +} + +XXH_FORCE_INLINE xxh_u32 XXH_readBE32(const void* memPtr) +{ + const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; + return bytePtr[3] + | ((xxh_u32)bytePtr[2] << 8) + | ((xxh_u32)bytePtr[1] << 16) + | ((xxh_u32)bytePtr[0] << 24); +} + +#else +XXH_FORCE_INLINE xxh_u32 XXH_readLE32(const void* ptr) +{ + return XXH_CPU_LITTLE_ENDIAN ? XXH_read32(ptr) : XXH_swap32(XXH_read32(ptr)); +} + +static xxh_u32 XXH_readBE32(const void* ptr) +{ + return XXH_CPU_LITTLE_ENDIAN ? XXH_swap32(XXH_read32(ptr)) : XXH_read32(ptr); +} +#endif + +XXH_FORCE_INLINE xxh_u32 +XXH_readLE32_align(const void* ptr, XXH_alignment align) +{ + if (align==XXH_unaligned) { + return XXH_readLE32(ptr); + } else { + return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u32*)ptr : XXH_swap32(*(const xxh_u32*)ptr); + } +} + + +/* ************************************* +* Misc +***************************************/ +/*! @ingroup public */ +XXH_PUBLIC_API unsigned XXH_versionNumber (void) { return XXH_VERSION_NUMBER; } + + +/* ******************************************************************* +* 32-bit hash functions +*********************************************************************/ +/*! + * @} + * @defgroup xxh32_impl XXH32 implementation + * @ingroup impl + * @{ + */ + /* #define instead of static const, to be used as initializers */ +#define XXH_PRIME32_1 0x9E3779B1U /*!< 0b10011110001101110111100110110001 */ +#define XXH_PRIME32_2 0x85EBCA77U /*!< 0b10000101111010111100101001110111 */ +#define XXH_PRIME32_3 0xC2B2AE3DU /*!< 0b11000010101100101010111000111101 */ +#define XXH_PRIME32_4 0x27D4EB2FU /*!< 0b00100111110101001110101100101111 */ +#define XXH_PRIME32_5 0x165667B1U /*!< 0b00010110010101100110011110110001 */ + +#ifdef XXH_OLD_NAMES +# define PRIME32_1 XXH_PRIME32_1 +# define PRIME32_2 XXH_PRIME32_2 +# define PRIME32_3 XXH_PRIME32_3 +# define PRIME32_4 XXH_PRIME32_4 +# define PRIME32_5 XXH_PRIME32_5 +#endif + +/*! + * @internal + * @brief Normal stripe processing routine. + * + * This shuffles the bits so that any bit from @p input impacts several bits in + * @p acc. + * + * @param acc The accumulator lane. + * @param input The stripe of input to mix. + * @return The mixed accumulator lane. + */ +static xxh_u32 XXH32_round(xxh_u32 acc, xxh_u32 input) +{ + acc += input * XXH_PRIME32_2; + acc = XXH_rotl32(acc, 13); + acc *= XXH_PRIME32_1; +#if defined(__GNUC__) && defined(__SSE4_1__) && !defined(XXH_ENABLE_AUTOVECTORIZE) + /* + * UGLY HACK: + * This inline assembly hack forces acc into a normal register. This is the + * only thing that prevents GCC and Clang from autovectorizing the XXH32 + * loop (pragmas and attributes don't work for some reason) without globally + * disabling SSE4.1. + * + * The reason we want to avoid vectorization is because despite working on + * 4 integers at a time, there are multiple factors slowing XXH32 down on + * SSE4: + * - There's a ridiculous amount of lag from pmulld (10 cycles of latency on + * newer chips!) making it slightly slower to multiply four integers at + * once compared to four integers independently. Even when pmulld was + * fastest, Sandy/Ivy Bridge, it is still not worth it to go into SSE + * just to multiply unless doing a long operation. + * + * - Four instructions are required to rotate, + * movqda tmp, v // not required with VEX encoding + * pslld tmp, 13 // tmp <<= 13 + * psrld v, 19 // x >>= 19 + * por v, tmp // x |= tmp + * compared to one for scalar: + * roll v, 13 // reliably fast across the board + * shldl v, v, 13 // Sandy Bridge and later prefer this for some reason + * + * - Instruction level parallelism is actually more beneficial here because + * the SIMD actually serializes this operation: While v1 is rotating, v2 + * can load data, while v3 can multiply. SSE forces them to operate + * together. + * + * How this hack works: + * __asm__("" // Declare an assembly block but don't declare any instructions + * : // However, as an Input/Output Operand, + * "+r" // constrain a read/write operand (+) as a general purpose register (r). + * (acc) // and set acc as the operand + * ); + * + * Because of the 'r', the compiler has promised that seed will be in a + * general purpose register and the '+' says that it will be 'read/write', + * so it has to assume it has changed. It is like volatile without all the + * loads and stores. + * + * Since the argument has to be in a normal register (not an SSE register), + * each time XXH32_round is called, it is impossible to vectorize. + */ + __asm__("" : "+r" (acc)); +#endif + return acc; +} + +/*! + * @internal + * @brief Mixes all bits to finalize the hash. + * + * The final mix ensures that all input bits have a chance to impact any bit in + * the output digest, resulting in an unbiased distribution. + * + * @param h32 The hash to avalanche. + * @return The avalanched hash. + */ +static xxh_u32 XXH32_avalanche(xxh_u32 h32) +{ + h32 ^= h32 >> 15; + h32 *= XXH_PRIME32_2; + h32 ^= h32 >> 13; + h32 *= XXH_PRIME32_3; + h32 ^= h32 >> 16; + return(h32); +} + +#define XXH_get32bits(p) XXH_readLE32_align(p, align) + +/*! + * @internal + * @brief Processes the last 0-15 bytes of @p ptr. + * + * There may be up to 15 bytes remaining to consume from the input. + * This final stage will digest them to ensure that all input bytes are present + * in the final mix. + * + * @param h32 The hash to finalize. + * @param ptr The pointer to the remaining input. + * @param len The remaining length, modulo 16. + * @param align Whether @p ptr is aligned. + * @return The finalized hash. + */ +static xxh_u32 +XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) +{ +#define XXH_PROCESS1 do { \ + h32 += (*ptr++) * XXH_PRIME32_5; \ + h32 = XXH_rotl32(h32, 11) * XXH_PRIME32_1; \ +} while (0) + +#define XXH_PROCESS4 do { \ + h32 += XXH_get32bits(ptr) * XXH_PRIME32_3; \ + ptr += 4; \ + h32 = XXH_rotl32(h32, 17) * XXH_PRIME32_4; \ +} while (0) + + /* Compact rerolled version */ + if (XXH_REROLL) { + len &= 15; + while (len >= 4) { + XXH_PROCESS4; + len -= 4; + } + while (len > 0) { + XXH_PROCESS1; + --len; + } + return XXH32_avalanche(h32); + } else { + switch(len&15) /* or switch(bEnd - p) */ { + case 12: XXH_PROCESS4; + /* fallthrough */ + case 8: XXH_PROCESS4; + /* fallthrough */ + case 4: XXH_PROCESS4; + return XXH32_avalanche(h32); + + case 13: XXH_PROCESS4; + /* fallthrough */ + case 9: XXH_PROCESS4; + /* fallthrough */ + case 5: XXH_PROCESS4; + XXH_PROCESS1; + return XXH32_avalanche(h32); + + case 14: XXH_PROCESS4; + /* fallthrough */ + case 10: XXH_PROCESS4; + /* fallthrough */ + case 6: XXH_PROCESS4; + XXH_PROCESS1; + XXH_PROCESS1; + return XXH32_avalanche(h32); + + case 15: XXH_PROCESS4; + /* fallthrough */ + case 11: XXH_PROCESS4; + /* fallthrough */ + case 7: XXH_PROCESS4; + /* fallthrough */ + case 3: XXH_PROCESS1; + /* fallthrough */ + case 2: XXH_PROCESS1; + /* fallthrough */ + case 1: XXH_PROCESS1; + /* fallthrough */ + case 0: return XXH32_avalanche(h32); + } + XXH_ASSERT(0); + return h32; /* reaching this point is deemed impossible */ + } +} + +#ifdef XXH_OLD_NAMES +# define PROCESS1 XXH_PROCESS1 +# define PROCESS4 XXH_PROCESS4 +#else +# undef XXH_PROCESS1 +# undef XXH_PROCESS4 +#endif + +/*! + * @internal + * @brief The implementation for @ref XXH32(). + * + * @param input, len, seed Directly passed from @ref XXH32(). + * @param align Whether @p input is aligned. + * @return The calculated hash. + */ +XXH_FORCE_INLINE xxh_u32 +XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align) +{ + const xxh_u8* bEnd = input + len; + xxh_u32 h32; + +#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) + if (input==NULL) { + len=0; + bEnd=input=(const xxh_u8*)(size_t)16; + } +#endif + + if (len>=16) { + const xxh_u8* const limit = bEnd - 15; + xxh_u32 v1 = seed + XXH_PRIME32_1 + XXH_PRIME32_2; + xxh_u32 v2 = seed + XXH_PRIME32_2; + xxh_u32 v3 = seed + 0; + xxh_u32 v4 = seed - XXH_PRIME32_1; + + do { + v1 = XXH32_round(v1, XXH_get32bits(input)); input += 4; + v2 = XXH32_round(v2, XXH_get32bits(input)); input += 4; + v3 = XXH32_round(v3, XXH_get32bits(input)); input += 4; + v4 = XXH32_round(v4, XXH_get32bits(input)); input += 4; + } while (input < limit); + + h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7) + + XXH_rotl32(v3, 12) + XXH_rotl32(v4, 18); + } else { + h32 = seed + XXH_PRIME32_5; + } + + h32 += (xxh_u32)len; + + return XXH32_finalize(h32, input, len&15, align); +} + +/*! @ingroup xxh32_family */ +XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t len, XXH32_hash_t seed) +{ +#if 0 + /* Simple version, good for code maintenance, but unfortunately slow for small inputs */ + XXH32_state_t state; + XXH32_reset(&state, seed); + XXH32_update(&state, (const xxh_u8*)input, len); + return XXH32_digest(&state); +#else + if (XXH_FORCE_ALIGN_CHECK) { + if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */ + return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); + } } + + return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); +#endif +} + + + +/******* Hash streaming *******/ +/*! + * @ingroup xxh32_family + */ +XXH_PUBLIC_API XXH32_state_t* XXH32_createState(void) +{ + return (XXH32_state_t*)XXH_malloc(sizeof(XXH32_state_t)); +} +/*! @ingroup xxh32_family */ +XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr) +{ + XXH_free(statePtr); + return XXH_OK; +} + +/*! @ingroup xxh32_family */ +XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* dstState, const XXH32_state_t* srcState) +{ + memcpy(dstState, srcState, sizeof(*dstState)); +} + +/*! @ingroup xxh32_family */ +XXH_PUBLIC_API XXH_errorcode XXH32_reset(XXH32_state_t* statePtr, XXH32_hash_t seed) +{ + XXH32_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ + memset(&state, 0, sizeof(state)); + state.v1 = seed + XXH_PRIME32_1 + XXH_PRIME32_2; + state.v2 = seed + XXH_PRIME32_2; + state.v3 = seed + 0; + state.v4 = seed - XXH_PRIME32_1; + /* do not write into reserved, planned to be removed in a future version */ + memcpy(statePtr, &state, sizeof(state) - sizeof(state.reserved)); + return XXH_OK; +} + + +/*! @ingroup xxh32_family */ +XXH_PUBLIC_API XXH_errorcode +XXH32_update(XXH32_state_t* state, const void* input, size_t len) +{ + if (input==NULL) +#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) + return XXH_OK; +#else + return XXH_ERROR; +#endif + + { const xxh_u8* p = (const xxh_u8*)input; + const xxh_u8* const bEnd = p + len; + + state->total_len_32 += (XXH32_hash_t)len; + state->large_len |= (XXH32_hash_t)((len>=16) | (state->total_len_32>=16)); + + if (state->memsize + len < 16) { /* fill in tmp buffer */ + XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, len); + state->memsize += (XXH32_hash_t)len; + return XXH_OK; + } + + if (state->memsize) { /* some data left from previous update */ + XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize); + { const xxh_u32* p32 = state->mem32; + state->v1 = XXH32_round(state->v1, XXH_readLE32(p32)); p32++; + state->v2 = XXH32_round(state->v2, XXH_readLE32(p32)); p32++; + state->v3 = XXH32_round(state->v3, XXH_readLE32(p32)); p32++; + state->v4 = XXH32_round(state->v4, XXH_readLE32(p32)); + } + p += 16-state->memsize; + state->memsize = 0; + } + + if (p <= bEnd-16) { + const xxh_u8* const limit = bEnd - 16; + xxh_u32 v1 = state->v1; + xxh_u32 v2 = state->v2; + xxh_u32 v3 = state->v3; + xxh_u32 v4 = state->v4; + + do { + v1 = XXH32_round(v1, XXH_readLE32(p)); p+=4; + v2 = XXH32_round(v2, XXH_readLE32(p)); p+=4; + v3 = XXH32_round(v3, XXH_readLE32(p)); p+=4; + v4 = XXH32_round(v4, XXH_readLE32(p)); p+=4; + } while (p<=limit); + + state->v1 = v1; + state->v2 = v2; + state->v3 = v3; + state->v4 = v4; + } + + if (p < bEnd) { + XXH_memcpy(state->mem32, p, (size_t)(bEnd-p)); + state->memsize = (unsigned)(bEnd-p); + } + } + + return XXH_OK; +} + + +/*! @ingroup xxh32_family */ +XXH_PUBLIC_API XXH32_hash_t XXH32_digest(const XXH32_state_t* state) +{ + xxh_u32 h32; + + if (state->large_len) { + h32 = XXH_rotl32(state->v1, 1) + + XXH_rotl32(state->v2, 7) + + XXH_rotl32(state->v3, 12) + + XXH_rotl32(state->v4, 18); + } else { + h32 = state->v3 /* == seed */ + XXH_PRIME32_5; + } + + h32 += state->total_len_32; + + return XXH32_finalize(h32, (const xxh_u8*)state->mem32, state->memsize, XXH_aligned); +} + + +/******* Canonical representation *******/ + +/*! + * @ingroup xxh32_family + * The default return values from XXH functions are unsigned 32 and 64 bit + * integers. + * + * The canonical representation uses big endian convention, the same convention + * as human-readable numbers (large digits first). + * + * This way, hash values can be written into a file or buffer, remaining + * comparable across different systems. + * + * The following functions allow transformation of hash values to and from their + * canonical format. + */ +XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash) +{ + XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) == sizeof(XXH32_hash_t)); + if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap32(hash); + memcpy(dst, &hash, sizeof(*dst)); +} +/*! @ingroup xxh32_family */ +XXH_PUBLIC_API XXH32_hash_t XXH32_hashFromCanonical(const XXH32_canonical_t* src) +{ + return XXH_readBE32(src); +} + + +#ifndef XXH_NO_LONG_LONG + +/* ******************************************************************* +* 64-bit hash functions +*********************************************************************/ +/*! + * @} + * @ingroup impl + * @{ + */ +/******* Memory access *******/ + +typedef XXH64_hash_t xxh_u64; + +#ifdef XXH_OLD_NAMES +# define U64 xxh_u64 +#endif + +/*! + * XXH_REROLL_XXH64: + * Whether to reroll the XXH64_finalize() loop. + * + * Just like XXH32, we can unroll the XXH64_finalize() loop. This can be a + * performance gain on 64-bit hosts, as only one jump is required. + * + * However, on 32-bit hosts, because arithmetic needs to be done with two 32-bit + * registers, and 64-bit arithmetic needs to be simulated, it isn't beneficial + * to unroll. The code becomes ridiculously large (the largest function in the + * binary on i386!), and rerolling it saves anywhere from 3kB to 20kB. It is + * also slightly faster because it fits into cache better and is more likely + * to be inlined by the compiler. + * + * If XXH_REROLL is defined, this is ignored and the loop is always rerolled. + */ +#ifndef XXH_REROLL_XXH64 +# if (defined(__ILP32__) || defined(_ILP32)) /* ILP32 is often defined on 32-bit GCC family */ \ + || !(defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64) /* x86-64 */ \ + || defined(_M_ARM64) || defined(__aarch64__) || defined(__arm64__) /* aarch64 */ \ + || defined(__PPC64__) || defined(__PPC64LE__) || defined(__ppc64__) || defined(__powerpc64__) /* ppc64 */ \ + || defined(__mips64__) || defined(__mips64)) /* mips64 */ \ + || (!defined(SIZE_MAX) || SIZE_MAX < ULLONG_MAX) /* check limits */ +# define XXH_REROLL_XXH64 1 +# else +# define XXH_REROLL_XXH64 0 +# endif +#endif /* !defined(XXH_REROLL_XXH64) */ + +#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) +/* + * Manual byteshift. Best for old compilers which don't inline memcpy. + * We actually directly use XXH_readLE64 and XXH_readBE64. + */ +#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==2)) + +/* Force direct memory access. Only works on CPU which support unaligned memory access in hardware */ +static xxh_u64 XXH_read64(const void* memPtr) +{ + return *(const xxh_u64*) memPtr; +} + +#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==1)) + +/* + * __pack instructions are safer, but compiler specific, hence potentially + * problematic for some compilers. + * + * Currently only defined for GCC and ICC. + */ +#ifdef XXH_OLD_NAMES +typedef union { xxh_u32 u32; xxh_u64 u64; } __attribute__((packed)) unalign64; +#endif +static xxh_u64 XXH_read64(const void* ptr) +{ + typedef union { xxh_u32 u32; xxh_u64 u64; } __attribute__((packed)) xxh_unalign64; + return ((const xxh_unalign64*)ptr)->u64; +} + +#else + +/* + * Portable and safe solution. Generally efficient. + * see: https://stackoverflow.com/a/32095106/646947 + */ +static xxh_u64 XXH_read64(const void* memPtr) +{ + xxh_u64 val; + memcpy(&val, memPtr, sizeof(val)); + return val; +} + +#endif /* XXH_FORCE_DIRECT_MEMORY_ACCESS */ + +#if defined(_MSC_VER) /* Visual Studio */ +# define XXH_swap64 _byteswap_uint64 +#elif XXH_GCC_VERSION >= 403 +# define XXH_swap64 __builtin_bswap64 +#else +static xxh_u64 XXH_swap64(xxh_u64 x) +{ + return ((x << 56) & 0xff00000000000000ULL) | + ((x << 40) & 0x00ff000000000000ULL) | + ((x << 24) & 0x0000ff0000000000ULL) | + ((x << 8) & 0x000000ff00000000ULL) | + ((x >> 8) & 0x00000000ff000000ULL) | + ((x >> 24) & 0x0000000000ff0000ULL) | + ((x >> 40) & 0x000000000000ff00ULL) | + ((x >> 56) & 0x00000000000000ffULL); +} +#endif + + +/* XXH_FORCE_MEMORY_ACCESS==3 is an endian-independent byteshift load. */ +#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3)) + +XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* memPtr) +{ + const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; + return bytePtr[0] + | ((xxh_u64)bytePtr[1] << 8) + | ((xxh_u64)bytePtr[2] << 16) + | ((xxh_u64)bytePtr[3] << 24) + | ((xxh_u64)bytePtr[4] << 32) + | ((xxh_u64)bytePtr[5] << 40) + | ((xxh_u64)bytePtr[6] << 48) + | ((xxh_u64)bytePtr[7] << 56); +} + +XXH_FORCE_INLINE xxh_u64 XXH_readBE64(const void* memPtr) +{ + const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; + return bytePtr[7] + | ((xxh_u64)bytePtr[6] << 8) + | ((xxh_u64)bytePtr[5] << 16) + | ((xxh_u64)bytePtr[4] << 24) + | ((xxh_u64)bytePtr[3] << 32) + | ((xxh_u64)bytePtr[2] << 40) + | ((xxh_u64)bytePtr[1] << 48) + | ((xxh_u64)bytePtr[0] << 56); +} + +#else +XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* ptr) +{ + return XXH_CPU_LITTLE_ENDIAN ? XXH_read64(ptr) : XXH_swap64(XXH_read64(ptr)); +} + +static xxh_u64 XXH_readBE64(const void* ptr) +{ + return XXH_CPU_LITTLE_ENDIAN ? XXH_swap64(XXH_read64(ptr)) : XXH_read64(ptr); +} +#endif + +XXH_FORCE_INLINE xxh_u64 +XXH_readLE64_align(const void* ptr, XXH_alignment align) +{ + if (align==XXH_unaligned) + return XXH_readLE64(ptr); + else + return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u64*)ptr : XXH_swap64(*(const xxh_u64*)ptr); +} + + +/******* xxh64 *******/ +/*! + * @} + * @defgroup xxh64_impl XXH64 implementation + * @ingroup impl + * @{ + */ +/* #define rather that static const, to be used as initializers */ +#define XXH_PRIME64_1 0x9E3779B185EBCA87ULL /*!< 0b1001111000110111011110011011000110000101111010111100101010000111 */ +#define XXH_PRIME64_2 0xC2B2AE3D27D4EB4FULL /*!< 0b1100001010110010101011100011110100100111110101001110101101001111 */ +#define XXH_PRIME64_3 0x165667B19E3779F9ULL /*!< 0b0001011001010110011001111011000110011110001101110111100111111001 */ +#define XXH_PRIME64_4 0x85EBCA77C2B2AE63ULL /*!< 0b1000010111101011110010100111011111000010101100101010111001100011 */ +#define XXH_PRIME64_5 0x27D4EB2F165667C5ULL /*!< 0b0010011111010100111010110010111100010110010101100110011111000101 */ + +#ifdef XXH_OLD_NAMES +# define PRIME64_1 XXH_PRIME64_1 +# define PRIME64_2 XXH_PRIME64_2 +# define PRIME64_3 XXH_PRIME64_3 +# define PRIME64_4 XXH_PRIME64_4 +# define PRIME64_5 XXH_PRIME64_5 +#endif + +static xxh_u64 XXH64_round(xxh_u64 acc, xxh_u64 input) +{ + acc += input * XXH_PRIME64_2; + acc = XXH_rotl64(acc, 31); + acc *= XXH_PRIME64_1; + return acc; +} + +static xxh_u64 XXH64_mergeRound(xxh_u64 acc, xxh_u64 val) +{ + val = XXH64_round(0, val); + acc ^= val; + acc = acc * XXH_PRIME64_1 + XXH_PRIME64_4; + return acc; +} + +static xxh_u64 XXH64_avalanche(xxh_u64 h64) +{ + h64 ^= h64 >> 33; + h64 *= XXH_PRIME64_2; + h64 ^= h64 >> 29; + h64 *= XXH_PRIME64_3; + h64 ^= h64 >> 32; + return h64; +} + + +#define XXH_get64bits(p) XXH_readLE64_align(p, align) + +static xxh_u64 +XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) +{ +#define XXH_PROCESS1_64 do { \ + h64 ^= (*ptr++) * XXH_PRIME64_5; \ + h64 = XXH_rotl64(h64, 11) * XXH_PRIME64_1; \ +} while (0) + +#define XXH_PROCESS4_64 do { \ + h64 ^= (xxh_u64)(XXH_get32bits(ptr)) * XXH_PRIME64_1; \ + ptr += 4; \ + h64 = XXH_rotl64(h64, 23) * XXH_PRIME64_2 + XXH_PRIME64_3; \ +} while (0) + +#define XXH_PROCESS8_64 do { \ + xxh_u64 const k1 = XXH64_round(0, XXH_get64bits(ptr)); \ + ptr += 8; \ + h64 ^= k1; \ + h64 = XXH_rotl64(h64,27) * XXH_PRIME64_1 + XXH_PRIME64_4; \ +} while (0) + + /* Rerolled version for 32-bit targets is faster and much smaller. */ + if (XXH_REROLL || XXH_REROLL_XXH64) { + len &= 31; + while (len >= 8) { + XXH_PROCESS8_64; + len -= 8; + } + if (len >= 4) { + XXH_PROCESS4_64; + len -= 4; + } + while (len > 0) { + XXH_PROCESS1_64; + --len; + } + return XXH64_avalanche(h64); + } else { + switch(len & 31) { + case 24: XXH_PROCESS8_64; + /* fallthrough */ + case 16: XXH_PROCESS8_64; + /* fallthrough */ + case 8: XXH_PROCESS8_64; + return XXH64_avalanche(h64); + + case 28: XXH_PROCESS8_64; + /* fallthrough */ + case 20: XXH_PROCESS8_64; + /* fallthrough */ + case 12: XXH_PROCESS8_64; + /* fallthrough */ + case 4: XXH_PROCESS4_64; + return XXH64_avalanche(h64); + + case 25: XXH_PROCESS8_64; + /* fallthrough */ + case 17: XXH_PROCESS8_64; + /* fallthrough */ + case 9: XXH_PROCESS8_64; + XXH_PROCESS1_64; + return XXH64_avalanche(h64); + + case 29: XXH_PROCESS8_64; + /* fallthrough */ + case 21: XXH_PROCESS8_64; + /* fallthrough */ + case 13: XXH_PROCESS8_64; + /* fallthrough */ + case 5: XXH_PROCESS4_64; + XXH_PROCESS1_64; + return XXH64_avalanche(h64); + + case 26: XXH_PROCESS8_64; + /* fallthrough */ + case 18: XXH_PROCESS8_64; + /* fallthrough */ + case 10: XXH_PROCESS8_64; + XXH_PROCESS1_64; + XXH_PROCESS1_64; + return XXH64_avalanche(h64); + + case 30: XXH_PROCESS8_64; + /* fallthrough */ + case 22: XXH_PROCESS8_64; + /* fallthrough */ + case 14: XXH_PROCESS8_64; + /* fallthrough */ + case 6: XXH_PROCESS4_64; + XXH_PROCESS1_64; + XXH_PROCESS1_64; + return XXH64_avalanche(h64); + + case 27: XXH_PROCESS8_64; + /* fallthrough */ + case 19: XXH_PROCESS8_64; + /* fallthrough */ + case 11: XXH_PROCESS8_64; + XXH_PROCESS1_64; + XXH_PROCESS1_64; + XXH_PROCESS1_64; + return XXH64_avalanche(h64); + + case 31: XXH_PROCESS8_64; + /* fallthrough */ + case 23: XXH_PROCESS8_64; + /* fallthrough */ + case 15: XXH_PROCESS8_64; + /* fallthrough */ + case 7: XXH_PROCESS4_64; + /* fallthrough */ + case 3: XXH_PROCESS1_64; + /* fallthrough */ + case 2: XXH_PROCESS1_64; + /* fallthrough */ + case 1: XXH_PROCESS1_64; + /* fallthrough */ + case 0: return XXH64_avalanche(h64); + } + } + /* impossible to reach */ + XXH_ASSERT(0); + return 0; /* unreachable, but some compilers complain without it */ +} + +#ifdef XXH_OLD_NAMES +# define PROCESS1_64 XXH_PROCESS1_64 +# define PROCESS4_64 XXH_PROCESS4_64 +# define PROCESS8_64 XXH_PROCESS8_64 +#else +# undef XXH_PROCESS1_64 +# undef XXH_PROCESS4_64 +# undef XXH_PROCESS8_64 +#endif + +XXH_FORCE_INLINE xxh_u64 +XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align) +{ + const xxh_u8* bEnd = input + len; + xxh_u64 h64; + +#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) + if (input==NULL) { + len=0; + bEnd=input=(const xxh_u8*)(size_t)32; + } +#endif + + if (len>=32) { + const xxh_u8* const limit = bEnd - 32; + xxh_u64 v1 = seed + XXH_PRIME64_1 + XXH_PRIME64_2; + xxh_u64 v2 = seed + XXH_PRIME64_2; + xxh_u64 v3 = seed + 0; + xxh_u64 v4 = seed - XXH_PRIME64_1; + + do { + v1 = XXH64_round(v1, XXH_get64bits(input)); input+=8; + v2 = XXH64_round(v2, XXH_get64bits(input)); input+=8; + v3 = XXH64_round(v3, XXH_get64bits(input)); input+=8; + v4 = XXH64_round(v4, XXH_get64bits(input)); input+=8; + } while (input<=limit); + + h64 = XXH_rotl64(v1, 1) + XXH_rotl64(v2, 7) + XXH_rotl64(v3, 12) + XXH_rotl64(v4, 18); + h64 = XXH64_mergeRound(h64, v1); + h64 = XXH64_mergeRound(h64, v2); + h64 = XXH64_mergeRound(h64, v3); + h64 = XXH64_mergeRound(h64, v4); + + } else { + h64 = seed + XXH_PRIME64_5; + } + + h64 += (xxh_u64) len; + + return XXH64_finalize(h64, input, len, align); +} + + +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API XXH64_hash_t XXH64 (const void* input, size_t len, XXH64_hash_t seed) +{ +#if 0 + /* Simple version, good for code maintenance, but unfortunately slow for small inputs */ + XXH64_state_t state; + XXH64_reset(&state, seed); + XXH64_update(&state, (const xxh_u8*)input, len); + return XXH64_digest(&state); +#else + if (XXH_FORCE_ALIGN_CHECK) { + if ((((size_t)input) & 7)==0) { /* Input is aligned, let's leverage the speed advantage */ + return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); + } } + + return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); + +#endif +} + +/******* Hash Streaming *******/ + +/*! @ingroup xxh64_family*/ +XXH_PUBLIC_API XXH64_state_t* XXH64_createState(void) +{ + return (XXH64_state_t*)XXH_malloc(sizeof(XXH64_state_t)); +} +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr) +{ + XXH_free(statePtr); + return XXH_OK; +} + +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API void XXH64_copyState(XXH64_state_t* dstState, const XXH64_state_t* srcState) +{ + memcpy(dstState, srcState, sizeof(*dstState)); +} + +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, XXH64_hash_t seed) +{ + XXH64_state_t state; /* use a local state to memcpy() in order to avoid strict-aliasing warnings */ + memset(&state, 0, sizeof(state)); + state.v1 = seed + XXH_PRIME64_1 + XXH_PRIME64_2; + state.v2 = seed + XXH_PRIME64_2; + state.v3 = seed + 0; + state.v4 = seed - XXH_PRIME64_1; + /* do not write into reserved64, might be removed in a future version */ + memcpy(statePtr, &state, sizeof(state) - sizeof(state.reserved64)); + return XXH_OK; +} + +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API XXH_errorcode +XXH64_update (XXH64_state_t* state, const void* input, size_t len) +{ + if (input==NULL) +#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) + return XXH_OK; +#else + return XXH_ERROR; +#endif + + { const xxh_u8* p = (const xxh_u8*)input; + const xxh_u8* const bEnd = p + len; + + state->total_len += len; + + if (state->memsize + len < 32) { /* fill in tmp buffer */ + XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, len); + state->memsize += (xxh_u32)len; + return XXH_OK; + } + + if (state->memsize) { /* tmp buffer is full */ + XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, 32-state->memsize); + state->v1 = XXH64_round(state->v1, XXH_readLE64(state->mem64+0)); + state->v2 = XXH64_round(state->v2, XXH_readLE64(state->mem64+1)); + state->v3 = XXH64_round(state->v3, XXH_readLE64(state->mem64+2)); + state->v4 = XXH64_round(state->v4, XXH_readLE64(state->mem64+3)); + p += 32 - state->memsize; + state->memsize = 0; + } + + if (p+32 <= bEnd) { + const xxh_u8* const limit = bEnd - 32; + xxh_u64 v1 = state->v1; + xxh_u64 v2 = state->v2; + xxh_u64 v3 = state->v3; + xxh_u64 v4 = state->v4; + + do { + v1 = XXH64_round(v1, XXH_readLE64(p)); p+=8; + v2 = XXH64_round(v2, XXH_readLE64(p)); p+=8; + v3 = XXH64_round(v3, XXH_readLE64(p)); p+=8; + v4 = XXH64_round(v4, XXH_readLE64(p)); p+=8; + } while (p<=limit); + + state->v1 = v1; + state->v2 = v2; + state->v3 = v3; + state->v4 = v4; + } + + if (p < bEnd) { + XXH_memcpy(state->mem64, p, (size_t)(bEnd-p)); + state->memsize = (unsigned)(bEnd-p); + } + } + + return XXH_OK; +} + + +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API XXH64_hash_t XXH64_digest(const XXH64_state_t* state) +{ + xxh_u64 h64; + + if (state->total_len >= 32) { + xxh_u64 const v1 = state->v1; + xxh_u64 const v2 = state->v2; + xxh_u64 const v3 = state->v3; + xxh_u64 const v4 = state->v4; + + h64 = XXH_rotl64(v1, 1) + XXH_rotl64(v2, 7) + XXH_rotl64(v3, 12) + XXH_rotl64(v4, 18); + h64 = XXH64_mergeRound(h64, v1); + h64 = XXH64_mergeRound(h64, v2); + h64 = XXH64_mergeRound(h64, v3); + h64 = XXH64_mergeRound(h64, v4); + } else { + h64 = state->v3 /*seed*/ + XXH_PRIME64_5; + } + + h64 += (xxh_u64) state->total_len; + + return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); +} + + +/******* Canonical representation *******/ + +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash) +{ + XXH_STATIC_ASSERT(sizeof(XXH64_canonical_t) == sizeof(XXH64_hash_t)); + if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap64(hash); + memcpy(dst, &hash, sizeof(*dst)); +} + +/*! @ingroup xxh64_family */ +XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src) +{ + return XXH_readBE64(src); +} + + + +/* ********************************************************************* +* XXH3 +* New generation hash designed for speed on small keys and vectorization +************************************************************************ */ +/*! + * @} + * @defgroup xxh3_impl XXH3 implementation + * @ingroup impl + * @{ + */ + +/* === Compiler specifics === */ + +#if ((defined(sun) || defined(__sun)) && __cplusplus) /* Solaris includes __STDC_VERSION__ with C++. Tested with GCC 5.5 */ +# define XXH_RESTRICT /* disable */ +#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* >= C99 */ +# define XXH_RESTRICT restrict +#else +/* Note: it might be useful to define __restrict or __restrict__ for some C++ compilers */ +# define XXH_RESTRICT /* disable */ +#endif + +#if (defined(__GNUC__) && (__GNUC__ >= 3)) \ + || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 800)) \ + || defined(__clang__) +# define XXH_likely(x) __builtin_expect(x, 1) +# define XXH_unlikely(x) __builtin_expect(x, 0) +#else +# define XXH_likely(x) (x) +# define XXH_unlikely(x) (x) +#endif + +#if defined(__GNUC__) +# if defined(__AVX2__) +# include +# elif defined(__SSE2__) +# include +# elif defined(__ARM_NEON__) || defined(__ARM_NEON) +# define inline __inline__ /* circumvent a clang bug */ +# include +# undef inline +# endif +#elif defined(_MSC_VER) +# include +#endif + +/* + * One goal of XXH3 is to make it fast on both 32-bit and 64-bit, while + * remaining a true 64-bit/128-bit hash function. + * + * This is done by prioritizing a subset of 64-bit operations that can be + * emulated without too many steps on the average 32-bit machine. + * + * For example, these two lines seem similar, and run equally fast on 64-bit: + * + * xxh_u64 x; + * x ^= (x >> 47); // good + * x ^= (x >> 13); // bad + * + * However, to a 32-bit machine, there is a major difference. + * + * x ^= (x >> 47) looks like this: + * + * x.lo ^= (x.hi >> (47 - 32)); + * + * while x ^= (x >> 13) looks like this: + * + * // note: funnel shifts are not usually cheap. + * x.lo ^= (x.lo >> 13) | (x.hi << (32 - 13)); + * x.hi ^= (x.hi >> 13); + * + * The first one is significantly faster than the second, simply because the + * shift is larger than 32. This means: + * - All the bits we need are in the upper 32 bits, so we can ignore the lower + * 32 bits in the shift. + * - The shift result will always fit in the lower 32 bits, and therefore, + * we can ignore the upper 32 bits in the xor. + * + * Thanks to this optimization, XXH3 only requires these features to be efficient: + * + * - Usable unaligned access + * - A 32-bit or 64-bit ALU + * - If 32-bit, a decent ADC instruction + * - A 32 or 64-bit multiply with a 64-bit result + * - For the 128-bit variant, a decent byteswap helps short inputs. + * + * The first two are already required by XXH32, and almost all 32-bit and 64-bit + * platforms which can run XXH32 can run XXH3 efficiently. + * + * Thumb-1, the classic 16-bit only subset of ARM's instruction set, is one + * notable exception. + * + * First of all, Thumb-1 lacks support for the UMULL instruction which + * performs the important long multiply. This means numerous __aeabi_lmul + * calls. + * + * Second of all, the 8 functional registers are just not enough. + * Setup for __aeabi_lmul, byteshift loads, pointers, and all arithmetic need + * Lo registers, and this shuffling results in thousands more MOVs than A32. + * + * A32 and T32 don't have this limitation. They can access all 14 registers, + * do a 32->64 multiply with UMULL, and the flexible operand allowing free + * shifts is helpful, too. + * + * Therefore, we do a quick sanity check. + * + * If compiling Thumb-1 for a target which supports ARM instructions, we will + * emit a warning, as it is not a "sane" platform to compile for. + * + * Usually, if this happens, it is because of an accident and you probably need + * to specify -march, as you likely meant to compile for a newer architecture. + * + * Credit: large sections of the vectorial and asm source code paths + * have been contributed by @easyaspi314 + */ +#if defined(__thumb__) && !defined(__thumb2__) && defined(__ARM_ARCH_ISA_ARM) +# warning "XXH3 is highly inefficient without ARM or Thumb-2." +#endif + +/* ========================================== + * Vectorization detection + * ========================================== */ + +#ifdef XXH_DOXYGEN +/*! + * @ingroup tuning + * @brief Overrides the vectorization implementation chosen for XXH3. + * + * Can be defined to 0 to disable SIMD or any of the values mentioned in + * @ref XXH_VECTOR_TYPE. + * + * If this is not defined, it uses predefined macros to determine the best + * implementation. + */ +# define XXH_VECTOR XXH_SCALAR +/*! + * @ingroup tuning + * @brief Possible values for @ref XXH_VECTOR. + * + * Note that these are actually implemented as macros. + * + * If this is not defined, it is detected automatically. + * @ref XXH_X86DISPATCH overrides this. + */ +enum XXH_VECTOR_TYPE /* fake enum */ { + XXH_SCALAR = 0, /*!< Portable scalar version */ + XXH_SSE2 = 1, /*!< + * SSE2 for Pentium 4, Opteron, all x86_64. + * + * @note SSE2 is also guaranteed on Windows 10, macOS, and + * Android x86. + */ + XXH_AVX2 = 2, /*!< AVX2 for Haswell and Bulldozer */ + XXH_AVX512 = 3, /*!< AVX512 for Skylake and Icelake */ + XXH_NEON = 4, /*!< NEON for most ARMv7-A and all AArch64 */ + XXH_VSX = 5, /*!< VSX and ZVector for POWER8/z13 (64-bit) */ +}; +/*! + * @ingroup tuning + * @brief Selects the minimum alignment for XXH3's accumulators. + * + * When using SIMD, this should match the alignment reqired for said vector + * type, so, for example, 32 for AVX2. + * + * Default: Auto detected. + */ +# define XXH_ACC_ALIGN 8 +#endif + +/* Actual definition */ +#ifndef XXH_DOXYGEN +# define XXH_SCALAR 0 +# define XXH_SSE2 1 +# define XXH_AVX2 2 +# define XXH_AVX512 3 +# define XXH_NEON 4 +# define XXH_VSX 5 +#endif + +#ifndef XXH_VECTOR /* can be defined on command line */ +# if defined(__AVX512F__) +# define XXH_VECTOR XXH_AVX512 +# elif defined(__AVX2__) +# define XXH_VECTOR XXH_AVX2 +# elif defined(__SSE2__) || defined(_M_AMD64) || defined(_M_X64) || (defined(_M_IX86_FP) && (_M_IX86_FP == 2)) +# define XXH_VECTOR XXH_SSE2 +# elif defined(__GNUC__) /* msvc support maybe later */ \ + && (defined(__ARM_NEON__) || defined(__ARM_NEON)) \ + && (defined(__LITTLE_ENDIAN__) /* We only support little endian NEON */ \ + || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)) +# define XXH_VECTOR XXH_NEON +# elif (defined(__PPC64__) && defined(__POWER8_VECTOR__)) \ + || (defined(__s390x__) && defined(__VEC__)) \ + && defined(__GNUC__) /* TODO: IBM XL */ +# define XXH_VECTOR XXH_VSX +# else +# define XXH_VECTOR XXH_SCALAR +# endif +#endif + +/* + * Controls the alignment of the accumulator, + * for compatibility with aligned vector loads, which are usually faster. + */ +#ifndef XXH_ACC_ALIGN +# if defined(XXH_X86DISPATCH) +# define XXH_ACC_ALIGN 64 /* for compatibility with avx512 */ +# elif XXH_VECTOR == XXH_SCALAR /* scalar */ +# define XXH_ACC_ALIGN 8 +# elif XXH_VECTOR == XXH_SSE2 /* sse2 */ +# define XXH_ACC_ALIGN 16 +# elif XXH_VECTOR == XXH_AVX2 /* avx2 */ +# define XXH_ACC_ALIGN 32 +# elif XXH_VECTOR == XXH_NEON /* neon */ +# define XXH_ACC_ALIGN 16 +# elif XXH_VECTOR == XXH_VSX /* vsx */ +# define XXH_ACC_ALIGN 16 +# elif XXH_VECTOR == XXH_AVX512 /* avx512 */ +# define XXH_ACC_ALIGN 64 +# endif +#endif + +#if defined(XXH_X86DISPATCH) || XXH_VECTOR == XXH_SSE2 \ + || XXH_VECTOR == XXH_AVX2 || XXH_VECTOR == XXH_AVX512 +# define XXH_SEC_ALIGN XXH_ACC_ALIGN +#else +# define XXH_SEC_ALIGN 8 +#endif + +/* + * UGLY HACK: + * GCC usually generates the best code with -O3 for xxHash. + * + * However, when targeting AVX2, it is overzealous in its unrolling resulting + * in code roughly 3/4 the speed of Clang. + * + * There are other issues, such as GCC splitting _mm256_loadu_si256 into + * _mm_loadu_si128 + _mm256_inserti128_si256. This is an optimization which + * only applies to Sandy and Ivy Bridge... which don't even support AVX2. + * + * That is why when compiling the AVX2 version, it is recommended to use either + * -O2 -mavx2 -march=haswell + * or + * -O2 -mavx2 -mno-avx256-split-unaligned-load + * for decent performance, or to use Clang instead. + * + * Fortunately, we can control the first one with a pragma that forces GCC into + * -O2, but the other one we can't control without "failed to inline always + * inline function due to target mismatch" warnings. + */ +#if XXH_VECTOR == XXH_AVX2 /* AVX2 */ \ + && defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \ + && defined(__OPTIMIZE__) && !defined(__OPTIMIZE_SIZE__) /* respect -O0 and -Os */ +# pragma GCC push_options +# pragma GCC optimize("-O2") +#endif + + +#if XXH_VECTOR == XXH_NEON +/* + * NEON's setup for vmlal_u32 is a little more complicated than it is on + * SSE2, AVX2, and VSX. + * + * While PMULUDQ and VMULEUW both perform a mask, VMLAL.U32 performs an upcast. + * + * To do the same operation, the 128-bit 'Q' register needs to be split into + * two 64-bit 'D' registers, performing this operation:: + * + * [ a | b ] + * | '---------. .--------' | + * | x | + * | .---------' '--------. | + * [ a & 0xFFFFFFFF | b & 0xFFFFFFFF ],[ a >> 32 | b >> 32 ] + * + * Due to significant changes in aarch64, the fastest method for aarch64 is + * completely different than the fastest method for ARMv7-A. + * + * ARMv7-A treats D registers as unions overlaying Q registers, so modifying + * D11 will modify the high half of Q5. This is similar to how modifying AH + * will only affect bits 8-15 of AX on x86. + * + * VZIP takes two registers, and puts even lanes in one register and odd lanes + * in the other. + * + * On ARMv7-A, this strangely modifies both parameters in place instead of + * taking the usual 3-operand form. + * + * Therefore, if we want to do this, we can simply use a D-form VZIP.32 on the + * lower and upper halves of the Q register to end up with the high and low + * halves where we want - all in one instruction. + * + * vzip.32 d10, d11 @ d10 = { d10[0], d11[0] }; d11 = { d10[1], d11[1] } + * + * Unfortunately we need inline assembly for this: Instructions modifying two + * registers at once is not possible in GCC or Clang's IR, and they have to + * create a copy. + * + * aarch64 requires a different approach. + * + * In order to make it easier to write a decent compiler for aarch64, many + * quirks were removed, such as conditional execution. + * + * NEON was also affected by this. + * + * aarch64 cannot access the high bits of a Q-form register, and writes to a + * D-form register zero the high bits, similar to how writes to W-form scalar + * registers (or DWORD registers on x86_64) work. + * + * The formerly free vget_high intrinsics now require a vext (with a few + * exceptions) + * + * Additionally, VZIP was replaced by ZIP1 and ZIP2, which are the equivalent + * of PUNPCKL* and PUNPCKH* in SSE, respectively, in order to only modify one + * operand. + * + * The equivalent of the VZIP.32 on the lower and upper halves would be this + * mess: + * + * ext v2.4s, v0.4s, v0.4s, #2 // v2 = { v0[2], v0[3], v0[0], v0[1] } + * zip1 v1.2s, v0.2s, v2.2s // v1 = { v0[0], v2[0] } + * zip2 v0.2s, v0.2s, v1.2s // v0 = { v0[1], v2[1] } + * + * Instead, we use a literal downcast, vmovn_u64 (XTN), and vshrn_n_u64 (SHRN): + * + * shrn v1.2s, v0.2d, #32 // v1 = (uint32x2_t)(v0 >> 32); + * xtn v0.2s, v0.2d // v0 = (uint32x2_t)(v0 & 0xFFFFFFFF); + * + * This is available on ARMv7-A, but is less efficient than a single VZIP.32. + */ + +/*! + * Function-like macro: + * void XXH_SPLIT_IN_PLACE(uint64x2_t &in, uint32x2_t &outLo, uint32x2_t &outHi) + * { + * outLo = (uint32x2_t)(in & 0xFFFFFFFF); + * outHi = (uint32x2_t)(in >> 32); + * in = UNDEFINED; + * } + */ +# if !defined(XXH_NO_VZIP_HACK) /* define to disable */ \ + && defined(__GNUC__) \ + && !defined(__aarch64__) && !defined(__arm64__) +# define XXH_SPLIT_IN_PLACE(in, outLo, outHi) \ + do { \ + /* Undocumented GCC/Clang operand modifier: %e0 = lower D half, %f0 = upper D half */ \ + /* https://github.com/gcc-mirror/gcc/blob/38cf91e5/gcc/config/arm/arm.c#L22486 */ \ + /* https://github.com/llvm-mirror/llvm/blob/2c4ca683/lib/Target/ARM/ARMAsmPrinter.cpp#L399 */ \ + __asm__("vzip.32 %e0, %f0" : "+w" (in)); \ + (outLo) = vget_low_u32 (vreinterpretq_u32_u64(in)); \ + (outHi) = vget_high_u32(vreinterpretq_u32_u64(in)); \ + } while (0) +# else +# define XXH_SPLIT_IN_PLACE(in, outLo, outHi) \ + do { \ + (outLo) = vmovn_u64 (in); \ + (outHi) = vshrn_n_u64 ((in), 32); \ + } while (0) +# endif +#endif /* XXH_VECTOR == XXH_NEON */ + +/* + * VSX and Z Vector helpers. + * + * This is very messy, and any pull requests to clean this up are welcome. + * + * There are a lot of problems with supporting VSX and s390x, due to + * inconsistent intrinsics, spotty coverage, and multiple endiannesses. + */ +#if XXH_VECTOR == XXH_VSX +# if defined(__s390x__) +# include +# else +/* gcc's altivec.h can have the unwanted consequence to unconditionally + * #define bool, vector, and pixel keywords, + * with bad consequences for programs already using these keywords for other purposes. + * The paragraph defining these macros is skipped when __APPLE_ALTIVEC__ is defined. + * __APPLE_ALTIVEC__ is _generally_ defined automatically by the compiler, + * but it seems that, in some cases, it isn't. + * Force the build macro to be defined, so that keywords are not altered. + */ +# if defined(__GNUC__) && !defined(__APPLE_ALTIVEC__) +# define __APPLE_ALTIVEC__ +# endif +# include +# endif + +typedef __vector unsigned long long xxh_u64x2; +typedef __vector unsigned char xxh_u8x16; +typedef __vector unsigned xxh_u32x4; + +# ifndef XXH_VSX_BE +# if defined(__BIG_ENDIAN__) \ + || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) +# define XXH_VSX_BE 1 +# elif defined(__VEC_ELEMENT_REG_ORDER__) && __VEC_ELEMENT_REG_ORDER__ == __ORDER_BIG_ENDIAN__ +# warning "-maltivec=be is not recommended. Please use native endianness." +# define XXH_VSX_BE 1 +# else +# define XXH_VSX_BE 0 +# endif +# endif /* !defined(XXH_VSX_BE) */ + +# if XXH_VSX_BE +# if defined(__POWER9_VECTOR__) || (defined(__clang__) && defined(__s390x__)) +# define XXH_vec_revb vec_revb +# else +/*! + * A polyfill for POWER9's vec_revb(). + */ +XXH_FORCE_INLINE xxh_u64x2 XXH_vec_revb(xxh_u64x2 val) +{ + xxh_u8x16 const vByteSwap = { 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00, + 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x09, 0x08 }; + return vec_perm(val, val, vByteSwap); +} +# endif +# endif /* XXH_VSX_BE */ + +/*! + * Performs an unaligned vector load and byte swaps it on big endian. + */ +XXH_FORCE_INLINE xxh_u64x2 XXH_vec_loadu(const void *ptr) +{ + xxh_u64x2 ret; + memcpy(&ret, ptr, sizeof(xxh_u64x2)); +# if XXH_VSX_BE + ret = XXH_vec_revb(ret); +# endif + return ret; +} + +/* + * vec_mulo and vec_mule are very problematic intrinsics on PowerPC + * + * These intrinsics weren't added until GCC 8, despite existing for a while, + * and they are endian dependent. Also, their meaning swap depending on version. + * */ +# if defined(__s390x__) + /* s390x is always big endian, no issue on this platform */ +# define XXH_vec_mulo vec_mulo +# define XXH_vec_mule vec_mule +# elif defined(__clang__) && XXH_HAS_BUILTIN(__builtin_altivec_vmuleuw) +/* Clang has a better way to control this, we can just use the builtin which doesn't swap. */ +# define XXH_vec_mulo __builtin_altivec_vmulouw +# define XXH_vec_mule __builtin_altivec_vmuleuw +# else +/* gcc needs inline assembly */ +/* Adapted from https://github.com/google/highwayhash/blob/master/highwayhash/hh_vsx.h. */ +XXH_FORCE_INLINE xxh_u64x2 XXH_vec_mulo(xxh_u32x4 a, xxh_u32x4 b) +{ + xxh_u64x2 result; + __asm__("vmulouw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b)); + return result; +} +XXH_FORCE_INLINE xxh_u64x2 XXH_vec_mule(xxh_u32x4 a, xxh_u32x4 b) +{ + xxh_u64x2 result; + __asm__("vmuleuw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b)); + return result; +} +# endif /* XXH_vec_mulo, XXH_vec_mule */ +#endif /* XXH_VECTOR == XXH_VSX */ + + +/* prefetch + * can be disabled, by declaring XXH_NO_PREFETCH build macro */ +#if defined(XXH_NO_PREFETCH) +# define XXH_PREFETCH(ptr) (void)(ptr) /* disabled */ +#else +# if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)) /* _mm_prefetch() not defined outside of x86/x64 */ +# include /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */ +# define XXH_PREFETCH(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T0) +# elif defined(__GNUC__) && ( (__GNUC__ >= 4) || ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) ) ) +# define XXH_PREFETCH(ptr) __builtin_prefetch((ptr), 0 /* rw==read */, 3 /* locality */) +# else +# define XXH_PREFETCH(ptr) (void)(ptr) /* disabled */ +# endif +#endif /* XXH_NO_PREFETCH */ + + +/* ========================================== + * XXH3 default settings + * ========================================== */ + +#define XXH_SECRET_DEFAULT_SIZE 192 /* minimum XXH3_SECRET_SIZE_MIN */ + +#if (XXH_SECRET_DEFAULT_SIZE < XXH3_SECRET_SIZE_MIN) +# error "default keyset is not large enough" +#endif + +/*! Pseudorandom secret taken directly from FARSH. */ +XXH_ALIGN(64) static const xxh_u8 XXH3_kSecret[XXH_SECRET_DEFAULT_SIZE] = { + 0xb8, 0xfe, 0x6c, 0x39, 0x23, 0xa4, 0x4b, 0xbe, 0x7c, 0x01, 0x81, 0x2c, 0xf7, 0x21, 0xad, 0x1c, + 0xde, 0xd4, 0x6d, 0xe9, 0x83, 0x90, 0x97, 0xdb, 0x72, 0x40, 0xa4, 0xa4, 0xb7, 0xb3, 0x67, 0x1f, + 0xcb, 0x79, 0xe6, 0x4e, 0xcc, 0xc0, 0xe5, 0x78, 0x82, 0x5a, 0xd0, 0x7d, 0xcc, 0xff, 0x72, 0x21, + 0xb8, 0x08, 0x46, 0x74, 0xf7, 0x43, 0x24, 0x8e, 0xe0, 0x35, 0x90, 0xe6, 0x81, 0x3a, 0x26, 0x4c, + 0x3c, 0x28, 0x52, 0xbb, 0x91, 0xc3, 0x00, 0xcb, 0x88, 0xd0, 0x65, 0x8b, 0x1b, 0x53, 0x2e, 0xa3, + 0x71, 0x64, 0x48, 0x97, 0xa2, 0x0d, 0xf9, 0x4e, 0x38, 0x19, 0xef, 0x46, 0xa9, 0xde, 0xac, 0xd8, + 0xa8, 0xfa, 0x76, 0x3f, 0xe3, 0x9c, 0x34, 0x3f, 0xf9, 0xdc, 0xbb, 0xc7, 0xc7, 0x0b, 0x4f, 0x1d, + 0x8a, 0x51, 0xe0, 0x4b, 0xcd, 0xb4, 0x59, 0x31, 0xc8, 0x9f, 0x7e, 0xc9, 0xd9, 0x78, 0x73, 0x64, + 0xea, 0xc5, 0xac, 0x83, 0x34, 0xd3, 0xeb, 0xc3, 0xc5, 0x81, 0xa0, 0xff, 0xfa, 0x13, 0x63, 0xeb, + 0x17, 0x0d, 0xdd, 0x51, 0xb7, 0xf0, 0xda, 0x49, 0xd3, 0x16, 0x55, 0x26, 0x29, 0xd4, 0x68, 0x9e, + 0x2b, 0x16, 0xbe, 0x58, 0x7d, 0x47, 0xa1, 0xfc, 0x8f, 0xf8, 0xb8, 0xd1, 0x7a, 0xd0, 0x31, 0xce, + 0x45, 0xcb, 0x3a, 0x8f, 0x95, 0x16, 0x04, 0x28, 0xaf, 0xd7, 0xfb, 0xca, 0xbb, 0x4b, 0x40, 0x7e, +}; + + +#ifdef XXH_OLD_NAMES +# define kSecret XXH3_kSecret +#endif + +#ifdef XXH_DOXYGEN +/*! + * @brief Calculates a 32-bit to 64-bit long multiply. + * + * Implemented as a macro. + * + * Wraps `__emulu` on MSVC x86 because it tends to call `__allmul` when it doesn't + * need to (but it shouldn't need to anyways, it is about 7 instructions to do + * a 64x64 multiply...). Since we know that this will _always_ emit `MULL`, we + * use that instead of the normal method. + * + * If you are compiling for platforms like Thumb-1 and don't have a better option, + * you may also want to write your own long multiply routine here. + * + * @param x, y Numbers to be multiplied + * @return 64-bit product of the low 32 bits of @p x and @p y. + */ +XXH_FORCE_INLINE xxh_u64 +XXH_mult32to64(xxh_u64 x, xxh_u64 y) +{ + return (x & 0xFFFFFFFF) * (y & 0xFFFFFFFF); +} +#elif defined(_MSC_VER) && defined(_M_IX86) +# include +# define XXH_mult32to64(x, y) __emulu((unsigned)(x), (unsigned)(y)) +#else +/* + * Downcast + upcast is usually better than masking on older compilers like + * GCC 4.2 (especially 32-bit ones), all without affecting newer compilers. + * + * The other method, (x & 0xFFFFFFFF) * (y & 0xFFFFFFFF), will AND both operands + * and perform a full 64x64 multiply -- entirely redundant on 32-bit. + */ +# define XXH_mult32to64(x, y) ((xxh_u64)(xxh_u32)(x) * (xxh_u64)(xxh_u32)(y)) +#endif + +/*! + * @brief Calculates a 64->128-bit long multiply. + * + * Uses `__uint128_t` and `_umul128` if available, otherwise uses a scalar + * version. + * + * @param lhs, rhs The 64-bit integers to be multiplied + * @return The 128-bit result represented in an @ref XXH128_hash_t. + */ +static XXH128_hash_t +XXH_mult64to128(xxh_u64 lhs, xxh_u64 rhs) +{ + /* + * GCC/Clang __uint128_t method. + * + * On most 64-bit targets, GCC and Clang define a __uint128_t type. + * This is usually the best way as it usually uses a native long 64-bit + * multiply, such as MULQ on x86_64 or MUL + UMULH on aarch64. + * + * Usually. + * + * Despite being a 32-bit platform, Clang (and emscripten) define this type + * despite not having the arithmetic for it. This results in a laggy + * compiler builtin call which calculates a full 128-bit multiply. + * In that case it is best to use the portable one. + * https://github.com/Cyan4973/xxHash/issues/211#issuecomment-515575677 + */ +#if defined(__GNUC__) && !defined(__wasm__) \ + && defined(__SIZEOF_INT128__) \ + || (defined(_INTEGRAL_MAX_BITS) && _INTEGRAL_MAX_BITS >= 128) + + __uint128_t const product = (__uint128_t)lhs * (__uint128_t)rhs; + XXH128_hash_t r128; + r128.low64 = (xxh_u64)(product); + r128.high64 = (xxh_u64)(product >> 64); + return r128; + + /* + * MSVC for x64's _umul128 method. + * + * xxh_u64 _umul128(xxh_u64 Multiplier, xxh_u64 Multiplicand, xxh_u64 *HighProduct); + * + * This compiles to single operand MUL on x64. + */ +#elif defined(_M_X64) || defined(_M_IA64) + +#ifndef _MSC_VER +# pragma intrinsic(_umul128) +#endif + xxh_u64 product_high; + xxh_u64 const product_low = _umul128(lhs, rhs, &product_high); + XXH128_hash_t r128; + r128.low64 = product_low; + r128.high64 = product_high; + return r128; + +#else + /* + * Portable scalar method. Optimized for 32-bit and 64-bit ALUs. + * + * This is a fast and simple grade school multiply, which is shown below + * with base 10 arithmetic instead of base 0x100000000. + * + * 9 3 // D2 lhs = 93 + * x 7 5 // D2 rhs = 75 + * ---------- + * 1 5 // D2 lo_lo = (93 % 10) * (75 % 10) = 15 + * 4 5 | // D2 hi_lo = (93 / 10) * (75 % 10) = 45 + * 2 1 | // D2 lo_hi = (93 % 10) * (75 / 10) = 21 + * + 6 3 | | // D2 hi_hi = (93 / 10) * (75 / 10) = 63 + * --------- + * 2 7 | // D2 cross = (15 / 10) + (45 % 10) + 21 = 27 + * + 6 7 | | // D2 upper = (27 / 10) + (45 / 10) + 63 = 67 + * --------- + * 6 9 7 5 // D4 res = (27 * 10) + (15 % 10) + (67 * 100) = 6975 + * + * The reasons for adding the products like this are: + * 1. It avoids manual carry tracking. Just like how + * (9 * 9) + 9 + 9 = 99, the same applies with this for UINT64_MAX. + * This avoids a lot of complexity. + * + * 2. It hints for, and on Clang, compiles to, the powerful UMAAL + * instruction available in ARM's Digital Signal Processing extension + * in 32-bit ARMv6 and later, which is shown below: + * + * void UMAAL(xxh_u32 *RdLo, xxh_u32 *RdHi, xxh_u32 Rn, xxh_u32 Rm) + * { + * xxh_u64 product = (xxh_u64)*RdLo * (xxh_u64)*RdHi + Rn + Rm; + * *RdLo = (xxh_u32)(product & 0xFFFFFFFF); + * *RdHi = (xxh_u32)(product >> 32); + * } + * + * This instruction was designed for efficient long multiplication, and + * allows this to be calculated in only 4 instructions at speeds + * comparable to some 64-bit ALUs. + * + * 3. It isn't terrible on other platforms. Usually this will be a couple + * of 32-bit ADD/ADCs. + */ + + /* First calculate all of the cross products. */ + xxh_u64 const lo_lo = XXH_mult32to64(lhs & 0xFFFFFFFF, rhs & 0xFFFFFFFF); + xxh_u64 const hi_lo = XXH_mult32to64(lhs >> 32, rhs & 0xFFFFFFFF); + xxh_u64 const lo_hi = XXH_mult32to64(lhs & 0xFFFFFFFF, rhs >> 32); + xxh_u64 const hi_hi = XXH_mult32to64(lhs >> 32, rhs >> 32); + + /* Now add the products together. These will never overflow. */ + xxh_u64 const cross = (lo_lo >> 32) + (hi_lo & 0xFFFFFFFF) + lo_hi; + xxh_u64 const upper = (hi_lo >> 32) + (cross >> 32) + hi_hi; + xxh_u64 const lower = (cross << 32) | (lo_lo & 0xFFFFFFFF); + + XXH128_hash_t r128; + r128.low64 = lower; + r128.high64 = upper; + return r128; +#endif +} + +/*! + * @brief Calculates a 64-bit to 128-bit multiply, then XOR folds it. + * + * The reason for the separate function is to prevent passing too many structs + * around by value. This will hopefully inline the multiply, but we don't force it. + * + * @param lhs, rhs The 64-bit integers to multiply + * @return The low 64 bits of the product XOR'd by the high 64 bits. + * @see XXH_mult64to128() + */ +static xxh_u64 +XXH3_mul128_fold64(xxh_u64 lhs, xxh_u64 rhs) +{ + XXH128_hash_t product = XXH_mult64to128(lhs, rhs); + return product.low64 ^ product.high64; +} + +/*! Seems to produce slightly better code on GCC for some reason. */ +XXH_FORCE_INLINE xxh_u64 XXH_xorshift64(xxh_u64 v64, int shift) +{ + XXH_ASSERT(0 <= shift && shift < 64); + return v64 ^ (v64 >> shift); +} + +/* + * This is a fast avalanche stage, + * suitable when input bits are already partially mixed + */ +static XXH64_hash_t XXH3_avalanche(xxh_u64 h64) +{ + h64 = XXH_xorshift64(h64, 37); + h64 *= 0x165667919E3779F9ULL; + h64 = XXH_xorshift64(h64, 32); + return h64; +} + +/* + * This is a stronger avalanche, + * inspired by Pelle Evensen's rrmxmx + * preferable when input has not been previously mixed + */ +static XXH64_hash_t XXH3_rrmxmx(xxh_u64 h64, xxh_u64 len) +{ + /* this mix is inspired by Pelle Evensen's rrmxmx */ + h64 ^= XXH_rotl64(h64, 49) ^ XXH_rotl64(h64, 24); + h64 *= 0x9FB21C651E98DF25ULL; + h64 ^= (h64 >> 35) + len ; + h64 *= 0x9FB21C651E98DF25ULL; + return XXH_xorshift64(h64, 28); +} + + +/* ========================================== + * Short keys + * ========================================== + * One of the shortcomings of XXH32 and XXH64 was that their performance was + * sub-optimal on short lengths. It used an iterative algorithm which strongly + * favored lengths that were a multiple of 4 or 8. + * + * Instead of iterating over individual inputs, we use a set of single shot + * functions which piece together a range of lengths and operate in constant time. + * + * Additionally, the number of multiplies has been significantly reduced. This + * reduces latency, especially when emulating 64-bit multiplies on 32-bit. + * + * Depending on the platform, this may or may not be faster than XXH32, but it + * is almost guaranteed to be faster than XXH64. + */ + +/* + * At very short lengths, there isn't enough input to fully hide secrets, or use + * the entire secret. + * + * There is also only a limited amount of mixing we can do before significantly + * impacting performance. + * + * Therefore, we use different sections of the secret and always mix two secret + * samples with an XOR. This should have no effect on performance on the + * seedless or withSeed variants because everything _should_ be constant folded + * by modern compilers. + * + * The XOR mixing hides individual parts of the secret and increases entropy. + * + * This adds an extra layer of strength for custom secrets. + */ +XXH_FORCE_INLINE XXH64_hash_t +XXH3_len_1to3_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + XXH_ASSERT(input != NULL); + XXH_ASSERT(1 <= len && len <= 3); + XXH_ASSERT(secret != NULL); + /* + * len = 1: combined = { input[0], 0x01, input[0], input[0] } + * len = 2: combined = { input[1], 0x02, input[0], input[1] } + * len = 3: combined = { input[2], 0x03, input[0], input[1] } + */ + { xxh_u8 const c1 = input[0]; + xxh_u8 const c2 = input[len >> 1]; + xxh_u8 const c3 = input[len - 1]; + xxh_u32 const combined = ((xxh_u32)c1 << 16) | ((xxh_u32)c2 << 24) + | ((xxh_u32)c3 << 0) | ((xxh_u32)len << 8); + xxh_u64 const bitflip = (XXH_readLE32(secret) ^ XXH_readLE32(secret+4)) + seed; + xxh_u64 const keyed = (xxh_u64)combined ^ bitflip; + return XXH64_avalanche(keyed); + } +} + +XXH_FORCE_INLINE XXH64_hash_t +XXH3_len_4to8_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + XXH_ASSERT(input != NULL); + XXH_ASSERT(secret != NULL); + XXH_ASSERT(4 <= len && len < 8); + seed ^= (xxh_u64)XXH_swap32((xxh_u32)seed) << 32; + { xxh_u32 const input1 = XXH_readLE32(input); + xxh_u32 const input2 = XXH_readLE32(input + len - 4); + xxh_u64 const bitflip = (XXH_readLE64(secret+8) ^ XXH_readLE64(secret+16)) - seed; + xxh_u64 const input64 = input2 + (((xxh_u64)input1) << 32); + xxh_u64 const keyed = input64 ^ bitflip; + return XXH3_rrmxmx(keyed, len); + } +} + +XXH_FORCE_INLINE XXH64_hash_t +XXH3_len_9to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + XXH_ASSERT(input != NULL); + XXH_ASSERT(secret != NULL); + XXH_ASSERT(8 <= len && len <= 16); + { xxh_u64 const bitflip1 = (XXH_readLE64(secret+24) ^ XXH_readLE64(secret+32)) + seed; + xxh_u64 const bitflip2 = (XXH_readLE64(secret+40) ^ XXH_readLE64(secret+48)) - seed; + xxh_u64 const input_lo = XXH_readLE64(input) ^ bitflip1; + xxh_u64 const input_hi = XXH_readLE64(input + len - 8) ^ bitflip2; + xxh_u64 const acc = len + + XXH_swap64(input_lo) + input_hi + + XXH3_mul128_fold64(input_lo, input_hi); + return XXH3_avalanche(acc); + } +} + +XXH_FORCE_INLINE XXH64_hash_t +XXH3_len_0to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + XXH_ASSERT(len <= 16); + { if (XXH_likely(len > 8)) return XXH3_len_9to16_64b(input, len, secret, seed); + if (XXH_likely(len >= 4)) return XXH3_len_4to8_64b(input, len, secret, seed); + if (len) return XXH3_len_1to3_64b(input, len, secret, seed); + return XXH64_avalanche(seed ^ (XXH_readLE64(secret+56) ^ XXH_readLE64(secret+64))); + } +} + +/* + * DISCLAIMER: There are known *seed-dependent* multicollisions here due to + * multiplication by zero, affecting hashes of lengths 17 to 240. + * + * However, they are very unlikely. + * + * Keep this in mind when using the unseeded XXH3_64bits() variant: As with all + * unseeded non-cryptographic hashes, it does not attempt to defend itself + * against specially crafted inputs, only random inputs. + * + * Compared to classic UMAC where a 1 in 2^31 chance of 4 consecutive bytes + * cancelling out the secret is taken an arbitrary number of times (addressed + * in XXH3_accumulate_512), this collision is very unlikely with random inputs + * and/or proper seeding: + * + * This only has a 1 in 2^63 chance of 8 consecutive bytes cancelling out, in a + * function that is only called up to 16 times per hash with up to 240 bytes of + * input. + * + * This is not too bad for a non-cryptographic hash function, especially with + * only 64 bit outputs. + * + * The 128-bit variant (which trades some speed for strength) is NOT affected + * by this, although it is always a good idea to use a proper seed if you care + * about strength. + */ +XXH_FORCE_INLINE xxh_u64 XXH3_mix16B(const xxh_u8* XXH_RESTRICT input, + const xxh_u8* XXH_RESTRICT secret, xxh_u64 seed64) +{ +#if defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \ + && defined(__i386__) && defined(__SSE2__) /* x86 + SSE2 */ \ + && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable like XXH32 hack */ + /* + * UGLY HACK: + * GCC for x86 tends to autovectorize the 128-bit multiply, resulting in + * slower code. + * + * By forcing seed64 into a register, we disrupt the cost model and + * cause it to scalarize. See `XXH32_round()` + * + * FIXME: Clang's output is still _much_ faster -- On an AMD Ryzen 3600, + * XXH3_64bits @ len=240 runs at 4.6 GB/s with Clang 9, but 3.3 GB/s on + * GCC 9.2, despite both emitting scalar code. + * + * GCC generates much better scalar code than Clang for the rest of XXH3, + * which is why finding a more optimal codepath is an interest. + */ + __asm__ ("" : "+r" (seed64)); +#endif + { xxh_u64 const input_lo = XXH_readLE64(input); + xxh_u64 const input_hi = XXH_readLE64(input+8); + return XXH3_mul128_fold64( + input_lo ^ (XXH_readLE64(secret) + seed64), + input_hi ^ (XXH_readLE64(secret+8) - seed64) + ); + } +} + +/* For mid range keys, XXH3 uses a Mum-hash variant. */ +XXH_FORCE_INLINE XXH64_hash_t +XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len, + const xxh_u8* XXH_RESTRICT secret, size_t secretSize, + XXH64_hash_t seed) +{ + XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; + XXH_ASSERT(16 < len && len <= 128); + + { xxh_u64 acc = len * XXH_PRIME64_1; + if (len > 32) { + if (len > 64) { + if (len > 96) { + acc += XXH3_mix16B(input+48, secret+96, seed); + acc += XXH3_mix16B(input+len-64, secret+112, seed); + } + acc += XXH3_mix16B(input+32, secret+64, seed); + acc += XXH3_mix16B(input+len-48, secret+80, seed); + } + acc += XXH3_mix16B(input+16, secret+32, seed); + acc += XXH3_mix16B(input+len-32, secret+48, seed); + } + acc += XXH3_mix16B(input+0, secret+0, seed); + acc += XXH3_mix16B(input+len-16, secret+16, seed); + + return XXH3_avalanche(acc); + } +} + +#define XXH3_MIDSIZE_MAX 240 + +XXH_NO_INLINE XXH64_hash_t +XXH3_len_129to240_64b(const xxh_u8* XXH_RESTRICT input, size_t len, + const xxh_u8* XXH_RESTRICT secret, size_t secretSize, + XXH64_hash_t seed) +{ + XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; + XXH_ASSERT(128 < len && len <= XXH3_MIDSIZE_MAX); + + #define XXH3_MIDSIZE_STARTOFFSET 3 + #define XXH3_MIDSIZE_LASTOFFSET 17 + + { xxh_u64 acc = len * XXH_PRIME64_1; + int const nbRounds = (int)len / 16; + int i; + for (i=0; i<8; i++) { + acc += XXH3_mix16B(input+(16*i), secret+(16*i), seed); + } + acc = XXH3_avalanche(acc); + XXH_ASSERT(nbRounds >= 8); +#if defined(__clang__) /* Clang */ \ + && (defined(__ARM_NEON) || defined(__ARM_NEON__)) /* NEON */ \ + && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable */ + /* + * UGLY HACK: + * Clang for ARMv7-A tries to vectorize this loop, similar to GCC x86. + * In everywhere else, it uses scalar code. + * + * For 64->128-bit multiplies, even if the NEON was 100% optimal, it + * would still be slower than UMAAL (see XXH_mult64to128). + * + * Unfortunately, Clang doesn't handle the long multiplies properly and + * converts them to the nonexistent "vmulq_u64" intrinsic, which is then + * scalarized into an ugly mess of VMOV.32 instructions. + * + * This mess is difficult to avoid without turning autovectorization + * off completely, but they are usually relatively minor and/or not + * worth it to fix. + * + * This loop is the easiest to fix, as unlike XXH32, this pragma + * _actually works_ because it is a loop vectorization instead of an + * SLP vectorization. + */ + #pragma clang loop vectorize(disable) +#endif + for (i=8 ; i < nbRounds; i++) { + acc += XXH3_mix16B(input+(16*i), secret+(16*(i-8)) + XXH3_MIDSIZE_STARTOFFSET, seed); + } + /* last bytes */ + acc += XXH3_mix16B(input + len - 16, secret + XXH3_SECRET_SIZE_MIN - XXH3_MIDSIZE_LASTOFFSET, seed); + return XXH3_avalanche(acc); + } +} + + +/* ======= Long Keys ======= */ + +#define XXH_STRIPE_LEN 64 +#define XXH_SECRET_CONSUME_RATE 8 /* nb of secret bytes consumed at each accumulation */ +#define XXH_ACC_NB (XXH_STRIPE_LEN / sizeof(xxh_u64)) + +#ifdef XXH_OLD_NAMES +# define STRIPE_LEN XXH_STRIPE_LEN +# define ACC_NB XXH_ACC_NB +#endif + +XXH_FORCE_INLINE void XXH_writeLE64(void* dst, xxh_u64 v64) +{ + if (!XXH_CPU_LITTLE_ENDIAN) v64 = XXH_swap64(v64); + memcpy(dst, &v64, sizeof(v64)); +} + +/* Several intrinsic functions below are supposed to accept __int64 as argument, + * as documented in https://software.intel.com/sites/landingpage/IntrinsicsGuide/ . + * However, several environments do not define __int64 type, + * requiring a workaround. + */ +#if !defined (__VMS) \ + && (defined (__cplusplus) \ + || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) + typedef int64_t xxh_i64; +#else + /* the following type must have a width of 64-bit */ + typedef long long xxh_i64; +#endif + +/* + * XXH3_accumulate_512 is the tightest loop for long inputs, and it is the most optimized. + * + * It is a hardened version of UMAC, based off of FARSH's implementation. + * + * This was chosen because it adapts quite well to 32-bit, 64-bit, and SIMD + * implementations, and it is ridiculously fast. + * + * We harden it by mixing the original input to the accumulators as well as the product. + * + * This means that in the (relatively likely) case of a multiply by zero, the + * original input is preserved. + * + * On 128-bit inputs, we swap 64-bit pairs when we add the input to improve + * cross-pollination, as otherwise the upper and lower halves would be + * essentially independent. + * + * This doesn't matter on 64-bit hashes since they all get merged together in + * the end, so we skip the extra step. + * + * Both XXH3_64bits and XXH3_128bits use this subroutine. + */ + +#if (XXH_VECTOR == XXH_AVX512) \ + || (defined(XXH_DISPATCH_AVX512) && XXH_DISPATCH_AVX512 != 0) + +#ifndef XXH_TARGET_AVX512 +# define XXH_TARGET_AVX512 /* disable attribute target */ +#endif + +XXH_FORCE_INLINE XXH_TARGET_AVX512 void +XXH3_accumulate_512_avx512(void* XXH_RESTRICT acc, + const void* XXH_RESTRICT input, + const void* XXH_RESTRICT secret) +{ + XXH_ALIGN(64) __m512i* const xacc = (__m512i *) acc; + XXH_ASSERT((((size_t)acc) & 63) == 0); + XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i)); + + { + /* data_vec = input[0]; */ + __m512i const data_vec = _mm512_loadu_si512 (input); + /* key_vec = secret[0]; */ + __m512i const key_vec = _mm512_loadu_si512 (secret); + /* data_key = data_vec ^ key_vec; */ + __m512i const data_key = _mm512_xor_si512 (data_vec, key_vec); + /* data_key_lo = data_key >> 32; */ + __m512i const data_key_lo = _mm512_shuffle_epi32 (data_key, (_MM_PERM_ENUM)_MM_SHUFFLE(0, 3, 0, 1)); + /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */ + __m512i const product = _mm512_mul_epu32 (data_key, data_key_lo); + /* xacc[0] += swap(data_vec); */ + __m512i const data_swap = _mm512_shuffle_epi32(data_vec, (_MM_PERM_ENUM)_MM_SHUFFLE(1, 0, 3, 2)); + __m512i const sum = _mm512_add_epi64(*xacc, data_swap); + /* xacc[0] += product; */ + *xacc = _mm512_add_epi64(product, sum); + } +} + +/* + * XXH3_scrambleAcc: Scrambles the accumulators to improve mixing. + * + * Multiplication isn't perfect, as explained by Google in HighwayHash: + * + * // Multiplication mixes/scrambles bytes 0-7 of the 64-bit result to + * // varying degrees. In descending order of goodness, bytes + * // 3 4 2 5 1 6 0 7 have quality 228 224 164 160 100 96 36 32. + * // As expected, the upper and lower bytes are much worse. + * + * Source: https://github.com/google/highwayhash/blob/0aaf66b/highwayhash/hh_avx2.h#L291 + * + * Since our algorithm uses a pseudorandom secret to add some variance into the + * mix, we don't need to (or want to) mix as often or as much as HighwayHash does. + * + * This isn't as tight as XXH3_accumulate, but still written in SIMD to avoid + * extraction. + * + * Both XXH3_64bits and XXH3_128bits use this subroutine. + */ + +XXH_FORCE_INLINE XXH_TARGET_AVX512 void +XXH3_scrambleAcc_avx512(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) +{ + XXH_ASSERT((((size_t)acc) & 63) == 0); + XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i)); + { XXH_ALIGN(64) __m512i* const xacc = (__m512i*) acc; + const __m512i prime32 = _mm512_set1_epi32((int)XXH_PRIME32_1); + + /* xacc[0] ^= (xacc[0] >> 47) */ + __m512i const acc_vec = *xacc; + __m512i const shifted = _mm512_srli_epi64 (acc_vec, 47); + __m512i const data_vec = _mm512_xor_si512 (acc_vec, shifted); + /* xacc[0] ^= secret; */ + __m512i const key_vec = _mm512_loadu_si512 (secret); + __m512i const data_key = _mm512_xor_si512 (data_vec, key_vec); + + /* xacc[0] *= XXH_PRIME32_1; */ + __m512i const data_key_hi = _mm512_shuffle_epi32 (data_key, (_MM_PERM_ENUM)_MM_SHUFFLE(0, 3, 0, 1)); + __m512i const prod_lo = _mm512_mul_epu32 (data_key, prime32); + __m512i const prod_hi = _mm512_mul_epu32 (data_key_hi, prime32); + *xacc = _mm512_add_epi64(prod_lo, _mm512_slli_epi64(prod_hi, 32)); + } +} + +XXH_FORCE_INLINE XXH_TARGET_AVX512 void +XXH3_initCustomSecret_avx512(void* XXH_RESTRICT customSecret, xxh_u64 seed64) +{ + XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 63) == 0); + XXH_STATIC_ASSERT(XXH_SEC_ALIGN == 64); + XXH_ASSERT(((size_t)customSecret & 63) == 0); + (void)(&XXH_writeLE64); + { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / sizeof(__m512i); + __m512i const seed = _mm512_mask_set1_epi64(_mm512_set1_epi64((xxh_i64)seed64), 0xAA, -(xxh_i64)seed64); + + XXH_ALIGN(64) const __m512i* const src = (const __m512i*) XXH3_kSecret; + XXH_ALIGN(64) __m512i* const dest = ( __m512i*) customSecret; + int i; + for (i=0; i < nbRounds; ++i) { + /* GCC has a bug, _mm512_stream_load_si512 accepts 'void*', not 'void const*', + * this will warn "discards ‘const’ qualifier". */ + union { + XXH_ALIGN(64) const __m512i* cp; + XXH_ALIGN(64) void* p; + } remote_const_void; + remote_const_void.cp = src + i; + dest[i] = _mm512_add_epi64(_mm512_stream_load_si512(remote_const_void.p), seed); + } } +} + +#endif + +#if (XXH_VECTOR == XXH_AVX2) \ + || (defined(XXH_DISPATCH_AVX2) && XXH_DISPATCH_AVX2 != 0) + +#ifndef XXH_TARGET_AVX2 +# define XXH_TARGET_AVX2 /* disable attribute target */ +#endif + +XXH_FORCE_INLINE XXH_TARGET_AVX2 void +XXH3_accumulate_512_avx2( void* XXH_RESTRICT acc, + const void* XXH_RESTRICT input, + const void* XXH_RESTRICT secret) +{ + XXH_ASSERT((((size_t)acc) & 31) == 0); + { XXH_ALIGN(32) __m256i* const xacc = (__m256i *) acc; + /* Unaligned. This is mainly for pointer arithmetic, and because + * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */ + const __m256i* const xinput = (const __m256i *) input; + /* Unaligned. This is mainly for pointer arithmetic, and because + * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */ + const __m256i* const xsecret = (const __m256i *) secret; + + size_t i; + for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) { + /* data_vec = xinput[i]; */ + __m256i const data_vec = _mm256_loadu_si256 (xinput+i); + /* key_vec = xsecret[i]; */ + __m256i const key_vec = _mm256_loadu_si256 (xsecret+i); + /* data_key = data_vec ^ key_vec; */ + __m256i const data_key = _mm256_xor_si256 (data_vec, key_vec); + /* data_key_lo = data_key >> 32; */ + __m256i const data_key_lo = _mm256_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); + /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */ + __m256i const product = _mm256_mul_epu32 (data_key, data_key_lo); + /* xacc[i] += swap(data_vec); */ + __m256i const data_swap = _mm256_shuffle_epi32(data_vec, _MM_SHUFFLE(1, 0, 3, 2)); + __m256i const sum = _mm256_add_epi64(xacc[i], data_swap); + /* xacc[i] += product; */ + xacc[i] = _mm256_add_epi64(product, sum); + } } +} + +XXH_FORCE_INLINE XXH_TARGET_AVX2 void +XXH3_scrambleAcc_avx2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) +{ + XXH_ASSERT((((size_t)acc) & 31) == 0); + { XXH_ALIGN(32) __m256i* const xacc = (__m256i*) acc; + /* Unaligned. This is mainly for pointer arithmetic, and because + * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */ + const __m256i* const xsecret = (const __m256i *) secret; + const __m256i prime32 = _mm256_set1_epi32((int)XXH_PRIME32_1); + + size_t i; + for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) { + /* xacc[i] ^= (xacc[i] >> 47) */ + __m256i const acc_vec = xacc[i]; + __m256i const shifted = _mm256_srli_epi64 (acc_vec, 47); + __m256i const data_vec = _mm256_xor_si256 (acc_vec, shifted); + /* xacc[i] ^= xsecret; */ + __m256i const key_vec = _mm256_loadu_si256 (xsecret+i); + __m256i const data_key = _mm256_xor_si256 (data_vec, key_vec); + + /* xacc[i] *= XXH_PRIME32_1; */ + __m256i const data_key_hi = _mm256_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); + __m256i const prod_lo = _mm256_mul_epu32 (data_key, prime32); + __m256i const prod_hi = _mm256_mul_epu32 (data_key_hi, prime32); + xacc[i] = _mm256_add_epi64(prod_lo, _mm256_slli_epi64(prod_hi, 32)); + } + } +} + +XXH_FORCE_INLINE XXH_TARGET_AVX2 void XXH3_initCustomSecret_avx2(void* XXH_RESTRICT customSecret, xxh_u64 seed64) +{ + XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 31) == 0); + XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE / sizeof(__m256i)) == 6); + XXH_STATIC_ASSERT(XXH_SEC_ALIGN <= 64); + (void)(&XXH_writeLE64); + XXH_PREFETCH(customSecret); + { __m256i const seed = _mm256_set_epi64x(-(xxh_i64)seed64, (xxh_i64)seed64, -(xxh_i64)seed64, (xxh_i64)seed64); + + XXH_ALIGN(64) const __m256i* const src = (const __m256i*) XXH3_kSecret; + XXH_ALIGN(64) __m256i* dest = ( __m256i*) customSecret; + +# if defined(__GNUC__) || defined(__clang__) + /* + * On GCC & Clang, marking 'dest' as modified will cause the compiler: + * - do not extract the secret from sse registers in the internal loop + * - use less common registers, and avoid pushing these reg into stack + * The asm hack causes Clang to assume that XXH3_kSecretPtr aliases with + * customSecret, and on aarch64, this prevented LDP from merging two + * loads together for free. Putting the loads together before the stores + * properly generates LDP. + */ + __asm__("" : "+r" (dest)); +# endif + + /* GCC -O2 need unroll loop manually */ + dest[0] = _mm256_add_epi64(_mm256_stream_load_si256(src+0), seed); + dest[1] = _mm256_add_epi64(_mm256_stream_load_si256(src+1), seed); + dest[2] = _mm256_add_epi64(_mm256_stream_load_si256(src+2), seed); + dest[3] = _mm256_add_epi64(_mm256_stream_load_si256(src+3), seed); + dest[4] = _mm256_add_epi64(_mm256_stream_load_si256(src+4), seed); + dest[5] = _mm256_add_epi64(_mm256_stream_load_si256(src+5), seed); + } +} + +#endif + +/* x86dispatch always generates SSE2 */ +#if (XXH_VECTOR == XXH_SSE2) || defined(XXH_X86DISPATCH) + +#ifndef XXH_TARGET_SSE2 +# define XXH_TARGET_SSE2 /* disable attribute target */ +#endif + +XXH_FORCE_INLINE XXH_TARGET_SSE2 void +XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc, + const void* XXH_RESTRICT input, + const void* XXH_RESTRICT secret) +{ + /* SSE2 is just a half-scale version of the AVX2 version. */ + XXH_ASSERT((((size_t)acc) & 15) == 0); + { XXH_ALIGN(16) __m128i* const xacc = (__m128i *) acc; + /* Unaligned. This is mainly for pointer arithmetic, and because + * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */ + const __m128i* const xinput = (const __m128i *) input; + /* Unaligned. This is mainly for pointer arithmetic, and because + * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */ + const __m128i* const xsecret = (const __m128i *) secret; + + size_t i; + for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) { + /* data_vec = xinput[i]; */ + __m128i const data_vec = _mm_loadu_si128 (xinput+i); + /* key_vec = xsecret[i]; */ + __m128i const key_vec = _mm_loadu_si128 (xsecret+i); + /* data_key = data_vec ^ key_vec; */ + __m128i const data_key = _mm_xor_si128 (data_vec, key_vec); + /* data_key_lo = data_key >> 32; */ + __m128i const data_key_lo = _mm_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); + /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */ + __m128i const product = _mm_mul_epu32 (data_key, data_key_lo); + /* xacc[i] += swap(data_vec); */ + __m128i const data_swap = _mm_shuffle_epi32(data_vec, _MM_SHUFFLE(1,0,3,2)); + __m128i const sum = _mm_add_epi64(xacc[i], data_swap); + /* xacc[i] += product; */ + xacc[i] = _mm_add_epi64(product, sum); + } } +} + +XXH_FORCE_INLINE XXH_TARGET_SSE2 void +XXH3_scrambleAcc_sse2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) +{ + XXH_ASSERT((((size_t)acc) & 15) == 0); + { XXH_ALIGN(16) __m128i* const xacc = (__m128i*) acc; + /* Unaligned. This is mainly for pointer arithmetic, and because + * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */ + const __m128i* const xsecret = (const __m128i *) secret; + const __m128i prime32 = _mm_set1_epi32((int)XXH_PRIME32_1); + + size_t i; + for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) { + /* xacc[i] ^= (xacc[i] >> 47) */ + __m128i const acc_vec = xacc[i]; + __m128i const shifted = _mm_srli_epi64 (acc_vec, 47); + __m128i const data_vec = _mm_xor_si128 (acc_vec, shifted); + /* xacc[i] ^= xsecret[i]; */ + __m128i const key_vec = _mm_loadu_si128 (xsecret+i); + __m128i const data_key = _mm_xor_si128 (data_vec, key_vec); + + /* xacc[i] *= XXH_PRIME32_1; */ + __m128i const data_key_hi = _mm_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1)); + __m128i const prod_lo = _mm_mul_epu32 (data_key, prime32); + __m128i const prod_hi = _mm_mul_epu32 (data_key_hi, prime32); + xacc[i] = _mm_add_epi64(prod_lo, _mm_slli_epi64(prod_hi, 32)); + } + } +} + +XXH_FORCE_INLINE XXH_TARGET_SSE2 void XXH3_initCustomSecret_sse2(void* XXH_RESTRICT customSecret, xxh_u64 seed64) +{ + XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 15) == 0); + (void)(&XXH_writeLE64); + { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / sizeof(__m128i); + +# if defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER < 1900 + // MSVC 32bit mode does not support _mm_set_epi64x before 2015 + XXH_ALIGN(16) const xxh_i64 seed64x2[2] = { (xxh_i64)seed64, -(xxh_i64)seed64 }; + __m128i const seed = _mm_load_si128((__m128i const*)seed64x2); +# else + __m128i const seed = _mm_set_epi64x(-(xxh_i64)seed64, (xxh_i64)seed64); +# endif + int i; + + XXH_ALIGN(64) const float* const src = (float const*) XXH3_kSecret; + XXH_ALIGN(XXH_SEC_ALIGN) __m128i* dest = (__m128i*) customSecret; +# if defined(__GNUC__) || defined(__clang__) + /* + * On GCC & Clang, marking 'dest' as modified will cause the compiler: + * - do not extract the secret from sse registers in the internal loop + * - use less common registers, and avoid pushing these reg into stack + */ + __asm__("" : "+r" (dest)); +# endif + + for (i=0; i < nbRounds; ++i) { + dest[i] = _mm_add_epi64(_mm_castps_si128(_mm_load_ps(src+i*4)), seed); + } } +} + +#endif + +#if (XXH_VECTOR == XXH_NEON) + +XXH_FORCE_INLINE void +XXH3_accumulate_512_neon( void* XXH_RESTRICT acc, + const void* XXH_RESTRICT input, + const void* XXH_RESTRICT secret) +{ + XXH_ASSERT((((size_t)acc) & 15) == 0); + { + XXH_ALIGN(16) uint64x2_t* const xacc = (uint64x2_t *) acc; + /* We don't use a uint32x4_t pointer because it causes bus errors on ARMv7. */ + uint8_t const* const xinput = (const uint8_t *) input; + uint8_t const* const xsecret = (const uint8_t *) secret; + + size_t i; + for (i=0; i < XXH_STRIPE_LEN / sizeof(uint64x2_t); i++) { + /* data_vec = xinput[i]; */ + uint8x16_t data_vec = vld1q_u8(xinput + (i * 16)); + /* key_vec = xsecret[i]; */ + uint8x16_t key_vec = vld1q_u8(xsecret + (i * 16)); + uint64x2_t data_key; + uint32x2_t data_key_lo, data_key_hi; + /* xacc[i] += swap(data_vec); */ + uint64x2_t const data64 = vreinterpretq_u64_u8(data_vec); + uint64x2_t const swapped = vextq_u64(data64, data64, 1); + xacc[i] = vaddq_u64 (xacc[i], swapped); + /* data_key = data_vec ^ key_vec; */ + data_key = vreinterpretq_u64_u8(veorq_u8(data_vec, key_vec)); + /* data_key_lo = (uint32x2_t) (data_key & 0xFFFFFFFF); + * data_key_hi = (uint32x2_t) (data_key >> 32); + * data_key = UNDEFINED; */ + XXH_SPLIT_IN_PLACE(data_key, data_key_lo, data_key_hi); + /* xacc[i] += (uint64x2_t) data_key_lo * (uint64x2_t) data_key_hi; */ + xacc[i] = vmlal_u32 (xacc[i], data_key_lo, data_key_hi); + + } + } +} + +XXH_FORCE_INLINE void +XXH3_scrambleAcc_neon(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) +{ + XXH_ASSERT((((size_t)acc) & 15) == 0); + + { uint64x2_t* xacc = (uint64x2_t*) acc; + uint8_t const* xsecret = (uint8_t const*) secret; + uint32x2_t prime = vdup_n_u32 (XXH_PRIME32_1); + + size_t i; + for (i=0; i < XXH_STRIPE_LEN/sizeof(uint64x2_t); i++) { + /* xacc[i] ^= (xacc[i] >> 47); */ + uint64x2_t acc_vec = xacc[i]; + uint64x2_t shifted = vshrq_n_u64 (acc_vec, 47); + uint64x2_t data_vec = veorq_u64 (acc_vec, shifted); + + /* xacc[i] ^= xsecret[i]; */ + uint8x16_t key_vec = vld1q_u8(xsecret + (i * 16)); + uint64x2_t data_key = veorq_u64(data_vec, vreinterpretq_u64_u8(key_vec)); + + /* xacc[i] *= XXH_PRIME32_1 */ + uint32x2_t data_key_lo, data_key_hi; + /* data_key_lo = (uint32x2_t) (xacc[i] & 0xFFFFFFFF); + * data_key_hi = (uint32x2_t) (xacc[i] >> 32); + * xacc[i] = UNDEFINED; */ + XXH_SPLIT_IN_PLACE(data_key, data_key_lo, data_key_hi); + { /* + * prod_hi = (data_key >> 32) * XXH_PRIME32_1; + * + * Avoid vmul_u32 + vshll_n_u32 since Clang 6 and 7 will + * incorrectly "optimize" this: + * tmp = vmul_u32(vmovn_u64(a), vmovn_u64(b)); + * shifted = vshll_n_u32(tmp, 32); + * to this: + * tmp = "vmulq_u64"(a, b); // no such thing! + * shifted = vshlq_n_u64(tmp, 32); + * + * However, unlike SSE, Clang lacks a 64-bit multiply routine + * for NEON, and it scalarizes two 64-bit multiplies instead. + * + * vmull_u32 has the same timing as vmul_u32, and it avoids + * this bug completely. + * See https://bugs.llvm.org/show_bug.cgi?id=39967 + */ + uint64x2_t prod_hi = vmull_u32 (data_key_hi, prime); + /* xacc[i] = prod_hi << 32; */ + xacc[i] = vshlq_n_u64(prod_hi, 32); + /* xacc[i] += (prod_hi & 0xFFFFFFFF) * XXH_PRIME32_1; */ + xacc[i] = vmlal_u32(xacc[i], data_key_lo, prime); + } + } } +} + +#endif + +#if (XXH_VECTOR == XXH_VSX) + +XXH_FORCE_INLINE void +XXH3_accumulate_512_vsx( void* XXH_RESTRICT acc, + const void* XXH_RESTRICT input, + const void* XXH_RESTRICT secret) +{ + xxh_u64x2* const xacc = (xxh_u64x2*) acc; /* presumed aligned */ + xxh_u64x2 const* const xinput = (xxh_u64x2 const*) input; /* no alignment restriction */ + xxh_u64x2 const* const xsecret = (xxh_u64x2 const*) secret; /* no alignment restriction */ + xxh_u64x2 const v32 = { 32, 32 }; + size_t i; + for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) { + /* data_vec = xinput[i]; */ + xxh_u64x2 const data_vec = XXH_vec_loadu(xinput + i); + /* key_vec = xsecret[i]; */ + xxh_u64x2 const key_vec = XXH_vec_loadu(xsecret + i); + xxh_u64x2 const data_key = data_vec ^ key_vec; + /* shuffled = (data_key << 32) | (data_key >> 32); */ + xxh_u32x4 const shuffled = (xxh_u32x4)vec_rl(data_key, v32); + /* product = ((xxh_u64x2)data_key & 0xFFFFFFFF) * ((xxh_u64x2)shuffled & 0xFFFFFFFF); */ + xxh_u64x2 const product = XXH_vec_mulo((xxh_u32x4)data_key, shuffled); + xacc[i] += product; + + /* swap high and low halves */ +#ifdef __s390x__ + xacc[i] += vec_permi(data_vec, data_vec, 2); +#else + xacc[i] += vec_xxpermdi(data_vec, data_vec, 2); +#endif + } +} + +XXH_FORCE_INLINE void +XXH3_scrambleAcc_vsx(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) +{ + XXH_ASSERT((((size_t)acc) & 15) == 0); + + { xxh_u64x2* const xacc = (xxh_u64x2*) acc; + const xxh_u64x2* const xsecret = (const xxh_u64x2*) secret; + /* constants */ + xxh_u64x2 const v32 = { 32, 32 }; + xxh_u64x2 const v47 = { 47, 47 }; + xxh_u32x4 const prime = { XXH_PRIME32_1, XXH_PRIME32_1, XXH_PRIME32_1, XXH_PRIME32_1 }; + size_t i; + for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) { + /* xacc[i] ^= (xacc[i] >> 47); */ + xxh_u64x2 const acc_vec = xacc[i]; + xxh_u64x2 const data_vec = acc_vec ^ (acc_vec >> v47); + + /* xacc[i] ^= xsecret[i]; */ + xxh_u64x2 const key_vec = XXH_vec_loadu(xsecret + i); + xxh_u64x2 const data_key = data_vec ^ key_vec; + + /* xacc[i] *= XXH_PRIME32_1 */ + /* prod_lo = ((xxh_u64x2)data_key & 0xFFFFFFFF) * ((xxh_u64x2)prime & 0xFFFFFFFF); */ + xxh_u64x2 const prod_even = XXH_vec_mule((xxh_u32x4)data_key, prime); + /* prod_hi = ((xxh_u64x2)data_key >> 32) * ((xxh_u64x2)prime >> 32); */ + xxh_u64x2 const prod_odd = XXH_vec_mulo((xxh_u32x4)data_key, prime); + xacc[i] = prod_odd + (prod_even << v32); + } } +} + +#endif + +/* scalar variants - universal */ + +XXH_FORCE_INLINE void +XXH3_accumulate_512_scalar(void* XXH_RESTRICT acc, + const void* XXH_RESTRICT input, + const void* XXH_RESTRICT secret) +{ + XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64* const xacc = (xxh_u64*) acc; /* presumed aligned */ + const xxh_u8* const xinput = (const xxh_u8*) input; /* no alignment restriction */ + const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ + size_t i; + XXH_ASSERT(((size_t)acc & (XXH_ACC_ALIGN-1)) == 0); + for (i=0; i < XXH_ACC_NB; i++) { + xxh_u64 const data_val = XXH_readLE64(xinput + 8*i); + xxh_u64 const data_key = data_val ^ XXH_readLE64(xsecret + i*8); + xacc[i ^ 1] += data_val; /* swap adjacent lanes */ + xacc[i] += XXH_mult32to64(data_key & 0xFFFFFFFF, data_key >> 32); + } +} + +XXH_FORCE_INLINE void +XXH3_scrambleAcc_scalar(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) +{ + XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64* const xacc = (xxh_u64*) acc; /* presumed aligned */ + const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ + size_t i; + XXH_ASSERT((((size_t)acc) & (XXH_ACC_ALIGN-1)) == 0); + for (i=0; i < XXH_ACC_NB; i++) { + xxh_u64 const key64 = XXH_readLE64(xsecret + 8*i); + xxh_u64 acc64 = xacc[i]; + acc64 = XXH_xorshift64(acc64, 47); + acc64 ^= key64; + acc64 *= XXH_PRIME32_1; + xacc[i] = acc64; + } +} + +XXH_FORCE_INLINE void +XXH3_initCustomSecret_scalar(void* XXH_RESTRICT customSecret, xxh_u64 seed64) +{ + /* + * We need a separate pointer for the hack below, + * which requires a non-const pointer. + * Any decent compiler will optimize this out otherwise. + */ + const xxh_u8* kSecretPtr = XXH3_kSecret; + XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 15) == 0); + +#if defined(__clang__) && defined(__aarch64__) + /* + * UGLY HACK: + * Clang generates a bunch of MOV/MOVK pairs for aarch64, and they are + * placed sequentially, in order, at the top of the unrolled loop. + * + * While MOVK is great for generating constants (2 cycles for a 64-bit + * constant compared to 4 cycles for LDR), long MOVK chains stall the + * integer pipelines: + * I L S + * MOVK + * MOVK + * MOVK + * MOVK + * ADD + * SUB STR + * STR + * By forcing loads from memory (as the asm line causes Clang to assume + * that XXH3_kSecretPtr has been changed), the pipelines are used more + * efficiently: + * I L S + * LDR + * ADD LDR + * SUB STR + * STR + * XXH3_64bits_withSeed, len == 256, Snapdragon 835 + * without hack: 2654.4 MB/s + * with hack: 3202.9 MB/s + */ + __asm__("" : "+r" (kSecretPtr)); +#endif + /* + * Note: in debug mode, this overrides the asm optimization + * and Clang will emit MOVK chains again. + */ + XXH_ASSERT(kSecretPtr == XXH3_kSecret); + + { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / 16; + int i; + for (i=0; i < nbRounds; i++) { + /* + * The asm hack causes Clang to assume that kSecretPtr aliases with + * customSecret, and on aarch64, this prevented LDP from merging two + * loads together for free. Putting the loads together before the stores + * properly generates LDP. + */ + xxh_u64 lo = XXH_readLE64(kSecretPtr + 16*i) + seed64; + xxh_u64 hi = XXH_readLE64(kSecretPtr + 16*i + 8) - seed64; + XXH_writeLE64((xxh_u8*)customSecret + 16*i, lo); + XXH_writeLE64((xxh_u8*)customSecret + 16*i + 8, hi); + } } +} + + +typedef void (*XXH3_f_accumulate_512)(void* XXH_RESTRICT, const void*, const void*); +typedef void (*XXH3_f_scrambleAcc)(void* XXH_RESTRICT, const void*); +typedef void (*XXH3_f_initCustomSecret)(void* XXH_RESTRICT, xxh_u64); + + +#if (XXH_VECTOR == XXH_AVX512) + +#define XXH3_accumulate_512 XXH3_accumulate_512_avx512 +#define XXH3_scrambleAcc XXH3_scrambleAcc_avx512 +#define XXH3_initCustomSecret XXH3_initCustomSecret_avx512 + +#elif (XXH_VECTOR == XXH_AVX2) + +#define XXH3_accumulate_512 XXH3_accumulate_512_avx2 +#define XXH3_scrambleAcc XXH3_scrambleAcc_avx2 +#define XXH3_initCustomSecret XXH3_initCustomSecret_avx2 + +#elif (XXH_VECTOR == XXH_SSE2) + +#define XXH3_accumulate_512 XXH3_accumulate_512_sse2 +#define XXH3_scrambleAcc XXH3_scrambleAcc_sse2 +#define XXH3_initCustomSecret XXH3_initCustomSecret_sse2 + +#elif (XXH_VECTOR == XXH_NEON) + +#define XXH3_accumulate_512 XXH3_accumulate_512_neon +#define XXH3_scrambleAcc XXH3_scrambleAcc_neon +#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar + +#elif (XXH_VECTOR == XXH_VSX) + +#define XXH3_accumulate_512 XXH3_accumulate_512_vsx +#define XXH3_scrambleAcc XXH3_scrambleAcc_vsx +#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar + +#else /* scalar */ + +#define XXH3_accumulate_512 XXH3_accumulate_512_scalar +#define XXH3_scrambleAcc XXH3_scrambleAcc_scalar +#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar + +#endif + + + +#ifndef XXH_PREFETCH_DIST +# ifdef __clang__ +# define XXH_PREFETCH_DIST 320 +# else +# if (XXH_VECTOR == XXH_AVX512) +# define XXH_PREFETCH_DIST 512 +# else +# define XXH_PREFETCH_DIST 384 +# endif +# endif /* __clang__ */ +#endif /* XXH_PREFETCH_DIST */ + +/* + * XXH3_accumulate() + * Loops over XXH3_accumulate_512(). + * Assumption: nbStripes will not overflow the secret size + */ +XXH_FORCE_INLINE void +XXH3_accumulate( xxh_u64* XXH_RESTRICT acc, + const xxh_u8* XXH_RESTRICT input, + const xxh_u8* XXH_RESTRICT secret, + size_t nbStripes, + XXH3_f_accumulate_512 f_acc512) +{ + size_t n; + for (n = 0; n < nbStripes; n++ ) { + const xxh_u8* const in = input + n*XXH_STRIPE_LEN; + XXH_PREFETCH(in + XXH_PREFETCH_DIST); + f_acc512(acc, + in, + secret + n*XXH_SECRET_CONSUME_RATE); + } +} + +XXH_FORCE_INLINE void +XXH3_hashLong_internal_loop(xxh_u64* XXH_RESTRICT acc, + const xxh_u8* XXH_RESTRICT input, size_t len, + const xxh_u8* XXH_RESTRICT secret, size_t secretSize, + XXH3_f_accumulate_512 f_acc512, + XXH3_f_scrambleAcc f_scramble) +{ + size_t const nbStripesPerBlock = (secretSize - XXH_STRIPE_LEN) / XXH_SECRET_CONSUME_RATE; + size_t const block_len = XXH_STRIPE_LEN * nbStripesPerBlock; + size_t const nb_blocks = (len - 1) / block_len; + + size_t n; + + XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); + + for (n = 0; n < nb_blocks; n++) { + XXH3_accumulate(acc, input + n*block_len, secret, nbStripesPerBlock, f_acc512); + f_scramble(acc, secret + secretSize - XXH_STRIPE_LEN); + } + + /* last partial block */ + XXH_ASSERT(len > XXH_STRIPE_LEN); + { size_t const nbStripes = ((len - 1) - (block_len * nb_blocks)) / XXH_STRIPE_LEN; + XXH_ASSERT(nbStripes <= (secretSize / XXH_SECRET_CONSUME_RATE)); + XXH3_accumulate(acc, input + nb_blocks*block_len, secret, nbStripes, f_acc512); + + /* last stripe */ + { const xxh_u8* const p = input + len - XXH_STRIPE_LEN; +#define XXH_SECRET_LASTACC_START 7 /* not aligned on 8, last secret is different from acc & scrambler */ + f_acc512(acc, p, secret + secretSize - XXH_STRIPE_LEN - XXH_SECRET_LASTACC_START); + } } +} + +XXH_FORCE_INLINE xxh_u64 +XXH3_mix2Accs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret) +{ + return XXH3_mul128_fold64( + acc[0] ^ XXH_readLE64(secret), + acc[1] ^ XXH_readLE64(secret+8) ); +} + +static XXH64_hash_t +XXH3_mergeAccs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret, xxh_u64 start) +{ + xxh_u64 result64 = start; + size_t i = 0; + + for (i = 0; i < 4; i++) { + result64 += XXH3_mix2Accs(acc+2*i, secret + 16*i); +#if defined(__clang__) /* Clang */ \ + && (defined(__arm__) || defined(__thumb__)) /* ARMv7 */ \ + && (defined(__ARM_NEON) || defined(__ARM_NEON__)) /* NEON */ \ + && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable */ + /* + * UGLY HACK: + * Prevent autovectorization on Clang ARMv7-a. Exact same problem as + * the one in XXH3_len_129to240_64b. Speeds up shorter keys > 240b. + * XXH3_64bits, len == 256, Snapdragon 835: + * without hack: 2063.7 MB/s + * with hack: 2560.7 MB/s + */ + __asm__("" : "+r" (result64)); +#endif + } + + return XXH3_avalanche(result64); +} + +#define XXH3_INIT_ACC { XXH_PRIME32_3, XXH_PRIME64_1, XXH_PRIME64_2, XXH_PRIME64_3, \ + XXH_PRIME64_4, XXH_PRIME32_2, XXH_PRIME64_5, XXH_PRIME32_1 } + +XXH_FORCE_INLINE XXH64_hash_t +XXH3_hashLong_64b_internal(const void* XXH_RESTRICT input, size_t len, + const void* XXH_RESTRICT secret, size_t secretSize, + XXH3_f_accumulate_512 f_acc512, + XXH3_f_scrambleAcc f_scramble) +{ + XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64 acc[XXH_ACC_NB] = XXH3_INIT_ACC; + + XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, (const xxh_u8*)secret, secretSize, f_acc512, f_scramble); + + /* converge into final hash */ + XXH_STATIC_ASSERT(sizeof(acc) == 64); + /* do not align on 8, so that the secret is different from the accumulator */ +#define XXH_SECRET_MERGEACCS_START 11 + XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); + return XXH3_mergeAccs(acc, (const xxh_u8*)secret + XXH_SECRET_MERGEACCS_START, (xxh_u64)len * XXH_PRIME64_1); +} + +/* + * It's important for performance that XXH3_hashLong is not inlined. + */ +XXH_NO_INLINE XXH64_hash_t +XXH3_hashLong_64b_withSecret(const void* XXH_RESTRICT input, size_t len, + XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) +{ + (void)seed64; + return XXH3_hashLong_64b_internal(input, len, secret, secretLen, XXH3_accumulate_512, XXH3_scrambleAcc); +} + +/* + * It's important for performance that XXH3_hashLong is not inlined. + * Since the function is not inlined, the compiler may not be able to understand that, + * in some scenarios, its `secret` argument is actually a compile time constant. + * This variant enforces that the compiler can detect that, + * and uses this opportunity to streamline the generated code for better performance. + */ +XXH_NO_INLINE XXH64_hash_t +XXH3_hashLong_64b_default(const void* XXH_RESTRICT input, size_t len, + XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) +{ + (void)seed64; (void)secret; (void)secretLen; + return XXH3_hashLong_64b_internal(input, len, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_accumulate_512, XXH3_scrambleAcc); +} + +/* + * XXH3_hashLong_64b_withSeed(): + * Generate a custom key based on alteration of default XXH3_kSecret with the seed, + * and then use this key for long mode hashing. + * + * This operation is decently fast but nonetheless costs a little bit of time. + * Try to avoid it whenever possible (typically when seed==0). + * + * It's important for performance that XXH3_hashLong is not inlined. Not sure + * why (uop cache maybe?), but the difference is large and easily measurable. + */ +XXH_FORCE_INLINE XXH64_hash_t +XXH3_hashLong_64b_withSeed_internal(const void* input, size_t len, + XXH64_hash_t seed, + XXH3_f_accumulate_512 f_acc512, + XXH3_f_scrambleAcc f_scramble, + XXH3_f_initCustomSecret f_initSec) +{ + if (seed == 0) + return XXH3_hashLong_64b_internal(input, len, + XXH3_kSecret, sizeof(XXH3_kSecret), + f_acc512, f_scramble); + { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; + f_initSec(secret, seed); + return XXH3_hashLong_64b_internal(input, len, secret, sizeof(secret), + f_acc512, f_scramble); + } +} + +/* + * It's important for performance that XXH3_hashLong is not inlined. + */ +XXH_NO_INLINE XXH64_hash_t +XXH3_hashLong_64b_withSeed(const void* input, size_t len, + XXH64_hash_t seed, const xxh_u8* secret, size_t secretLen) +{ + (void)secret; (void)secretLen; + return XXH3_hashLong_64b_withSeed_internal(input, len, seed, + XXH3_accumulate_512, XXH3_scrambleAcc, XXH3_initCustomSecret); +} + + +typedef XXH64_hash_t (*XXH3_hashLong64_f)(const void* XXH_RESTRICT, size_t, + XXH64_hash_t, const xxh_u8* XXH_RESTRICT, size_t); + +XXH_FORCE_INLINE XXH64_hash_t +XXH3_64bits_internal(const void* XXH_RESTRICT input, size_t len, + XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen, + XXH3_hashLong64_f f_hashLong) +{ + XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN); + /* + * If an action is to be taken if `secretLen` condition is not respected, + * it should be done here. + * For now, it's a contract pre-condition. + * Adding a check and a branch here would cost performance at every hash. + * Also, note that function signature doesn't offer room to return an error. + */ + if (len <= 16) + return XXH3_len_0to16_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); + if (len <= 128) + return XXH3_len_17to128_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); + if (len <= XXH3_MIDSIZE_MAX) + return XXH3_len_129to240_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); + return f_hashLong(input, len, seed64, (const xxh_u8*)secret, secretLen); +} + + +/* === Public entry point === */ + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH64_hash_t XXH3_64bits(const void* input, size_t len) +{ + return XXH3_64bits_internal(input, len, 0, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_hashLong_64b_default); +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH64_hash_t +XXH3_64bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) +{ + return XXH3_64bits_internal(input, len, 0, secret, secretSize, XXH3_hashLong_64b_withSecret); +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH64_hash_t +XXH3_64bits_withSeed(const void* input, size_t len, XXH64_hash_t seed) +{ + return XXH3_64bits_internal(input, len, seed, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_hashLong_64b_withSeed); +} + + +/* === XXH3 streaming === */ + +/* + * Malloc's a pointer that is always aligned to align. + * + * This must be freed with `XXH_alignedFree()`. + * + * malloc typically guarantees 16 byte alignment on 64-bit systems and 8 byte + * alignment on 32-bit. This isn't enough for the 32 byte aligned loads in AVX2 + * or on 32-bit, the 16 byte aligned loads in SSE2 and NEON. + * + * This underalignment previously caused a rather obvious crash which went + * completely unnoticed due to XXH3_createState() not actually being tested. + * Credit to RedSpah for noticing this bug. + * + * The alignment is done manually: Functions like posix_memalign or _mm_malloc + * are avoided: To maintain portability, we would have to write a fallback + * like this anyways, and besides, testing for the existence of library + * functions without relying on external build tools is impossible. + * + * The method is simple: Overallocate, manually align, and store the offset + * to the original behind the returned pointer. + * + * Align must be a power of 2 and 8 <= align <= 128. + */ +static void* XXH_alignedMalloc(size_t s, size_t align) +{ + XXH_ASSERT(align <= 128 && align >= 8); /* range check */ + XXH_ASSERT((align & (align-1)) == 0); /* power of 2 */ + XXH_ASSERT(s != 0 && s < (s + align)); /* empty/overflow */ + { /* Overallocate to make room for manual realignment and an offset byte */ + xxh_u8* base = (xxh_u8*)XXH_malloc(s + align); + if (base != NULL) { + /* + * Get the offset needed to align this pointer. + * + * Even if the returned pointer is aligned, there will always be + * at least one byte to store the offset to the original pointer. + */ + size_t offset = align - ((size_t)base & (align - 1)); /* base % align */ + /* Add the offset for the now-aligned pointer */ + xxh_u8* ptr = base + offset; + + XXH_ASSERT((size_t)ptr % align == 0); + + /* Store the offset immediately before the returned pointer. */ + ptr[-1] = (xxh_u8)offset; + return ptr; + } + return NULL; + } +} +/* + * Frees an aligned pointer allocated by XXH_alignedMalloc(). Don't pass + * normal malloc'd pointers, XXH_alignedMalloc has a specific data layout. + */ +static void XXH_alignedFree(void* p) +{ + if (p != NULL) { + xxh_u8* ptr = (xxh_u8*)p; + /* Get the offset byte we added in XXH_malloc. */ + xxh_u8 offset = ptr[-1]; + /* Free the original malloc'd pointer */ + xxh_u8* base = ptr - offset; + XXH_free(base); + } +} +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH3_state_t* XXH3_createState(void) +{ + XXH3_state_t* const state = (XXH3_state_t*)XXH_alignedMalloc(sizeof(XXH3_state_t), 64); + if (state==NULL) return NULL; + XXH3_INITSTATE(state); + return state; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode XXH3_freeState(XXH3_state_t* statePtr) +{ + XXH_alignedFree(statePtr); + return XXH_OK; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API void +XXH3_copyState(XXH3_state_t* dst_state, const XXH3_state_t* src_state) +{ + memcpy(dst_state, src_state, sizeof(*dst_state)); +} + +static void +XXH3_reset_internal(XXH3_state_t* statePtr, + XXH64_hash_t seed, + const void* secret, size_t secretSize) +{ + size_t const initStart = offsetof(XXH3_state_t, bufferedSize); + size_t const initLength = offsetof(XXH3_state_t, nbStripesPerBlock) - initStart; + XXH_ASSERT(offsetof(XXH3_state_t, nbStripesPerBlock) > initStart); + XXH_ASSERT(statePtr != NULL); + /* set members from bufferedSize to nbStripesPerBlock (excluded) to 0 */ + memset((char*)statePtr + initStart, 0, initLength); + statePtr->acc[0] = XXH_PRIME32_3; + statePtr->acc[1] = XXH_PRIME64_1; + statePtr->acc[2] = XXH_PRIME64_2; + statePtr->acc[3] = XXH_PRIME64_3; + statePtr->acc[4] = XXH_PRIME64_4; + statePtr->acc[5] = XXH_PRIME32_2; + statePtr->acc[6] = XXH_PRIME64_5; + statePtr->acc[7] = XXH_PRIME32_1; + statePtr->seed = seed; + statePtr->extSecret = (const unsigned char*)secret; + XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); + statePtr->secretLimit = secretSize - XXH_STRIPE_LEN; + statePtr->nbStripesPerBlock = statePtr->secretLimit / XXH_SECRET_CONSUME_RATE; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_64bits_reset(XXH3_state_t* statePtr) +{ + if (statePtr == NULL) return XXH_ERROR; + XXH3_reset_internal(statePtr, 0, XXH3_kSecret, XXH_SECRET_DEFAULT_SIZE); + return XXH_OK; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) +{ + if (statePtr == NULL) return XXH_ERROR; + XXH3_reset_internal(statePtr, 0, secret, secretSize); + if (secret == NULL) return XXH_ERROR; + if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR; + return XXH_OK; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_64bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed) +{ + if (statePtr == NULL) return XXH_ERROR; + if (seed==0) return XXH3_64bits_reset(statePtr); + if (seed != statePtr->seed) XXH3_initCustomSecret(statePtr->customSecret, seed); + XXH3_reset_internal(statePtr, seed, NULL, XXH_SECRET_DEFAULT_SIZE); + return XXH_OK; +} + +/* Note : when XXH3_consumeStripes() is invoked, + * there must be a guarantee that at least one more byte must be consumed from input + * so that the function can blindly consume all stripes using the "normal" secret segment */ +XXH_FORCE_INLINE void +XXH3_consumeStripes(xxh_u64* XXH_RESTRICT acc, + size_t* XXH_RESTRICT nbStripesSoFarPtr, size_t nbStripesPerBlock, + const xxh_u8* XXH_RESTRICT input, size_t nbStripes, + const xxh_u8* XXH_RESTRICT secret, size_t secretLimit, + XXH3_f_accumulate_512 f_acc512, + XXH3_f_scrambleAcc f_scramble) +{ + XXH_ASSERT(nbStripes <= nbStripesPerBlock); /* can handle max 1 scramble per invocation */ + XXH_ASSERT(*nbStripesSoFarPtr < nbStripesPerBlock); + if (nbStripesPerBlock - *nbStripesSoFarPtr <= nbStripes) { + /* need a scrambling operation */ + size_t const nbStripesToEndofBlock = nbStripesPerBlock - *nbStripesSoFarPtr; + size_t const nbStripesAfterBlock = nbStripes - nbStripesToEndofBlock; + XXH3_accumulate(acc, input, secret + nbStripesSoFarPtr[0] * XXH_SECRET_CONSUME_RATE, nbStripesToEndofBlock, f_acc512); + f_scramble(acc, secret + secretLimit); + XXH3_accumulate(acc, input + nbStripesToEndofBlock * XXH_STRIPE_LEN, secret, nbStripesAfterBlock, f_acc512); + *nbStripesSoFarPtr = nbStripesAfterBlock; + } else { + XXH3_accumulate(acc, input, secret + nbStripesSoFarPtr[0] * XXH_SECRET_CONSUME_RATE, nbStripes, f_acc512); + *nbStripesSoFarPtr += nbStripes; + } +} + +/* + * Both XXH3_64bits_update and XXH3_128bits_update use this routine. + */ +XXH_FORCE_INLINE XXH_errorcode +XXH3_update(XXH3_state_t* state, + const xxh_u8* input, size_t len, + XXH3_f_accumulate_512 f_acc512, + XXH3_f_scrambleAcc f_scramble) +{ + if (input==NULL) +#if defined(XXH_ACCEPT_NULL_INPUT_POINTER) && (XXH_ACCEPT_NULL_INPUT_POINTER>=1) + return XXH_OK; +#else + return XXH_ERROR; +#endif + + { const xxh_u8* const bEnd = input + len; + const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret; + + state->totalLen += len; + XXH_ASSERT(state->bufferedSize <= XXH3_INTERNALBUFFER_SIZE); + + if (state->bufferedSize + len <= XXH3_INTERNALBUFFER_SIZE) { /* fill in tmp buffer */ + XXH_memcpy(state->buffer + state->bufferedSize, input, len); + state->bufferedSize += (XXH32_hash_t)len; + return XXH_OK; + } + /* total input is now > XXH3_INTERNALBUFFER_SIZE */ + + #define XXH3_INTERNALBUFFER_STRIPES (XXH3_INTERNALBUFFER_SIZE / XXH_STRIPE_LEN) + XXH_STATIC_ASSERT(XXH3_INTERNALBUFFER_SIZE % XXH_STRIPE_LEN == 0); /* clean multiple */ + + /* + * Internal buffer is partially filled (always, except at beginning) + * Complete it, then consume it. + */ + if (state->bufferedSize) { + size_t const loadSize = XXH3_INTERNALBUFFER_SIZE - state->bufferedSize; + XXH_memcpy(state->buffer + state->bufferedSize, input, loadSize); + input += loadSize; + XXH3_consumeStripes(state->acc, + &state->nbStripesSoFar, state->nbStripesPerBlock, + state->buffer, XXH3_INTERNALBUFFER_STRIPES, + secret, state->secretLimit, + f_acc512, f_scramble); + state->bufferedSize = 0; + } + XXH_ASSERT(input < bEnd); + + /* Consume input by a multiple of internal buffer size */ + if (input+XXH3_INTERNALBUFFER_SIZE < bEnd) { + const xxh_u8* const limit = bEnd - XXH3_INTERNALBUFFER_SIZE; + do { + XXH3_consumeStripes(state->acc, + &state->nbStripesSoFar, state->nbStripesPerBlock, + input, XXH3_INTERNALBUFFER_STRIPES, + secret, state->secretLimit, + f_acc512, f_scramble); + input += XXH3_INTERNALBUFFER_SIZE; + } while (inputbuffer + sizeof(state->buffer) - XXH_STRIPE_LEN, input - XXH_STRIPE_LEN, XXH_STRIPE_LEN); + } + XXH_ASSERT(input < bEnd); + + /* Some remaining input (always) : buffer it */ + XXH_memcpy(state->buffer, input, (size_t)(bEnd-input)); + state->bufferedSize = (XXH32_hash_t)(bEnd-input); + } + + return XXH_OK; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_64bits_update(XXH3_state_t* state, const void* input, size_t len) +{ + return XXH3_update(state, (const xxh_u8*)input, len, + XXH3_accumulate_512, XXH3_scrambleAcc); +} + + +XXH_FORCE_INLINE void +XXH3_digest_long (XXH64_hash_t* acc, + const XXH3_state_t* state, + const unsigned char* secret) +{ + /* + * Digest on a local copy. This way, the state remains unaltered, and it can + * continue ingesting more input afterwards. + */ + memcpy(acc, state->acc, sizeof(state->acc)); + if (state->bufferedSize >= XXH_STRIPE_LEN) { + size_t const nbStripes = (state->bufferedSize - 1) / XXH_STRIPE_LEN; + size_t nbStripesSoFar = state->nbStripesSoFar; + XXH3_consumeStripes(acc, + &nbStripesSoFar, state->nbStripesPerBlock, + state->buffer, nbStripes, + secret, state->secretLimit, + XXH3_accumulate_512, XXH3_scrambleAcc); + /* last stripe */ + XXH3_accumulate_512(acc, + state->buffer + state->bufferedSize - XXH_STRIPE_LEN, + secret + state->secretLimit - XXH_SECRET_LASTACC_START); + } else { /* bufferedSize < XXH_STRIPE_LEN */ + xxh_u8 lastStripe[XXH_STRIPE_LEN]; + size_t const catchupSize = XXH_STRIPE_LEN - state->bufferedSize; + XXH_ASSERT(state->bufferedSize > 0); /* there is always some input buffered */ + memcpy(lastStripe, state->buffer + sizeof(state->buffer) - catchupSize, catchupSize); + memcpy(lastStripe + catchupSize, state->buffer, state->bufferedSize); + XXH3_accumulate_512(acc, + lastStripe, + secret + state->secretLimit - XXH_SECRET_LASTACC_START); + } +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_digest (const XXH3_state_t* state) +{ + const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret; + if (state->totalLen > XXH3_MIDSIZE_MAX) { + XXH_ALIGN(XXH_ACC_ALIGN) XXH64_hash_t acc[XXH_ACC_NB]; + XXH3_digest_long(acc, state, secret); + return XXH3_mergeAccs(acc, + secret + XXH_SECRET_MERGEACCS_START, + (xxh_u64)state->totalLen * XXH_PRIME64_1); + } + /* totalLen <= XXH3_MIDSIZE_MAX: digesting a short input */ + if (state->seed) + return XXH3_64bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed); + return XXH3_64bits_withSecret(state->buffer, (size_t)(state->totalLen), + secret, state->secretLimit + XXH_STRIPE_LEN); +} + + +#define XXH_MIN(x, y) (((x) > (y)) ? (y) : (x)) + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API void +XXH3_generateSecret(void* secretBuffer, const void* customSeed, size_t customSeedSize) +{ + XXH_ASSERT(secretBuffer != NULL); + if (customSeedSize == 0) { + memcpy(secretBuffer, XXH3_kSecret, XXH_SECRET_DEFAULT_SIZE); + return; + } + XXH_ASSERT(customSeed != NULL); + + { size_t const segmentSize = sizeof(XXH128_hash_t); + size_t const nbSegments = XXH_SECRET_DEFAULT_SIZE / segmentSize; + XXH128_canonical_t scrambler; + XXH64_hash_t seeds[12]; + size_t segnb; + XXH_ASSERT(nbSegments == 12); + XXH_ASSERT(segmentSize * nbSegments == XXH_SECRET_DEFAULT_SIZE); /* exact multiple */ + XXH128_canonicalFromHash(&scrambler, XXH128(customSeed, customSeedSize, 0)); + + /* + * Copy customSeed to seeds[], truncating or repeating as necessary. + */ + { size_t toFill = XXH_MIN(customSeedSize, sizeof(seeds)); + size_t filled = toFill; + memcpy(seeds, customSeed, toFill); + while (filled < sizeof(seeds)) { + toFill = XXH_MIN(filled, sizeof(seeds) - filled); + memcpy((char*)seeds + filled, seeds, toFill); + filled += toFill; + } } + + /* generate secret */ + memcpy(secretBuffer, &scrambler, sizeof(scrambler)); + for (segnb=1; segnb < nbSegments; segnb++) { + size_t const segmentStart = segnb * segmentSize; + XXH128_canonical_t segment; + XXH128_canonicalFromHash(&segment, + XXH128(&scrambler, sizeof(scrambler), XXH_readLE64(seeds + segnb) + segnb) ); + memcpy((char*)secretBuffer + segmentStart, &segment, sizeof(segment)); + } } +} + + +/* ========================================== + * XXH3 128 bits (a.k.a XXH128) + * ========================================== + * XXH3's 128-bit variant has better mixing and strength than the 64-bit variant, + * even without counting the significantly larger output size. + * + * For example, extra steps are taken to avoid the seed-dependent collisions + * in 17-240 byte inputs (See XXH3_mix16B and XXH128_mix32B). + * + * This strength naturally comes at the cost of some speed, especially on short + * lengths. Note that longer hashes are about as fast as the 64-bit version + * due to it using only a slight modification of the 64-bit loop. + * + * XXH128 is also more oriented towards 64-bit machines. It is still extremely + * fast for a _128-bit_ hash on 32-bit (it usually clears XXH64). + */ + +XXH_FORCE_INLINE XXH128_hash_t +XXH3_len_1to3_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + /* A doubled version of 1to3_64b with different constants. */ + XXH_ASSERT(input != NULL); + XXH_ASSERT(1 <= len && len <= 3); + XXH_ASSERT(secret != NULL); + /* + * len = 1: combinedl = { input[0], 0x01, input[0], input[0] } + * len = 2: combinedl = { input[1], 0x02, input[0], input[1] } + * len = 3: combinedl = { input[2], 0x03, input[0], input[1] } + */ + { xxh_u8 const c1 = input[0]; + xxh_u8 const c2 = input[len >> 1]; + xxh_u8 const c3 = input[len - 1]; + xxh_u32 const combinedl = ((xxh_u32)c1 <<16) | ((xxh_u32)c2 << 24) + | ((xxh_u32)c3 << 0) | ((xxh_u32)len << 8); + xxh_u32 const combinedh = XXH_rotl32(XXH_swap32(combinedl), 13); + xxh_u64 const bitflipl = (XXH_readLE32(secret) ^ XXH_readLE32(secret+4)) + seed; + xxh_u64 const bitfliph = (XXH_readLE32(secret+8) ^ XXH_readLE32(secret+12)) - seed; + xxh_u64 const keyed_lo = (xxh_u64)combinedl ^ bitflipl; + xxh_u64 const keyed_hi = (xxh_u64)combinedh ^ bitfliph; + XXH128_hash_t h128; + h128.low64 = XXH64_avalanche(keyed_lo); + h128.high64 = XXH64_avalanche(keyed_hi); + return h128; + } +} + +XXH_FORCE_INLINE XXH128_hash_t +XXH3_len_4to8_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + XXH_ASSERT(input != NULL); + XXH_ASSERT(secret != NULL); + XXH_ASSERT(4 <= len && len <= 8); + seed ^= (xxh_u64)XXH_swap32((xxh_u32)seed) << 32; + { xxh_u32 const input_lo = XXH_readLE32(input); + xxh_u32 const input_hi = XXH_readLE32(input + len - 4); + xxh_u64 const input_64 = input_lo + ((xxh_u64)input_hi << 32); + xxh_u64 const bitflip = (XXH_readLE64(secret+16) ^ XXH_readLE64(secret+24)) + seed; + xxh_u64 const keyed = input_64 ^ bitflip; + + /* Shift len to the left to ensure it is even, this avoids even multiplies. */ + XXH128_hash_t m128 = XXH_mult64to128(keyed, XXH_PRIME64_1 + (len << 2)); + + m128.high64 += (m128.low64 << 1); + m128.low64 ^= (m128.high64 >> 3); + + m128.low64 = XXH_xorshift64(m128.low64, 35); + m128.low64 *= 0x9FB21C651E98DF25ULL; + m128.low64 = XXH_xorshift64(m128.low64, 28); + m128.high64 = XXH3_avalanche(m128.high64); + return m128; + } +} + +XXH_FORCE_INLINE XXH128_hash_t +XXH3_len_9to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + XXH_ASSERT(input != NULL); + XXH_ASSERT(secret != NULL); + XXH_ASSERT(9 <= len && len <= 16); + { xxh_u64 const bitflipl = (XXH_readLE64(secret+32) ^ XXH_readLE64(secret+40)) - seed; + xxh_u64 const bitfliph = (XXH_readLE64(secret+48) ^ XXH_readLE64(secret+56)) + seed; + xxh_u64 const input_lo = XXH_readLE64(input); + xxh_u64 input_hi = XXH_readLE64(input + len - 8); + XXH128_hash_t m128 = XXH_mult64to128(input_lo ^ input_hi ^ bitflipl, XXH_PRIME64_1); + /* + * Put len in the middle of m128 to ensure that the length gets mixed to + * both the low and high bits in the 128x64 multiply below. + */ + m128.low64 += (xxh_u64)(len - 1) << 54; + input_hi ^= bitfliph; + /* + * Add the high 32 bits of input_hi to the high 32 bits of m128, then + * add the long product of the low 32 bits of input_hi and XXH_PRIME32_2 to + * the high 64 bits of m128. + * + * The best approach to this operation is different on 32-bit and 64-bit. + */ + if (sizeof(void *) < sizeof(xxh_u64)) { /* 32-bit */ + /* + * 32-bit optimized version, which is more readable. + * + * On 32-bit, it removes an ADC and delays a dependency between the two + * halves of m128.high64, but it generates an extra mask on 64-bit. + */ + m128.high64 += (input_hi & 0xFFFFFFFF00000000ULL) + XXH_mult32to64((xxh_u32)input_hi, XXH_PRIME32_2); + } else { + /* + * 64-bit optimized (albeit more confusing) version. + * + * Uses some properties of addition and multiplication to remove the mask: + * + * Let: + * a = input_hi.lo = (input_hi & 0x00000000FFFFFFFF) + * b = input_hi.hi = (input_hi & 0xFFFFFFFF00000000) + * c = XXH_PRIME32_2 + * + * a + (b * c) + * Inverse Property: x + y - x == y + * a + (b * (1 + c - 1)) + * Distributive Property: x * (y + z) == (x * y) + (x * z) + * a + (b * 1) + (b * (c - 1)) + * Identity Property: x * 1 == x + * a + b + (b * (c - 1)) + * + * Substitute a, b, and c: + * input_hi.hi + input_hi.lo + ((xxh_u64)input_hi.lo * (XXH_PRIME32_2 - 1)) + * + * Since input_hi.hi + input_hi.lo == input_hi, we get this: + * input_hi + ((xxh_u64)input_hi.lo * (XXH_PRIME32_2 - 1)) + */ + m128.high64 += input_hi + XXH_mult32to64((xxh_u32)input_hi, XXH_PRIME32_2 - 1); + } + /* m128 ^= XXH_swap64(m128 >> 64); */ + m128.low64 ^= XXH_swap64(m128.high64); + + { /* 128x64 multiply: h128 = m128 * XXH_PRIME64_2; */ + XXH128_hash_t h128 = XXH_mult64to128(m128.low64, XXH_PRIME64_2); + h128.high64 += m128.high64 * XXH_PRIME64_2; + + h128.low64 = XXH3_avalanche(h128.low64); + h128.high64 = XXH3_avalanche(h128.high64); + return h128; + } } +} + +/* + * Assumption: `secret` size is >= XXH3_SECRET_SIZE_MIN + */ +XXH_FORCE_INLINE XXH128_hash_t +XXH3_len_0to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) +{ + XXH_ASSERT(len <= 16); + { if (len > 8) return XXH3_len_9to16_128b(input, len, secret, seed); + if (len >= 4) return XXH3_len_4to8_128b(input, len, secret, seed); + if (len) return XXH3_len_1to3_128b(input, len, secret, seed); + { XXH128_hash_t h128; + xxh_u64 const bitflipl = XXH_readLE64(secret+64) ^ XXH_readLE64(secret+72); + xxh_u64 const bitfliph = XXH_readLE64(secret+80) ^ XXH_readLE64(secret+88); + h128.low64 = XXH64_avalanche(seed ^ bitflipl); + h128.high64 = XXH64_avalanche( seed ^ bitfliph); + return h128; + } } +} + +/* + * A bit slower than XXH3_mix16B, but handles multiply by zero better. + */ +XXH_FORCE_INLINE XXH128_hash_t +XXH128_mix32B(XXH128_hash_t acc, const xxh_u8* input_1, const xxh_u8* input_2, + const xxh_u8* secret, XXH64_hash_t seed) +{ + acc.low64 += XXH3_mix16B (input_1, secret+0, seed); + acc.low64 ^= XXH_readLE64(input_2) + XXH_readLE64(input_2 + 8); + acc.high64 += XXH3_mix16B (input_2, secret+16, seed); + acc.high64 ^= XXH_readLE64(input_1) + XXH_readLE64(input_1 + 8); + return acc; +} + + +XXH_FORCE_INLINE XXH128_hash_t +XXH3_len_17to128_128b(const xxh_u8* XXH_RESTRICT input, size_t len, + const xxh_u8* XXH_RESTRICT secret, size_t secretSize, + XXH64_hash_t seed) +{ + XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; + XXH_ASSERT(16 < len && len <= 128); + + { XXH128_hash_t acc; + acc.low64 = len * XXH_PRIME64_1; + acc.high64 = 0; + if (len > 32) { + if (len > 64) { + if (len > 96) { + acc = XXH128_mix32B(acc, input+48, input+len-64, secret+96, seed); + } + acc = XXH128_mix32B(acc, input+32, input+len-48, secret+64, seed); + } + acc = XXH128_mix32B(acc, input+16, input+len-32, secret+32, seed); + } + acc = XXH128_mix32B(acc, input, input+len-16, secret, seed); + { XXH128_hash_t h128; + h128.low64 = acc.low64 + acc.high64; + h128.high64 = (acc.low64 * XXH_PRIME64_1) + + (acc.high64 * XXH_PRIME64_4) + + ((len - seed) * XXH_PRIME64_2); + h128.low64 = XXH3_avalanche(h128.low64); + h128.high64 = (XXH64_hash_t)0 - XXH3_avalanche(h128.high64); + return h128; + } + } +} + +XXH_NO_INLINE XXH128_hash_t +XXH3_len_129to240_128b(const xxh_u8* XXH_RESTRICT input, size_t len, + const xxh_u8* XXH_RESTRICT secret, size_t secretSize, + XXH64_hash_t seed) +{ + XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; + XXH_ASSERT(128 < len && len <= XXH3_MIDSIZE_MAX); + + { XXH128_hash_t acc; + int const nbRounds = (int)len / 32; + int i; + acc.low64 = len * XXH_PRIME64_1; + acc.high64 = 0; + for (i=0; i<4; i++) { + acc = XXH128_mix32B(acc, + input + (32 * i), + input + (32 * i) + 16, + secret + (32 * i), + seed); + } + acc.low64 = XXH3_avalanche(acc.low64); + acc.high64 = XXH3_avalanche(acc.high64); + XXH_ASSERT(nbRounds >= 4); + for (i=4 ; i < nbRounds; i++) { + acc = XXH128_mix32B(acc, + input + (32 * i), + input + (32 * i) + 16, + secret + XXH3_MIDSIZE_STARTOFFSET + (32 * (i - 4)), + seed); + } + /* last bytes */ + acc = XXH128_mix32B(acc, + input + len - 16, + input + len - 32, + secret + XXH3_SECRET_SIZE_MIN - XXH3_MIDSIZE_LASTOFFSET - 16, + 0ULL - seed); + + { XXH128_hash_t h128; + h128.low64 = acc.low64 + acc.high64; + h128.high64 = (acc.low64 * XXH_PRIME64_1) + + (acc.high64 * XXH_PRIME64_4) + + ((len - seed) * XXH_PRIME64_2); + h128.low64 = XXH3_avalanche(h128.low64); + h128.high64 = (XXH64_hash_t)0 - XXH3_avalanche(h128.high64); + return h128; + } + } +} + +XXH_FORCE_INLINE XXH128_hash_t +XXH3_hashLong_128b_internal(const void* XXH_RESTRICT input, size_t len, + const xxh_u8* XXH_RESTRICT secret, size_t secretSize, + XXH3_f_accumulate_512 f_acc512, + XXH3_f_scrambleAcc f_scramble) +{ + XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64 acc[XXH_ACC_NB] = XXH3_INIT_ACC; + + XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, secret, secretSize, f_acc512, f_scramble); + + /* converge into final hash */ + XXH_STATIC_ASSERT(sizeof(acc) == 64); + XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); + { XXH128_hash_t h128; + h128.low64 = XXH3_mergeAccs(acc, + secret + XXH_SECRET_MERGEACCS_START, + (xxh_u64)len * XXH_PRIME64_1); + h128.high64 = XXH3_mergeAccs(acc, + secret + secretSize + - sizeof(acc) - XXH_SECRET_MERGEACCS_START, + ~((xxh_u64)len * XXH_PRIME64_2)); + return h128; + } +} + +/* + * It's important for performance that XXH3_hashLong is not inlined. + */ +XXH_NO_INLINE XXH128_hash_t +XXH3_hashLong_128b_default(const void* XXH_RESTRICT input, size_t len, + XXH64_hash_t seed64, + const void* XXH_RESTRICT secret, size_t secretLen) +{ + (void)seed64; (void)secret; (void)secretLen; + return XXH3_hashLong_128b_internal(input, len, XXH3_kSecret, sizeof(XXH3_kSecret), + XXH3_accumulate_512, XXH3_scrambleAcc); +} + +/* + * It's important for performance that XXH3_hashLong is not inlined. + */ +XXH_NO_INLINE XXH128_hash_t +XXH3_hashLong_128b_withSecret(const void* XXH_RESTRICT input, size_t len, + XXH64_hash_t seed64, + const void* XXH_RESTRICT secret, size_t secretLen) +{ + (void)seed64; + return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, secretLen, + XXH3_accumulate_512, XXH3_scrambleAcc); +} + +XXH_FORCE_INLINE XXH128_hash_t +XXH3_hashLong_128b_withSeed_internal(const void* XXH_RESTRICT input, size_t len, + XXH64_hash_t seed64, + XXH3_f_accumulate_512 f_acc512, + XXH3_f_scrambleAcc f_scramble, + XXH3_f_initCustomSecret f_initSec) +{ + if (seed64 == 0) + return XXH3_hashLong_128b_internal(input, len, + XXH3_kSecret, sizeof(XXH3_kSecret), + f_acc512, f_scramble); + { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; + f_initSec(secret, seed64); + return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, sizeof(secret), + f_acc512, f_scramble); + } +} + +/* + * It's important for performance that XXH3_hashLong is not inlined. + */ +XXH_NO_INLINE XXH128_hash_t +XXH3_hashLong_128b_withSeed(const void* input, size_t len, + XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen) +{ + (void)secret; (void)secretLen; + return XXH3_hashLong_128b_withSeed_internal(input, len, seed64, + XXH3_accumulate_512, XXH3_scrambleAcc, XXH3_initCustomSecret); +} + +typedef XXH128_hash_t (*XXH3_hashLong128_f)(const void* XXH_RESTRICT, size_t, + XXH64_hash_t, const void* XXH_RESTRICT, size_t); + +XXH_FORCE_INLINE XXH128_hash_t +XXH3_128bits_internal(const void* input, size_t len, + XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen, + XXH3_hashLong128_f f_hl128) +{ + XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN); + /* + * If an action is to be taken if `secret` conditions are not respected, + * it should be done here. + * For now, it's a contract pre-condition. + * Adding a check and a branch here would cost performance at every hash. + */ + if (len <= 16) + return XXH3_len_0to16_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); + if (len <= 128) + return XXH3_len_17to128_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); + if (len <= XXH3_MIDSIZE_MAX) + return XXH3_len_129to240_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); + return f_hl128(input, len, seed64, secret, secretLen); +} + + +/* === Public XXH128 API === */ + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH128_hash_t XXH3_128bits(const void* input, size_t len) +{ + return XXH3_128bits_internal(input, len, 0, + XXH3_kSecret, sizeof(XXH3_kSecret), + XXH3_hashLong_128b_default); +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH128_hash_t +XXH3_128bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) +{ + return XXH3_128bits_internal(input, len, 0, + (const xxh_u8*)secret, secretSize, + XXH3_hashLong_128b_withSecret); +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH128_hash_t +XXH3_128bits_withSeed(const void* input, size_t len, XXH64_hash_t seed) +{ + return XXH3_128bits_internal(input, len, seed, + XXH3_kSecret, sizeof(XXH3_kSecret), + XXH3_hashLong_128b_withSeed); +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH128_hash_t +XXH128(const void* input, size_t len, XXH64_hash_t seed) +{ + return XXH3_128bits_withSeed(input, len, seed); +} + + +/* === XXH3 128-bit streaming === */ + +/* + * All the functions are actually the same as for 64-bit streaming variant. + * The only difference is the finalization routine. + */ + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_128bits_reset(XXH3_state_t* statePtr) +{ + if (statePtr == NULL) return XXH_ERROR; + XXH3_reset_internal(statePtr, 0, XXH3_kSecret, XXH_SECRET_DEFAULT_SIZE); + return XXH_OK; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) +{ + if (statePtr == NULL) return XXH_ERROR; + XXH3_reset_internal(statePtr, 0, secret, secretSize); + if (secret == NULL) return XXH_ERROR; + if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR; + return XXH_OK; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_128bits_reset_withSeed(XXH3_state_t* statePtr, XXH64_hash_t seed) +{ + if (statePtr == NULL) return XXH_ERROR; + if (seed==0) return XXH3_128bits_reset(statePtr); + if (seed != statePtr->seed) XXH3_initCustomSecret(statePtr->customSecret, seed); + XXH3_reset_internal(statePtr, seed, NULL, XXH_SECRET_DEFAULT_SIZE); + return XXH_OK; +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH_errorcode +XXH3_128bits_update(XXH3_state_t* state, const void* input, size_t len) +{ + return XXH3_update(state, (const xxh_u8*)input, len, + XXH3_accumulate_512, XXH3_scrambleAcc); +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_digest (const XXH3_state_t* state) +{ + const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret; + if (state->totalLen > XXH3_MIDSIZE_MAX) { + XXH_ALIGN(XXH_ACC_ALIGN) XXH64_hash_t acc[XXH_ACC_NB]; + XXH3_digest_long(acc, state, secret); + XXH_ASSERT(state->secretLimit + XXH_STRIPE_LEN >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); + { XXH128_hash_t h128; + h128.low64 = XXH3_mergeAccs(acc, + secret + XXH_SECRET_MERGEACCS_START, + (xxh_u64)state->totalLen * XXH_PRIME64_1); + h128.high64 = XXH3_mergeAccs(acc, + secret + state->secretLimit + XXH_STRIPE_LEN + - sizeof(acc) - XXH_SECRET_MERGEACCS_START, + ~((xxh_u64)state->totalLen * XXH_PRIME64_2)); + return h128; + } + } + /* len <= XXH3_MIDSIZE_MAX : short code */ + if (state->seed) + return XXH3_128bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed); + return XXH3_128bits_withSecret(state->buffer, (size_t)(state->totalLen), + secret, state->secretLimit + XXH_STRIPE_LEN); +} + +/* 128-bit utility functions */ + +#include /* memcmp, memcpy */ + +/* return : 1 is equal, 0 if different */ +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API int XXH128_isEqual(XXH128_hash_t h1, XXH128_hash_t h2) +{ + /* note : XXH128_hash_t is compact, it has no padding byte */ + return !(memcmp(&h1, &h2, sizeof(h1))); +} + +/* This prototype is compatible with stdlib's qsort(). + * return : >0 if *h128_1 > *h128_2 + * <0 if *h128_1 < *h128_2 + * =0 if *h128_1 == *h128_2 */ +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API int XXH128_cmp(const void* h128_1, const void* h128_2) +{ + XXH128_hash_t const h1 = *(const XXH128_hash_t*)h128_1; + XXH128_hash_t const h2 = *(const XXH128_hash_t*)h128_2; + int const hcmp = (h1.high64 > h2.high64) - (h2.high64 > h1.high64); + /* note : bets that, in most cases, hash values are different */ + if (hcmp) return hcmp; + return (h1.low64 > h2.low64) - (h2.low64 > h1.low64); +} + + +/*====== Canonical representation ======*/ +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API void +XXH128_canonicalFromHash(XXH128_canonical_t* dst, XXH128_hash_t hash) +{ + XXH_STATIC_ASSERT(sizeof(XXH128_canonical_t) == sizeof(XXH128_hash_t)); + if (XXH_CPU_LITTLE_ENDIAN) { + hash.high64 = XXH_swap64(hash.high64); + hash.low64 = XXH_swap64(hash.low64); + } + memcpy(dst, &hash.high64, sizeof(hash.high64)); + memcpy((char*)dst + sizeof(hash.high64), &hash.low64, sizeof(hash.low64)); +} + +/*! @ingroup xxh3_family */ +XXH_PUBLIC_API XXH128_hash_t +XXH128_hashFromCanonical(const XXH128_canonical_t* src) +{ + XXH128_hash_t h; + h.high64 = XXH_readBE64(src); + h.low64 = XXH_readBE64(src->digest + 8); + return h; +} + +/* Pop our optimization override from above */ +#if XXH_VECTOR == XXH_AVX2 /* AVX2 */ \ + && defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \ + && defined(__OPTIMIZE__) && !defined(__OPTIMIZE_SIZE__) /* respect -O0 and -Os */ +# pragma GCC pop_options +#endif + +#endif /* XXH_NO_LONG_LONG */ + +/*! + * @} + */ +#endif /* XXH_IMPLEMENTATION */ + + +#if defined (__cplusplus) +} +#endif From 531c4e4e05543af5444abc1b8719b2fa03d836ba Mon Sep 17 00:00:00 2001 From: punk_design Date: Fri, 5 Dec 2025 16:35:53 -0700 Subject: [PATCH 2/4] Updated README and make file for debugging --- Makefile | 21 ++++++++++ README.md | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/Makefile b/Makefile index b5524e4a..e3d74403 100644 --- a/Makefile +++ b/Makefile @@ -59,3 +59,24 @@ bsgsd: g++ -m64 -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -o hash/sha256_sse.o -ftree-vectorize -flto -c hash/sha256_sse.cpp g++ -m64 -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -o bsgsd bsgsd.cpp base58.o rmd160.o hash/ripemd160.o hash/ripemd160_sse.o hash/sha256.o hash/sha256_sse.o bloom.o oldbloom.o xxhash.o util.o Int.o Point.o SECP256K1.o IntMod.o Random.o IntGroup.o sha3.o keccak.o -lm -lpthread rm -r *.o +debug: + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -flto -c oldbloom/bloom.cpp -o oldbloom.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -flto -c bloom/bloom.cpp -o bloom.o + gcc -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-unused-parameter -Ofast -ftree-vectorize -c base58/base58.c -o base58.o + gcc -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Ofast -ftree-vectorize -c rmd160/rmd160.c -o rmd160.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -c sha3/sha3.c -o sha3.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -c sha3/keccak.c -o keccak.o + gcc -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Ofast -ftree-vectorize -c xxhash/xxhash.c -o xxhash.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -c util.c -o util.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -c secp256k1/Int.cpp -o Int.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -c secp256k1/Point.cpp -o Point.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -c secp256k1/SECP256K1.cpp -o SECP256K1.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -c secp256k1/IntMod.cpp -o IntMod.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -flto -c secp256k1/Random.cpp -o Random.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -flto -c secp256k1/IntGroup.cpp -o IntGroup.o + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -o hash/ripemd160.o -ftree-vectorize -flto -c hash/ripemd160.cpp + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -o hash/sha256.o -ftree-vectorize -flto -c hash/sha256.cpp + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -o hash/ripemd160_sse.o -ftree-vectorize -flto -c hash/ripemd160_sse.cpp + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -o hash/sha256_sse.o -ftree-vectorize -flto -c hash/sha256_sse.cpp + g++ -m64 -g -march=native -mtune=native -mssse3 -Wall -Wextra -Wno-deprecated-copy -Ofast -ftree-vectorize -o keyhunt keyhunt.cpp base58.o rmd160.o hash/ripemd160.o hash/ripemd160_sse.o hash/sha256.o hash/sha256_sse.o bloom.o oldbloom.o xxhash.o util.o Int.o Point.o SECP256K1.o IntMod.o Random.o IntGroup.o sha3.o keccak.o -lm -lpthread + rm -r *.o diff --git a/README.md b/README.md index 3feeeed8..9c5e168d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,115 @@ +# Updates + +With RAM prices going crazy and computer parts getting expensive this provides an quick and easy way to increase your search speed by 20%. + +This was done by incorporating binary fuse filter instead of bloom filter. Provides 20% reduction in probability table lookup at the same speed. +This allows you to save RAM and Hard drive space by 20%. OR you can increase you table lookup by 20% using the same hardware selecting a larger k_factor. + +Binary Fuse Filter source - https://github.com/FastFilter/xor_singleheader + +I developed a 20 bit, 24 bit, 32 bit version from the example. 20 but was ultimately selected to match the false alarm rate of the bloom filter. +The code for the other version is included, if you want smaller a false alarm rate at the expense of more space - go for it. + +I decided to release this update in order to speed up the search for BTC puzzle #135 and save energy being spent on this endeavor. The way I see it, we have 2-3 years until quantum computers can solve the private key from public key problem. + +I'm just standing of the shoulders of everyone that contributed before me. + +# Caveats + +Binary fuse table is immutable. Once created you cannot add or remove elements. + +You will need to generate new tables. Bloom filter tables are not compatible. No -> you cannot convert bloom tables to binary fuse tables. They are DIFFERENT! + +You will need additional hard drive space during the creation of the binary fuse tables. The hex values from the range of values will be stored onto the hard drive temporarily and then converted to binary fuse tables one-by-one until they are all generated. Then they are merged into the final table which will be ~20% smaller than the bloom table. + +Generating the binary fuse table will be slower than bloom filter, but once generated you can load them the same way you did with the bloom filter tables. + +# RAM Setting - Original Bloom - (Binary Fuse Filter Size) + +0x100000000000 -- (0.0123 * KFACTOR) (GB) +2 G -k 128 (1.58 GB) + +X G -k 156 (1.9 GB) + +4 G -k 256 (3.2 GB) + +X G -k 312 (3.9 GB) + +8 GB -k 512 (5.85 GB) + +X GB -k 624 (7.8 GB) + +16 GB -k 1024 (12.6 GB) + +XX GB -k 1280 (15.7 GB) + +32 GB -k 2048 (25.2 GB) + +XX GB -k 2560 (31.5 GB) + +64 GB -n 0x100000000000 -k 4096 (50.3 GB) + +XX GB -n 0x100000000000 -k 5120 (63.5 GB) + +0x400000000000 -- (0.024609375 * KFACTOR) (GB) +96 GB -n 0x400000000000 -k 3072 (89 GB) + +128 GB -n 0x400000000000 -k 4096 (100 GB) (1885500126792764888 keys/s) + +XXX GB -n 0x400000000000 -k 4352 (107 GB) + +XXX GB -n 0x400000000000 -k 4608 (114 GB) (1947338335215157248 keys/s) (105 GB) + +XXX GB -n 0x400000000000 -k 5120 (126 GB) TOO BIG - swap memory activated (116 GB) + +XXX GB -n 0x400000000000 -k 6144 (151 GB) + +XXX GB -n 0x400000000000 -k 7168 (176 GB) + +256 GB -n 0x400000000000 -k 8192 (201 GB) + +XXX GB -n 0x400000000000 -k 9216 (227 GB) + +0x1000000000000 -- (0.04921875 * KFACTOR) (GB) + +XXX GB -n 0x1000000000000 -k 5120 (252 GB) + +512 GB -n 0x1000000000000 -k 8192 (403.2 GB) + +XXX GB -n 0x1000000000000 -k 9216 (453.6 GB) + +XXX GB -n 0x1000000000000 -k 10240 (504 GB) + +1 TB -n 0x1000000000000 -k 16384 (806.4 GB) + +0x4000000000000 -- (0.0984375 * KFACTOR) (GB) +XXX TB -n 0x4000000000000 -k 9216 (907 GB) + +XXX TB -n 0x4000000000000 -k 10240 (1.08 TB) + +2 TB -n 0x4000000000000 -k 16384 (1.612 TB) + +4 TB -n 0x4000000000000 -k 32768 (3.2 TB) + +8 TB -n 0x10000000000000 -k 32768 + +# False Alarm Rate - made sure to be same as Bloom Filter + +// Bloom false alarm rate (FAR) +0.000001 + +// Binary Fuse 8 (FAR) +0.0039 +// Binary Fuse 16 (FAR) +0.000015 +// Binary Fuse 20 (FAR) +0.00000095 ~ 0.000001 <- Implemented (Same false alarm rate as original version) +// Binary Fuse 24 (FAR) +0.000000059 +// Binary Fuse 32 (FAR) +0.00000000023 + + # keyhunt Tool for hunt privatekeys for crypto currencies that use secp256k1 elliptic curve From 1dfc36369bdae098fad24a1f37539f7de5a3f177 Mon Sep 17 00:00:00 2001 From: punk-design Date: Thu, 1 Jan 2026 19:53:37 -0700 Subject: [PATCH 3/4] Analysis of various bits (false alarm) --- BSGS_Binary_Fuse_Analysis.png | Bin 0 -> 131722 bytes fusefilter/binaryfusefilter.h | 702 ++++++++++++++++++++++++++++++++++ 2 files changed, 702 insertions(+) create mode 100644 BSGS_Binary_Fuse_Analysis.png diff --git a/BSGS_Binary_Fuse_Analysis.png b/BSGS_Binary_Fuse_Analysis.png new file mode 100644 index 0000000000000000000000000000000000000000..2c618e23a34806ec0189ec06140ab6a30f565d0f GIT binary patch literal 131722 zcmeEvdsxz0{{PI^U7OjoX1ARhvvk@Tn@Q6WmAqk%YfV#RQ>l3Yr%cckDe)2@xNSQ& zZJAA`sHj*?I^~5FFR5In%cKHAMoNl87l9O&0+9fL-@)dx``vxMyV>*n{+j3M_6hx* z^FHT&dA;B7*Eycry=$A}@0S1Wt+(EC-2U00_q_Gi0-v|u`mO&v_TYd1NACT5@Ymb8 zJ=;Egt3j}03_Sb>y#>DIt+yHr7S0~{EqH$S$Y;^Gx8Cyp-uC^p{>Fc)YK=_+J;Mfgy6*68O0P3yjCXa82b=wV_(8h450Oq2Z&#~j{WCHNrh`kKpe zc_|-%exU2O7fzi!>>KydW$wz+#G5hjQy&~%f8*E!#u@U4rr$%~L4BF`HfrmUG!{XX z(=Q9BO=0!^BQlsWh*oede0>=ATJoEtk8gc7&M$=os`8=IkFl55b8(snd&4K|pt2kWv*&D3wy14Hfg4kOUi-ng zD(?Im48;yUr`sP+u}xFsr{iazH0X>fIt40PI*R|8Mx|oe?HxIWbiAnNtwtthK!W8U zq#5xqJMK5-%?41`Y?sJ4?*%fxW5~A{`QKDSd)Fj?Hsm5o>zr&YeZ0B#;$+J5=|hR% z?d5K+VUGAM2xd1l*RA3RKH7di%im^YoulW&MHB}~3W7yw8NPFO)KZyiG4#l*&#nxN z93iS%fvRt|xm>NpD@wnj)Wy_fa9%z+9Z2B>5T>8;pZ3sbLHP8`l)K|1;h{0apKNh37Ttmdk7ttO%iZN^*OA~__*wCR44d9vI2eYvweuc33Q zBSmAzixNjPitQrjMD4)J?BR`0qxI=`x!z5zROpG@8kjx?&+x}Cs#hsR6j~3`_`Hnk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CzT!T{LhZF+;Sqo;SnHsQnqBe8M|um2^sVWT*uvx z^T(u|_#Qn%Ug$2vgXcGiFmIAtN|#yfvE0(QBP`K2e1wyVogmgE3`g}YSPuGmBf{D; zD!0{nVB;7s^S=zETUjkmIk0#4k(4*1vNk_xg{TSXLS6VEQhNxqhbGcyZA2OLjK8HE zR?{)Cq}hPmiHsvwCrff}JquL&mAqa$7AdzX{lX$EvAq6YYW06WYPHF_@V}ki_V-6p zg4eP_ff^-HhZtS{=h1NBH!}}cEDHajNDtd=ckMR E0e;XEJpcdz literal 0 HcmV?d00001 diff --git a/fusefilter/binaryfusefilter.h b/fusefilter/binaryfusefilter.h index 6896a4a0..7e55c28a 100644 --- a/fusefilter/binaryfusefilter.h +++ b/fusefilter/binaryfusefilter.h @@ -12,6 +12,14 @@ #define XOR_MAX_ITERATIONS 100 #endif +#if defined(__GNUC__) || defined(__clang__) +#define BF_INLINE __attribute__((always_inline)) inline +#define BF_RESTRICT __restrict__ +#else +#define BF_INLINE inline +#define BF_RESTRICT +#endif + void erase_elements_conditional(std::vector& vector_a, std::vector& vector_b, uint64_t threshold) { if (vector_a.size() != vector_b.size()) { // Handle error: vectors must be of the same size @@ -543,6 +551,700 @@ static inline bool binary_fuse8_populate(uint64_t *keys, uint32_t size, return true; } +////////////////// +// fuse10 +////////////////// + +typedef struct binary_fuse10_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + uint16_t *Fingerprints; // lower 10 bits used +} binary_fuse10_t; + +static inline uint16_t +binary_fuse10_fingerprint(uint64_t hash) { + return (uint16_t)(hash ^ (hash >> 32)) & 0x3FF; // 10 bits +} + +static inline binary_hashes_t +binary_fuse10_hash_batch(uint64_t hash, + const binary_fuse10_t *filter) { + uint64_t hi = binary_fuse_mulhi(hash, filter->SegmentCountLength); + binary_hashes_t h; + h.h0 = (uint32_t)hi; + h.h1 = h.h0 + filter->SegmentLength; + h.h2 = h.h1 + filter->SegmentLength; + h.h1 ^= (uint32_t)(hash >> 18) & filter->SegmentLengthMask; + h.h2 ^= (uint32_t)(hash) & filter->SegmentLengthMask; + return h; +} + +static inline uint32_t +binary_fuse10_hash(uint64_t index, uint64_t hash, + const binary_fuse10_t *filter) { + uint64_t h = binary_fuse_mulhi(hash, filter->SegmentCountLength); + h += index * filter->SegmentLength; + uint64_t hh = hash & ((1ULL << 36) - 1); + h ^= (uint32_t)((hh >> (36 - 18 * index)) & + filter->SegmentLengthMask); + return (uint32_t)h; +} + +static inline bool +binary_fuse10_contain(uint64_t key, + const binary_fuse10_t *filter) { + uint64_t hash = binary_fuse_mix_split(key, filter->Seed); + uint16_t f = binary_fuse10_fingerprint(hash); + binary_hashes_t h = binary_fuse10_hash_batch(hash, filter); + + f ^= filter->Fingerprints[h.h0]; + f ^= filter->Fingerprints[h.h1]; + f ^= filter->Fingerprints[h.h2]; + + return f == 0; +} + +static inline bool +binary_fuse10_allocate(uint32_t size, + binary_fuse10_t *filter) { + const uint32_t arity = 3; + filter->Size = size; + + filter->SegmentLength = + size ? binary_fuse_calculate_segment_length(arity, size) : 4; + if (filter->SegmentLength > 262144) + filter->SegmentLength = 262144; + + filter->SegmentLengthMask = filter->SegmentLength - 1; + + double sizeFactor = + size > 1 ? binary_fuse_calculate_size_factor(arity, size) : 0.0; + uint32_t capacity = + size > 1 ? (uint32_t)(size * sizeFactor + 0.5) : 0; + + uint32_t initSeg = + (capacity + filter->SegmentLength - 1) / filter->SegmentLength - + (arity - 1); + + filter->ArrayLength = + (initSeg + arity - 1) * filter->SegmentLength; + + filter->SegmentCount = + filter->ArrayLength / filter->SegmentLength; + + if (filter->SegmentCount <= arity - 1) + filter->SegmentCount = 1; + else + filter->SegmentCount -= (arity - 1); + + filter->ArrayLength = + (filter->SegmentCount + arity - 1) * filter->SegmentLength; + + filter->SegmentCountLength = + filter->SegmentCount * filter->SegmentLength; + + filter->Fingerprints = + (uint16_t *)calloc(filter->ArrayLength, sizeof(uint16_t)); + + return filter->Fingerprints != NULL; +} +static inline bool +binary_fuse10_populate(uint64_t *keys, uint32_t size, + binary_fuse10_t *filter) { + if (size != filter->Size) return false; + + uint64_t rng = 0x726b2b9d438b9d4dULL; + filter->Seed = binary_fuse_rng_splitmix64(&rng); + + uint32_t capacity = filter->ArrayLength; + + uint64_t *reverseOrder = (uint64_t*)calloc(size + 1, sizeof(uint64_t)); + uint64_t *t2hash = (uint64_t*)calloc(capacity, sizeof(uint64_t)); + uint8_t *t2count = (uint8_t*)calloc(capacity, sizeof(uint8_t)); + uint32_t *alone = (uint32_t*)malloc(capacity * sizeof(uint32_t)); + uint8_t *reverseH = (uint8_t*)malloc(size * sizeof(uint8_t)); + if (!reverseOrder || !t2hash || !t2count || !alone || !reverseH) + return false; + + reverseOrder[size] = 1; + + for (;;) { + memset(t2count, 0, capacity); + memset(t2hash, 0, capacity * sizeof(uint64_t)); + + for (uint32_t i = 0; i < size; i++) { + uint64_t h = binary_fuse_murmur64(keys[i] + filter->Seed); + reverseOrder[i] = h; + + for (uint32_t j = 0; j < 3; j++) { + uint32_t idx = binary_fuse10_hash(j, h, filter); + t2count[idx] += 4; + t2count[idx] ^= j; + t2hash[idx] ^= h; + } + } + + uint32_t q = 0; + for (uint32_t i = 0; i < capacity; i++) + if ((t2count[i] >> 2) == 1) + alone[q++] = i; + + uint32_t stack = 0; + while (q) { + uint32_t idx = alone[--q]; + if ((t2count[idx] >> 2) != 1) continue; + + uint64_t h = t2hash[idx]; + uint8_t which = t2count[idx] & 3; + + reverseH[stack] = which; + reverseOrder[stack++] = h; + + for (uint32_t j = 0; j < 3; j++) { + if (j == which) continue; + uint32_t o = binary_fuse10_hash(j, h, filter); + t2count[o] -= 4; + t2count[o] ^= j; + t2hash[o] ^= h; + if ((t2count[o] >> 2) == 1) + alone[q++] = o; + } + } + + if (stack == size) break; + filter->Seed = binary_fuse_rng_splitmix64(&rng); + } + + for (uint32_t i = size; i-- > 0;) { + uint64_t h = reverseOrder[i]; + uint16_t fp = binary_fuse10_fingerprint(h); + uint8_t which = reverseH[i]; + + uint16_t v = fp; + for (uint32_t j = 0; j < 3; j++) { + if (j != which) + v ^= filter->Fingerprints[ + binary_fuse10_hash(j, h, filter)]; + } + + filter->Fingerprints[ + binary_fuse10_hash(which, h, filter)] = v; + } + + free(reverseOrder); + free(t2hash); + free(t2count); + free(alone); + free(reverseH); + return true; +} + +////////////////// +// fuse12 +////////////////// + +#define BF12_BITS 12U +#define BF12_MASK ((1U << BF12_BITS) - 1U) + + + +typedef struct binary_fuse12_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + uint8_t *Fingerprints; /* packed 12-bit */ +} binary_fuse12_t; + +/* Needs only 3 bytes */ +static inline uint16_t +load12(const uint8_t *buf, uint32_t idx) { + size_t bit = (size_t)idx * BF12_BITS; + size_t byte = bit >> 3; + uint32_t sh = bit & 7U; + + uint32_t w = + (uint32_t)buf[byte] | + ((uint32_t)buf[byte + 1] << 8) | + ((uint32_t)buf[byte + 2] << 16); + + return (uint16_t)((w >> sh) & BF12_MASK); +} + +static inline void +store12(uint8_t *buf, uint32_t idx, uint16_t v) { + size_t bit = (size_t)idx * BF12_BITS; + size_t byte = bit >> 3; + uint32_t sh = bit & 7U; + + uint32_t w = + (uint32_t)buf[byte] | + ((uint32_t)buf[byte + 1] << 8) | + ((uint32_t)buf[byte + 2] << 16); + + uint32_t mask = BF12_MASK << sh; + w = (w & ~mask) | ((uint32_t)(v & BF12_MASK) << sh); + + buf[byte] = (uint8_t)w; + buf[byte + 1] = (uint8_t)(w >> 8); + buf[byte + 2] = (uint8_t)(w >> 16); +} + +static inline uint16_t +binary_fuse12_fingerprint(uint64_t hash) { + uint16_t fp = (uint16_t)((hash ^ (hash >> 32)) & BF12_MASK); + return fp ? fp : 1; +} + +static inline binary_hashes_t +binary_fuse12_hash_batch(uint64_t hash, const binary_fuse12_t *f) { + uint64_t h = binary_fuse_mulhi(hash, f->SegmentCountLength); + binary_hashes_t r; + r.h0 = (uint32_t)h; + r.h1 = r.h0 + f->SegmentLength; + r.h2 = r.h1 + f->SegmentLength; + r.h1 ^= (uint32_t)(hash >> 18) & f->SegmentLengthMask; + r.h2 ^= (uint32_t)hash & f->SegmentLengthMask; + return r; +} + +BF_INLINE binary_hashes_t +binary_fuse12_hash3(uint64_t h, const binary_fuse12_t * BF_RESTRICT f) { + uint64_t base = binary_fuse_mulhi(h, f->SegmentCountLength); + uint32_t h0 = (uint32_t)base; + uint32_t h1 = h0 + f->SegmentLength; + uint32_t h2 = h1 + f->SegmentLength; + + uint32_t mask = f->SegmentLengthMask; + h1 ^= (uint32_t)(h >> 18) & mask; + h2 ^= (uint32_t)h & mask; + + return (binary_hashes_t){h0, h1, h2}; +} + +static inline uint32_t +binary_fuse12_hash(uint32_t index, uint64_t hash, + const binary_fuse12_t *f) { + uint64_t h = binary_fuse_mulhi(hash, f->SegmentCountLength); + h += index * f->SegmentLength; + uint64_t hh = hash & ((1ULL << 36) - 1); + h ^= (hh >> (36 - 18 * index)) & f->SegmentLengthMask; + return (uint32_t)h; +} + + +static inline bool +binary_fuse12_contain(uint64_t key, const binary_fuse12_t *f) { + uint64_t h = binary_fuse_mix_split(key, f->Seed); + uint16_t fp = binary_fuse12_fingerprint(h); + binary_hashes_t x = binary_fuse12_hash_batch(h, f); + + fp ^= load12(f->Fingerprints, x.h0) + ^ load12(f->Fingerprints, x.h1) + ^ load12(f->Fingerprints, x.h2); + + return fp == 0; +} + +/* ================= ALLOC ================= */ + +static inline bool +binary_fuse12_allocate(uint32_t size, binary_fuse12_t *f) { + uint32_t arity = 3; + f->Size = size; + f->SegmentLength = size ? binary_fuse_calculate_segment_length(arity, size) : 4; + if (f->SegmentLength > 262144) f->SegmentLength = 262144; + f->SegmentLengthMask = f->SegmentLength - 1; + + double factor = size > 1 ? binary_fuse_calculate_size_factor(arity, size) : 0; + uint32_t cap = (uint32_t)round(size * factor); + + uint32_t sc = + (cap + f->SegmentLength - 1) / f->SegmentLength - (arity - 1); + f->ArrayLength = (sc + arity - 1) * f->SegmentLength; + + f->SegmentCount = + (f->ArrayLength / f->SegmentLength > arity - 1) + ? f->ArrayLength / f->SegmentLength - (arity - 1) + : 1; + + f->ArrayLength = (f->SegmentCount + arity - 1) * f->SegmentLength; + f->SegmentCountLength = f->SegmentCount * f->SegmentLength; + + size_t bits = (size_t)f->ArrayLength * BF12_BITS; + size_t bytes = (bits + 7) >> 3; + + f->Fingerprints = (uint8_t *)calloc(bytes + 3, 1); + return f->Fingerprints != NULL; +} + +static inline size_t +binary_fuse12_size_in_bytes(const binary_fuse12_t *f) { + return ((size_t)f->ArrayLength * BF12_BITS + 7) / 8 + + sizeof(binary_fuse12_t); +} + +static inline void +binary_fuse12_free(binary_fuse12_t *f) { + free(f->Fingerprints); + memset(f, 0, sizeof(*f)); +} + +/* ================= POPULATE ================= */ + +static inline bool +binary_fuse12_populate(uint64_t *keys, uint32_t size, + binary_fuse12_t *f) { + if (size != f->Size) return false; + + uint64_t rng = 0x726b2b9d438b9d4dULL; + f->Seed = binary_fuse_rng_splitmix64(&rng); + + uint32_t cap = f->ArrayLength; + uint64_t *reverseOrder = (uint64_t*)calloc(size + 1, sizeof(uint64_t)); + uint64_t *t2hash = (uint64_t*)calloc(cap, sizeof(uint64_t)); + uint8_t *t2count = (uint8_t*)calloc(cap, 1); + uint32_t *alone = (uint32_t*)malloc(cap * sizeof(uint32_t)); + uint8_t *reverseH = (uint8_t*)malloc(size); + if (!reverseOrder || !t2hash || !t2count || !alone || !reverseH) + return false; + + uint32_t h012[5]; + + for (;;) { + memset(t2count, 0, cap); + memset(t2hash, 0, cap * sizeof(uint64_t)); + memset(reverseOrder, 0, size * sizeof(uint64_t)); + + for (uint32_t i = 0; i < size; i++) { + uint64_t h = binary_fuse_murmur64(keys[i] + f->Seed); + reverseOrder[i] = h; + + uint32_t h0 = binary_fuse12_hash(0, h, f); + uint32_t h1 = binary_fuse12_hash(1, h, f); + uint32_t h2 = binary_fuse12_hash(2, h, f); + + t2count[h0] += 4; t2hash[h0] ^= h; + t2count[h1] += 4; t2count[h1] ^= 1; t2hash[h1] ^= h; + t2count[h2] += 4; t2count[h2] ^= 2; t2hash[h2] ^= h; + } + + uint32_t Q = 0; + for (uint32_t i = 0; i < cap; i++) + if ((t2count[i] >> 2) == 1) + alone[Q++] = i; + + uint32_t stack = 0; + while (Q) { + uint32_t idx = alone[--Q]; + if ((t2count[idx] >> 2) != 1) continue; + + uint64_t h = t2hash[idx]; + uint8_t found = t2count[idx] & 3; + reverseOrder[stack] = h; + reverseH[stack++] = found; + + h012[0] = binary_fuse12_hash(0, h, f); + h012[1] = binary_fuse12_hash(1, h, f); + h012[2] = binary_fuse12_hash(2, h, f); + h012[3] = h012[0]; + h012[4] = h012[1]; + + for (int j = 1; j <= 2; j++) { + uint32_t o = h012[found + j]; + t2count[o] -= 4; + t2count[o] ^= binary_fuse_mod3(found + j); + t2hash[o] ^= h; + if ((t2count[o] >> 2) == 1) + alone[Q++] = o; + } + } + + if (stack == size) { + for (int i = (int)size - 1; i >= 0; i--) { + uint64_t h = reverseOrder[i]; + uint16_t fp = binary_fuse12_fingerprint(h); + uint8_t found = reverseH[i]; + + h012[0] = binary_fuse12_hash(0, h, f); + h012[1] = binary_fuse12_hash(1, h, f); + h012[2] = binary_fuse12_hash(2, h, f); + h012[3] = h012[0]; + h012[4] = h012[1]; + + uint16_t v = + fp ^ + load12(f->Fingerprints, h012[found + 1]) ^ + load12(f->Fingerprints, h012[found + 2]); + + store12(f->Fingerprints, h012[found], v); + } + break; + } + + f->Seed = binary_fuse_rng_splitmix64(&rng); + } + + free(reverseOrder); + free(t2hash); + free(t2count); + free(alone); + free(reverseH); + return true; +} + +////////////////// +// fuse14 +////////////////// + +#define BF14_BITS 14U +#define BF14_MASK ((1U << BF14_BITS) - 1U) + +/* Safe: needs only 3 bytes + overlap */ +static inline uint16_t load14(const uint8_t *buf, uint32_t idx) { + size_t bit = (size_t)idx * BF14_BITS; + size_t byte = bit >> 3; + uint32_t shift = bit & 7U; + + uint32_t w = + (uint32_t)buf[byte] | + ((uint32_t)buf[byte + 1] << 8) | + ((uint32_t)buf[byte + 2] << 16); + + return (uint16_t)((w >> shift) & BF14_MASK); +} + +static inline void store14(uint8_t *buf, uint32_t idx, uint16_t val) { + size_t bit = (size_t)idx * BF14_BITS; + size_t byte = bit >> 3; + uint32_t shift = bit & 7U; + + uint32_t w = + (uint32_t)buf[byte] | + ((uint32_t)buf[byte + 1] << 8) | + ((uint32_t)buf[byte + 2] << 16); + + uint32_t mask = BF14_MASK << shift; + w = (w & ~mask) | ((uint32_t)(val & BF14_MASK) << shift); + + buf[byte] = (uint8_t)(w); + buf[byte + 1] = (uint8_t)(w >> 8); + buf[byte + 2] = (uint8_t)(w >> 16); +} + + +typedef struct binary_fuse14_s { + uint64_t Seed; + uint32_t Size; + uint32_t SegmentLength; + uint32_t SegmentLengthMask; + uint32_t SegmentCount; + uint32_t SegmentCountLength; + uint32_t ArrayLength; + uint8_t *Fingerprints; /* packed 14-bit array */ + // Destructor to deallocate memory + ~binary_fuse14_s(){ + // First, delete the objects pointed to by each pointer (if they were allocated) + free(Fingerprints); + } +} binary_fuse14_t; + + +static inline uint16_t binary_fuse14_fingerprint(uint64_t hash) { + uint16_t fp = (uint16_t)((hash ^ (hash >> 32)) & BF14_MASK); + return fp ? fp : 1; /* avoid zero */ +} + +static inline binary_hashes_t +binary_fuse14_hash_batch(uint64_t hash, const binary_fuse14_t *f) { + uint64_t h = binary_fuse_mulhi(hash, f->SegmentCountLength); + binary_hashes_t r; + r.h0 = (uint32_t)h; + r.h1 = r.h0 + f->SegmentLength; + r.h2 = r.h1 + f->SegmentLength; + r.h1 ^= (uint32_t)(hash >> 18U) & f->SegmentLengthMask; + r.h2 ^= (uint32_t)(hash) & f->SegmentLengthMask; + return r; +} + +static inline uint32_t +binary_fuse14_hash(uint32_t index, uint64_t hash, + const binary_fuse14_t *f) { + uint64_t h = binary_fuse_mulhi(hash, f->SegmentCountLength); + h += index * f->SegmentLength; + uint64_t hh = hash & ((1ULL << 36) - 1); + h ^= (hh >> (36 - 18 * index)) & f->SegmentLengthMask; + return (uint32_t)h; +} + +static inline bool +binary_fuse14_contain(uint64_t key, const binary_fuse14_t *filter) { + uint64_t h = binary_fuse_mix_split(key, filter->Seed); + uint16_t fp = binary_fuse14_fingerprint(h); + binary_hashes_t hashes = binary_fuse14_hash_batch(h, filter); + + uint16_t a = load14(filter->Fingerprints, hashes.h0); + uint16_t b = load14(filter->Fingerprints, hashes.h1); + uint16_t c = load14(filter->Fingerprints, hashes.h2); + + fp ^= a ^ b ^ c; + return fp == 0; +} + + +static inline bool +binary_fuse14_allocate(uint32_t size, binary_fuse14_t *f) { + uint32_t arity = 3; + f->Size = size; + f->SegmentLength = size ? binary_fuse_calculate_segment_length(arity, size) : 4; + if (f->SegmentLength > 262144) f->SegmentLength = 262144; + f->SegmentLengthMask = f->SegmentLength - 1; + + double factor = size > 1 ? binary_fuse_calculate_size_factor(arity, size) : 0; + uint32_t cap = (uint32_t)round(size * factor); + + uint32_t sc = + (cap + f->SegmentLength - 1) / f->SegmentLength - (arity - 1); + f->ArrayLength = (sc + arity - 1) * f->SegmentLength; + + f->SegmentCount = + (f->ArrayLength / f->SegmentLength > arity - 1) + ? f->ArrayLength / f->SegmentLength - (arity - 1) + : 1; + + f->ArrayLength = (f->SegmentCount + arity - 1) * f->SegmentLength; + f->SegmentCountLength = f->SegmentCount * f->SegmentLength; + + size_t bits = (size_t)f->ArrayLength * BF14_BITS; + size_t bytes = (bits + 7) >> 3; + + f->Fingerprints = (uint8_t *)calloc(bytes + 3, 1); + return f->Fingerprints != NULL; +} + +static inline size_t +binary_fuse14_size_in_bytes(const binary_fuse14_t *f) { + return ((size_t)f->ArrayLength * BF14_BITS + 7) / 8 + + sizeof(binary_fuse14_t); +} + +static inline void +binary_fuse14_free(binary_fuse14_t *f) { + free(f->Fingerprints); + memset(f, 0, sizeof(*f)); +} + + +static inline bool +binary_fuse14_populate(uint64_t *keys, uint32_t size, + binary_fuse14_t *f) { + if (size != f->Size) return false; + + uint64_t rng = 0x726b2b9d438b9d4dULL; + f->Seed = binary_fuse_rng_splitmix64(&rng); + + uint32_t cap = f->ArrayLength; + uint64_t *reverseOrder = (uint64_t*)calloc(size + 1, sizeof(uint64_t)); + uint64_t *t2hash = (uint64_t*)calloc(cap, sizeof(uint64_t)); + uint8_t *t2count = (uint8_t*)calloc(cap, 1); + uint32_t *alone = (uint32_t*)malloc(cap * sizeof(uint32_t)); + uint8_t *reverseH = (uint8_t*)malloc(size); + + if (!reverseOrder || !t2hash || !t2count || !alone || !reverseH) + return false; + + uint32_t h012[5]; + + for (;;) { + memset(t2count, 0, cap); + memset(t2hash, 0, cap * sizeof(uint64_t)); + memset(reverseOrder, 0, size * sizeof(uint64_t)); + + for (uint32_t i = 0; i < size; i++) { + uint64_t h = binary_fuse_murmur64(keys[i] + f->Seed); + reverseOrder[i] = h; + + uint32_t h0 = binary_fuse14_hash(0, h, f); + uint32_t h1 = binary_fuse14_hash(1, h, f); + uint32_t h2 = binary_fuse14_hash(2, h, f); + + t2count[h0] += 4; t2hash[h0] ^= h; + t2count[h1] += 4; t2count[h1] ^= 1; t2hash[h1] ^= h; + t2count[h2] += 4; t2count[h2] ^= 2; t2hash[h2] ^= h; + } + + uint32_t Q = 0; + for (uint32_t i = 0; i < cap; i++) + if ((t2count[i] >> 2) == 1) + alone[Q++] = i; + + uint32_t stack = 0; + while (Q) { + uint32_t idx = alone[--Q]; + if ((t2count[idx] >> 2) != 1) continue; + + uint64_t h = t2hash[idx]; + uint8_t found = t2count[idx] & 3; + reverseOrder[stack] = h; + reverseH[stack++] = found; + + h012[0] = binary_fuse14_hash(0, h, f); + h012[1] = binary_fuse14_hash(1, h, f); + h012[2] = binary_fuse14_hash(2, h, f); + h012[3] = h012[0]; + h012[4] = h012[1]; + + for (int j = 1; j <= 2; j++) { + uint32_t o = h012[found + j]; + t2count[o] -= 4; + t2count[o] ^= binary_fuse_mod3(found + j); + t2hash[o] ^= h; + if ((t2count[o] >> 2) == 1) + alone[Q++] = o; + } + } + + if (stack == size) { + for (int i = (int)size - 1; i >= 0; i--) { + uint64_t h = reverseOrder[i]; + uint16_t fp = binary_fuse14_fingerprint(h); + uint8_t found = reverseH[i]; + + h012[0] = binary_fuse14_hash(0, h, f); + h012[1] = binary_fuse14_hash(1, h, f); + h012[2] = binary_fuse14_hash(2, h, f); + h012[3] = h012[0]; + h012[4] = h012[1]; + + uint16_t v = + fp ^ + load14(f->Fingerprints, h012[found + 1]) ^ + load14(f->Fingerprints, h012[found + 2]); + + store14(f->Fingerprints, h012[found], v); + } + break; + } + + f->Seed = binary_fuse_rng_splitmix64(&rng); + } + + free(reverseOrder); + free(t2hash); + free(t2count); + free(alone); + free(reverseH); + return true; +} + ////////////////// // fuse16 ////////////////// From f48ee04201744152aa2878aa4be20274aee2534c Mon Sep 17 00:00:00 2001 From: punk-design Date: Fri, 2 Jan 2026 11:18:35 -0700 Subject: [PATCH 4/4] Completed Bit Analysis - code changes coming later --- BSGS_Binary_Fuse_Analysis.png | Bin 131722 -> 153383 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/BSGS_Binary_Fuse_Analysis.png b/BSGS_Binary_Fuse_Analysis.png index 2c618e23a34806ec0189ec06140ab6a30f565d0f..acf44de37941c95edd9b23bef0e37787f75018d4 100644 GIT binary patch literal 153383 zcmeFa2UL{j);3HMODsSXD>VwDB1NS$lqiTIO$DTb2-1e44jl)gMvw@iRO!-t?_EVf z1O}-iZAL*r>PQ`6DF40(ljvDF=X~#Z|L7stSG@)`Q~yCY_LJq!$MiAoBmG+m6wS3GY8%|%hxn)i(771(q+XodgKAldu**IiA{mDl|5vBlZy8t{=L zwU)Y)`s{mU-U@WGEbk!JhJ5mnmv7BH#g-c{A!7D&`y&b$ul8`+P1TcuDzAfG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