chiark / gitweb /
bus: switch kdbus bloom filter over to SipHash (from MurmurHash3)
authorLennart Poettering <lennart@poettering.net>
Sun, 22 Dec 2013 22:26:07 +0000 (23:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 23 Dec 2013 03:20:55 +0000 (04:20 +0100)
commitb67f541f130cd4c55da0b74af5fcbb4daeca1937
tree352c8765fbe42b43e575f938230974005537870c
parent57d0e6b2731ab695d14b7cf496832ba416cc43d3
bus: switch kdbus bloom filter over to SipHash (from MurmurHash3)

Let's try to standardize on a single non-cryptographic hash algorithm,
and for that SipHash appears to be the best answer.

With this change there are two other hash functions left in systemd: an
older version of MurmurHash embedded into libudev for the bloom filters
in udev messages (which is hard to update, given that the we probably
should stay compatible with older versions of the library). And lookup3
in the journal files (which we could replace for new files, but which is
probably not worth the work).
Makefile.am
README
src/libsystemd-bus/bus-bloom.c
src/shared/MurmurHash3.c [deleted file]
src/shared/MurmurHash3.h [deleted file]