app/crypto-perf: fix IV allocation for AEAD
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 1 Aug 2017 00:33:36 +0000 (01:33 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 3 Aug 2017 21:46:41 +0000 (23:46 +0200)
Memory is reserved after each crypto operation
for the necessary IV(s), which could be for cipher,
authentication or AEAD algorithms.
However, for AEAD algorithms (such as AES-GCM), this
memory was not being reserved, leading to potential
memory overflow.

Fixes: 8a5b494a7f99 ("app/test-crypto-perf: add AEAD parameters")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

No differences found