[dpdk-dev] [PATCH] app/test: fix hexdump length of cipher/plaintexts

2016-07-10 Thread Thomas Monjalon
2016-07-09 16:05, Pablo de Lara: > 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. There is an error: app/test/test_cryptodev.c:2552:5

[dpdk-dev] [PATCH] app/test: fix hexdump length of cipher/plaintexts

2016-07-09 Thread Pablo de Lara
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 Lar