- Add a murmur3 implementation for csum

Mark: manually merged Makefile changes

Signed-off-by: Jack Kenrick <github@jack.fr.eu.org>
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
- Few coding style fixes

Signed-off-by: Jack Kenrick <github@jack.fr.eu.org>
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
murmur3: add hash_type

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
murmur3: add warning

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
murmur3: zero unused portion of digest

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
- Allow a running checksum with variables block size

Signed-off-by: Jack Kenrick github@jack.fr.eu.org
- A lot of cleanups & bug fixes

Signed-off-by: Jack Kenrick github@jack.fr.eu.org
Fix warning in csum-murmur3.c

Easiest is to just memcpy instead of the strncat().

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
csum-murmur3: don't null terminate rem_buffer

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
csum-murmur3: add some asserts

To help us catch overruns on rem_buffer.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
csum-murmur3: remove unused code at bottom of add_to_running_checksum

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
csum-murmur3: shrink rem_buffer

We empty it at the top of add_to_running_checksum() if it would otherwise
become as large or larger than a 16 byte block. In that case, we know that
it can never be larger than 15 bytes. Change the definition to reflect this
and update the assert at the bottom of add_to_running_checksum().

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Have show-shared-extents to take a file list as arguments.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>