app/test: add crc32 algorithms equivalence check
authorYerden Zhumabekov <e_zhumabekov@sts.kz>
Wed, 25 Feb 2015 12:34:06 +0000 (18:34 +0600)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Feb 2015 15:18:33 +0000 (16:18 +0100)
commit3981ab2b79d04ab6efb9c767aadaf8b9faca09c8
tree2b5565b3429459826e00df75a38aa5ad270c0945
parent399a4d76b5440c6a1ff38648924dd2fde71a010d
app/test: add crc32 algorithms equivalence check

New function test_crc32_hash_alg_equiv() checks whether software,
4-byte operand and 8-byte operand versions of CRC32 hash function
implementations return the same result value.

Signed-off-by: Yerden Zhumabekov <e_zhumabekov@sts.kz>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
app/test/test_hash.c