app/test: fix CRC hash values
authorDidier Pallard <didier.pallard@6wind.com>
Fri, 19 Feb 2016 11:00:30 +0000 (12:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 1 Mar 2016 13:20:13 +0000 (14:20 +0100)
commit891ef4d9656f9b0937ead15264d05af927c7507f
tree1bda8d10a9603db89946ef156da2520a2e39d78a
parent9ec201f5d6e7f67cf4cf0141ff5a0459667e945f
app/test: fix CRC hash values

Add some small key lengths (below 4 bytes), and fix odd key lengths
expected returned values for CRC computation to match real CRC values.

Fixes: 6298d2c55ae8 ("app/test: add new functional tests for hash functions")

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test/test_hash_functions.c