2021-10-19 12:43:28 +02:00
|
|
|
/* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
* Copyright (c) 2021 Red Hat GmbH
|
|
|
|
* Author: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
*/
|
|
|
|
|
2022-03-26 00:05:31 +01:00
|
|
|
#ifndef SIPHASH_H
|
|
|
|
#define SIPHASH_H
|
|
|
|
|
2021-03-17 10:57:36 +01: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-26 00:05:31 +01:00
|
|
|
|
|
|
|
#endif /* SIPHASH_H */
|