ipsec: Targeted unit testing 88/24088/4
authorNeale Ranns <nranns@cisco.com>
Fri, 20 Dec 2019 00:54:57 +0000 (00:54 +0000)
committerNeale Ranns <nranns@cisco.com>
Sat, 4 Jan 2020 04:50:47 +0000 (04:50 +0000)
commit02950406c49a743f631395ed52073921744e1afd
tree2891403e2fe8cc879f43d4e46e314a2f412763cb
parent2f04cb9f142abef82cd379432cecdafef9e776db
ipsec: Targeted unit testing

Type: fix

1 - big packets; chained buffers and those without enoguh space to add
ESP header
2 - IPv6 extension headers in packets that are encrypted/decrypted
3 - Interface protection with SAs that have null algorithms

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Ie330861fb06a9b248d9dcd5c730e21326ac8e973
src/vnet/ipsec/esp_decrypt.c
src/vnet/ipsec/esp_encrypt.c
src/vnet/ipsec/ipsec.c
src/vnet/ipsec/ipsec.h
src/vnet/ipsec/ipsec_tun.c
src/vnet/ipsec/ipsec_tun_in.c
test/template_ipsec.py
test/test_ipsec_esp.py
test/test_ipsec_tun_if_esp.py