1 #ifndef crypto_shorthash_H
2 #define crypto_shorthash_H
6 #include "crypto_shorthash_siphash24.h"
13 #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES
15 size_t crypto_shorthash_bytes(void);
17 #define crypto_shorthash_KEYBYTES crypto_shorthash_siphash24_KEYBYTES
19 size_t crypto_shorthash_keybytes(void);
21 #define crypto_shorthash_PRIMITIVE "siphash24"
23 const char *crypto_shorthash_primitive(void);
26 int crypto_shorthash(unsigned char *out
, const unsigned char *in
,
27 unsigned long long inlen
, const unsigned char *k
);