app/test: fix hexdump length for crypto
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sun, 10 Jul 2016 16:16:12 +0000 (17:16 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 14:07:55 +0000 (16:07 +0200)
commit516c26da83a322f4b9ce0f550c6d343c2cfc3ffb
treea1d55a406ee8c615425457b5b4bf0e2c25a879a9
parent8d4df4e120ee231b193ee588628cbf7cadcb5008
app/test: fix hexdump length for crypto

Plaintexts and ciphertexts are dumped when debugging is enabled,
using TEST_HEXDUMP. For Snow3G and KASUMI, their lengths are in bits,
but TEST_HEXDUMP uses bytes, so lenghts are passed in bytes now.

Fixes: 47df73a1a62f ("app/test: use hexdump if debug log is enabled")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
app/test/test_cryptodev.c