siphash.h 295 B

12345678910111213
  1. #ifndef SIPHASH_H
  2. #define SIPHASH_H
  3. struct sipkey {
  4. uint64_t k0;
  5. uint64_t k1;
  6. };
  7. uint64_t siphash24(const void *src, unsigned long src_sz, const struct sipkey *key);
  8. void siphash_set_global_key(const struct sipkey *key);
  9. uint64_t siphash24g(const void *src, unsigned long src_sz);
  10. #endif