2021-10-19 10:43:28 +00:00
|
|
|
/* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
* Copyright (c) 2021 Red Hat GmbH
|
|
|
|
* Author: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
*/
|
|
|
|
|
2022-03-25 23:05:31 +00:00
|
|
|
#ifndef SIPHASH_H
|
|
|
|
#define SIPHASH_H
|
|
|
|
|
2021-03-17 09:57:36 +00:00
|
|
|
uint64_t siphash_8b(const uint8_t *in, const uint64_t *k);
|
|
|
|
uint32_t siphash_12b(const uint8_t *in, const uint64_t *k);
|
|
|
|
uint64_t siphash_20b(const uint8_t *in, const uint64_t *k);
|
|
|
|
uint32_t siphash_32b(const uint8_t *in, const uint64_t *k);
|
|
|
|
uint32_t siphash_36b(const uint8_t *in, const uint64_t *k);
|
2022-03-25 23:05:31 +00:00
|
|
|
|
|
|
|
#endif /* SIPHASH_H */
|