test/crypto: add scatter-gather tests for IP and OOP
authorDamian Nowak <damianx.nowak@intel.com>
Wed, 3 Jul 2019 11:15:57 +0000 (13:15 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
commit11c5485bb27685cdc9ccb347e70bafb40202a80d
tree66d806343d48de1be11d91ede6962bbe68d952d7
parent72cd8f68e15787e2779785e652e91ccc9da2410b
test/crypto: add scatter-gather tests for IP and OOP

This patch adds test cases for wireless in-place
and out-of-place auth-cipher operations with
scatter-gather lists as input and output mbufs.
Test cases include buffer appended digest
generation with encryption and buffer decryption
with appended digest verification.
It also adds cases where digest is encrypted
only partially.

Signed-off-by: Damian Nowak <damianx.nowak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
app/test/test_cryptodev.c
app/test/test_cryptodev_snow3g_test_vectors.h