app/crypto-perf: fix uninitialized values for null ops
authorTomasz Kulasek <tomaszx.kulasek@intel.com>
Fri, 24 Feb 2017 15:26:00 +0000 (16:26 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commit884ed3ff8e59f42e90e66e1486b53bcca1128308
treec074ef7abdc428d32d0334ea6b9fbe2de5927a8f
parent5e669376316651d6b6ed2d67cc0cb9a7d4c63b3a
app/crypto-perf: fix uninitialized values for null ops

Some values are uninitialized for "cipher null" and "auth null"
operations. It may cause unpredictable results for some crypto pmd
drivers, or even segmentation fault.

This patch sets values for null operations to zero.

Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-crypto-perf/cperf_ops.c
app/test-crypto-perf/cperf_test_vectors.c