app/crypto-perf: fix length for wireless algos
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 10 Apr 2017 09:58:07 +0000 (10:58 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
commit0091576132e97f7f7645538e8c15db9e55623bd9
tree02e6e8b45c13f95da4c87183eba4dbe78a73e5b4
parent4ca12b236cf7a354889d894151b3623732b3b58f
app/crypto-perf: fix length for wireless algos

When SNOW3G/KASUMI/ZUC algorithms are used, ciphering
and authentication lengths have to be passed as bits
and not as bytes.

Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-crypto-perf/cperf_ops.c