summaryrefslogtreecommitdiff
path: root/lib/superfox/qpc/nhash2.c
blob: 5453947b24f9b11870298dec9c3941803a4c7fe5 (plain)
1
2
3
4
5
6
7
8
9
#include "nhash2.h"

#include "../../lookup3.h"

uint32_t nhash2(const void *key, uint64_t length, uint32_t initval)
{
  /* SuperFox applies its 21-bit CRC mask after hashing. */
  return wsjt_hashlittle(key, (size_t)length, initval);
}