hash: fix CRC32c computation
authorDidier Pallard <didier.pallard@6wind.com>
Fri, 19 Feb 2016 11:00:31 +0000 (12:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 1 Mar 2016 13:37:26 +0000 (14:37 +0100)
commit9792848c65a7cfcc97217bcaa104a0641112d61e
tree26c86946804846ad85ccbcf13a5d3492cabc758a
parent891ef4d9656f9b0937ead15264d05af927c7507f
hash: fix CRC32c computation

Fix crc32c hash functions to return a valid crc32c value for
data lengths not multiple of 4 bytes.
ARM code is not tested.

Fixes: af75078fece3 ("first public release")

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: David Marchand <david.marchand@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
doc/guides/rel_notes/release_16_04.rst
lib/librte_hash/rte_crc_arm64.h
lib/librte_hash/rte_hash_crc.h