22#ifndef SIPHASH_OPENSSL_H
23#define SIPHASH_OPENSSL_H
45 const void *k, uint8_t *out,
size_t outlen);
int siphash_openssl(void *sip_context, const void *in, size_t inlen, const void *k, uint8_t *out, size_t outlen)
Calculates SIPHASH using the crypto library function.
void * siphash_openssl_init(size_t hash_size)
void siphash_openssl_uninit(void *sip_context)
Free the siphash context used for the crypto library.
bool siphash_openssl_available(const void *sip_context)
Returns if the crypto library is available (and should be used).