test/crypto: add PDCP U-Plane decap cases
authorAkhil Goyal <akhil.goyal@nxp.com>
Mon, 30 Sep 2019 19:27:44 +0000 (00:57 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit2d54b9ce12d9783064c537a96b7fcf5eb95abc4a
tree7162bb14d77797b38cd72a29803668b4eabfed2a
parentcca7d1f78524d0a68a1108bd109325e7245d22c5
test/crypto: add PDCP U-Plane decap cases

This patch add test cases for user plane PDCP
5/7/12/15/18 bit SN test cases for decapsulation of
cipher only and 12/18 bit for cipher + integrity
for all algo combinations.

Test vectors are reused from the encap cases
by swapping the input and output data.

The case are added to DPAA_SEC and DPAA2_SEC
testsuite.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
app/test/test_cryptodev.c
app/test/test_cryptodev_security_pdcp.c
app/test/test_cryptodev_security_pdcp_test_func.h