]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commitc708d694feba58e6a14e31c449e4f112fa632419
tree5cca0cfa719ade3e9180ef1e5835ca7b30bb839d
parent62f1672609fdc3c06df8ab7ce38922bda75a5a4b
parent6175577210af58f778e65ba430958c614fd17ff4
chg: dev: Use SipHash-1-3 for hash tables, keep SipHash-2-4 for cookies

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