test/crypto: fix wrong AAD setting
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 22 Jun 2017 12:02:28 +0000 (13:02 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 28 Jun 2017 17:59:22 +0000 (19:59 +0200)
commitf2522ce5978e503a2b2c63220898cdffce257909
treed656bcb70b5df1c16df536832cde581ec8d89cef
parenta09c6df0e629e4530cff35fd1792714f82af7516
test/crypto: fix wrong AAD setting

AAD should not point at IV for AES algorithms.
For AES-GCM, AAD will point at additional data in the mbuf.
For the other algorithms (such as 3DES CBC), AAD is not used.

Fixes: ffbe3be0d4b5 ("app/test: add libcrypto")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
test/test/test_cryptodev_perf.c