test/crypto: rework PDCP function
authorFranck Lenormand <franck.lenormand@nxp.com>
Mon, 12 Oct 2020 14:10:05 +0000 (19:40 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:24:41 +0000 (22:24 +0200)
commit1ba59ffebe1cd4b9d073a608fbf0c261da9fb806
treea526c7b1248b4f2264d794514da2d8cf3020cc09
parent003afde411e7ccc285148527220765f348b6a1af
test/crypto: rework PDCP function

The function test_pdcp_proto was relying to heavily on the structure
of test vectors for PDCP making it difficult to be reusable.

The function is changed to take all the test parameters as input and
does not need access to the tests vectors anymore.

Signed-off-by: Franck Lenormand <franck.lenormand@nxp.com>
app/test/test_cryptodev.c