test/crypto: move IV to crypto op private data
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sun, 2 Jul 2017 05:41:08 +0000 (06:41 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 6 Jul 2017 20:26:48 +0000 (22:26 +0200)
commitfd01a9be38d5105ad74ff56e9789a7e624cb0d9f
treef5d180a251d10e63bc50fa0ead16a69027fd2a15
parentd5404055abb97cd4238d62d59a1b375945af8d5f
test/crypto: move IV to crypto op private data

Usually, IV will change for each crypto operation.
Therefore, instead of pointing at the same location,
IV is copied after each crypto operation.

This will let the IV to be passed as an offset from
the beginning of the crypto operation, instead of
a pointer.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
test/test/test_cryptodev.c
test/test/test_cryptodev.h
test/test/test_cryptodev_blockcipher.c