app/crypto-perf: set AAD after the crypto operation
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 4 Oct 2017 03:46:07 +0000 (04:46 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 14:14:45 +0000 (15:14 +0100)
commit0b242422d3858d5167c71ca543b2b743453be5cc
treee80522c98331c5ac786669fd281e716010d7c434
parent253624f46c9d34e6970ffa0dd709bb30399547fd
app/crypto-perf: set AAD after the crypto operation

Instead of prepending the AAD (Additional Authenticated Data)
in the mbuf, it is easier to set after the crypto operation,
as it is a read-only value, like the IV, and then it is not
restricted to the size of the mbuf headroom.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test-crypto-perf/cperf_ops.c
app/test-crypto-perf/cperf_test_common.c
app/test-crypto-perf/cperf_test_verify.c