test/crypto: add NULL algo to loop test mechanism
authorFiona Trahe <fiona.trahe@intel.com>
Fri, 26 Apr 2019 19:31:58 +0000 (20:31 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
commitaf46a0bc0c5b58fd1b9b222b6b55f97ce30d9921
tree9486d1112ea106efa5c802a00b915e8b856fde4b
parent9a18283a54d418da86fa4836321bf2806ee920da
test/crypto: add NULL algo to loop test mechanism

Added NULL algo tests into loop test mechanism used
by block cipher tests as easier to extend there.
Included chain, cipher-only and auth-only use-cases.
Extended to cover out-of-place use-cases and use-cases
where data length is not an 8-byte multiple.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test/test_cryptodev.c
app/test/test_cryptodev_aes_test_vectors.h
app/test/test_cryptodev_blockcipher.c
app/test/test_cryptodev_blockcipher.h
app/test/test_cryptodev_hash_test_vectors.h