aboutsummaryrefslogtreecommitdiff
path: root/builtins/siphash.h
blob: 0fc7614ccfe25398726f844289e3e12a6270145b (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

// An implementation of the SipHash algorithm.

#include <stdint.h>
#include <stddef.h>

uint64_t siphash24(const uint8_t *src, size_t src_sz);

// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0