test/crypto: add UDP-encapsulated IPsec cases
authorTejasree Kondoj <ktejasree@marvell.com>
Sat, 25 Sep 2021 15:35:32 +0000 (21:05 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 28 Sep 2021 07:47:20 +0000 (09:47 +0200)
commitc823434174da3d6c632de2540ee70f105fe65fcc
tree8200c6684111f9671905758933b531f190762f3a
parentcd928003d8a3d58e6bb29b448d094113a8e4b2e2
test/crypto: add UDP-encapsulated IPsec cases

Added tests to verify UDP encapsulation with IPsec.
The tests have IPsec packets generated from plain packets
and verifies that UDP header is added. Subsequently, the
packets are decapsulated and then resultant packet is
verified by comparing against original packet.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Ciara Power <ciara.power@intel.com>
app/test/test_cryptodev.c
app/test/test_cryptodev_security_ipsec.c
app/test/test_cryptodev_security_ipsec.h
doc/guides/rel_notes/release_21_11.rst