this adds a completely new hash based mangling scheme
commitbb173c1a7e2408ced967ebac40b5e3f852ccd3a1
authorAndrew Tridgell <tridge@samba.org>
Thu, 11 Apr 2002 09:56:38 +0000 (11 09:56 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 11 Apr 2002 09:56:38 +0000 (11 09:56 +0000)
treeaf9a576edc2171806ab09ba5a9444e7374ebf9c7
parent094a51edb9369f5c493bddfdc98347431bea3c2d
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.
source/Makefile.in
source/lib/util_str.c
source/smbd/mangle.c
source/smbd/mangle_hash2.c [new file with mode: 0644]