app/crypto-perf: fix crash for wireless algorithms
authorSlawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Thu, 9 Feb 2017 13:57:29 +0000 (14:57 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 10 Feb 2017 15:05:35 +0000 (16:05 +0100)
commit0620ebfa233f9818b6f627c75f49d8474f36b6b6
treef4adfe5af73a1fbaa2134dc874d5fa3486156ea6
parent48ae81144f32c3b1edf6ef56bf8643cd710333cb
app/crypto-perf: fix crash for wireless algorithms

This commit fixes segmentation fault that happens when
using KASUMI, SNOW3G or ZUC authentication algorithms,
as they need authentication keys and was not being set.
It also set value of authentication key to cipher key
when using GMAC algorithm.

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

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-crypto-perf/cperf_test_vectors.c