2 #include "crypto_shorthash.h"
5 crypto_shorthash_bytes(void)
7 return crypto_shorthash_BYTES
;
11 crypto_shorthash_keybytes(void)
13 return crypto_shorthash_KEYBYTES
;
17 crypto_shorthash_primitive(void)
19 return crypto_shorthash_PRIMITIVE
;
23 crypto_shorthash(unsigned char *out
, const unsigned char *in
,
24 unsigned long long inlen
, const unsigned char *k
)
26 return crypto_shorthash_siphash24(out
, in
, inlen
, k
);