this adds a completely new hash based mangling scheme
authorAndrew Tridgell <tridge@samba.org>
Thu, 11 Apr 2002 09:56:38 +0000 (09:56 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 11 Apr 2002 09:56:38 +0000 (09:56 +0000)
commit714518e550f3c6ee36fa6e3e2447b943898a2ac5
treebf01343fb92861e3d2ec9a55e9550a7f08dd1493
parent60fd2ec8cc37d5af323235bf750d41dba52c0c92
this adds a completely new hash based mangling scheme

the hash for this scheme is *much* larger (approximately 31 bits) and
the code is written to be very fast, correctly handling multibyte
while not doing any actual multi-byte conversions in the vast majority
of cases

you can select this scheme using "mangling method = hash2", although I
may make it the default if it works out well.
(This used to be commit bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)
source3/Makefile.in
source3/lib/util_str.c
source3/smbd/mangle.c
source3/smbd/mangle_hash2.c [new file with mode: 0644]