- For #762: More generic integration for siphash.c

This commit is contained in:
George Thessalonikefs
2023-06-22 11:45:08 +02:00
parent b02f9befcd
commit 1cd75cccfc
4 changed files with 60 additions and 7 deletions
+1 -3
View File
@@ -43,6 +43,7 @@
#include "util/data/dname.h"
#include "util/data/packed_rrset.h"
#include "util/netevent.h"
#include "util/siphash.h"
#include "util/storage/lookup3.h"
#include "util/regional.h"
#include "sldns/rrdef.h"
@@ -951,9 +952,6 @@ edns_opt_list_append_keepalive(struct edns_option** list, int msec,
data, region);
}
int siphash(const uint8_t *in, const size_t inlen,
const uint8_t *k, uint8_t *out, const size_t outlen);
/** RFC 1982 comparison, uses unsigned integers, and tries to avoid
* compiler optimization (eg. by avoiding a-b<0 comparisons),
* this routine matches compare_serial(), for SOA serial number checks */