/* * SPDX-FileCopyrightText: 2025 William Bell * * SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef HASH_DATA_H #define HASH_DATA_H #include #include extern uint8_t siphash_key[16]; extern const uint8_t siphash_key_fixed_for_translator[16]; extern uint8_t empty_siphash_key[16]; void generate_siphash_key(uint8_t siphash_key[16]); uint64_t siphash64_bytes(const void *data, size_t len,const uint8_t hash_key[16]); #endif //HASH_DATA_H