test/crypto: add IPsec fragmented packet known vectors
authorTejasree Kondoj <ktejasree@marvell.com>
Mon, 6 Dec 2021 11:07:53 +0000 (16:37 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 21 Jan 2022 10:55:12 +0000 (11:55 +0100)
commitb7986bde8e2159b75b45ff92579d9ba19bda4c1b
tree85c5697f00db8d7302751cecadc1b38b43314285
parent50069f3cd46dfce7dab257a01cb8268f927f8145
test/crypto: add IPsec fragmented packet known vectors

Added fragmented plain packet known vector test case in
IPsec outbound. The test case sends a fragmented packet
and ensures that the IPsec packet generated has correct
fragmentation fields (ie, the IPsec packet is not fragmented)
by comparing against the known vector.

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