test/crypto: add fragmented packet case
authorTejasree Kondoj <ktejasree@marvell.com>
Mon, 6 Dec 2021 11:07:57 +0000 (16:37 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 21 Jan 2022 10:55:12 +0000 (11:55 +0100)
commit825ab5c31a74ce88514a9d57258f44ea81b3498d
tree3010ce8d249e4a7557cd003d46471d7be454e1d5
parent1567deea83ae70b89f64ce4e1ecc312392e7d767
test/crypto: add fragmented packet case

Add fragmented plain packet test case in combined mode.
The test case leverages combined mode framework to generate
IPsec packet from a fragment and verify that headers are formed
correctly. The IPsec packet would be decapsulated and the plain
packet is compared against the original packet.

Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev.c
app/test/test_cryptodev_security_ipsec.c