test/crypto: add PDCP U-Plane encap with integrity cases
authorAkhil Goyal <akhil.goyal@nxp.com>
Mon, 30 Sep 2019 19:27:43 +0000 (00:57 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commitcca7d1f78524d0a68a1108bd109325e7245d22c5
tree1cab848265c9dbcd61d52e786cafebcdbeca223c
parent0fce8f6a6cae520e2dc1b117e5a37370ee724ecb
test/crypto: add PDCP U-Plane encap with integrity cases

PDCP User/Data plane can optionally support integrity
along with confidentiality.
This patch add test cases and test vectors for all
supported algos combos for cipher+integrity for 12
and 18bit SN.

The test cases are added in DPAA_SEC and DPAA2_SEC
test suite as a reference.

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
app/test/test_cryptodev_security_pdcp_test_vectors.h