app/crypto-perf: fix AEAD tests when AAD is zero
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 12 Apr 2017 09:26:26 +0000 (10:26 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
commitad674b4d4a354e64b5fca9a4f14f0bd3dfe7db04
tree526d2c5fb119b0bba14a5a0a25c50603f95b382e
parent0091576132e97f7f7645538e8c15db9e55623bd9
app/crypto-perf: fix AEAD tests when AAD is zero

For AEAD algorithms, additional authenticated data (AAD)
can be passed, but it is optional, so its size can be zero.
Therefore, test can be run if no memory is allocated.

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_test_vectors.c