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

PDCP User/Data plane can support 5/7/12/15/18 bit
sequence number. This patch add test cases and test
vectors for all supported algos for cipher only.
(NULL, AES, SNOW, ZUC ciphers)

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