]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: dev: Use SipHash-1-3 for hash tables, keep SipHash-2-4 for cookies
authorOndřej Surý <ondrej@isc.org>
Fri, 15 May 2026 07:33:09 +0000 (09:33 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 15 May 2026 07:33:09 +0000 (09:33 +0200)
SipHash-2-4 was designed as a conservative PRF/MAC with extra rounds
against future attacks.  For hash tables, where outputs are never
exposed, SipHash-1-3 provides sufficient collision resistance with
fewer rounds.  As the SipHash author noted: "I would be very surprised
if SipHash-1-3 introduced weaknesses for hash tables."

DNS cookies continue to use SipHash-2-4 since cookie values are sent
on the wire and must resist online attacks.

Merge branch 'ondrej/siphash-1-3' into 'main'

See merge request isc-projects/bind9!11787


Trivial merge