ipsec: Fix NULL encryption algorithm 65/21565/2
authorNeale Ranns <nranns@cisco.com>
Tue, 27 Aug 2019 12:26:14 +0000 (12:26 +0000)
committerDave Barach <openvpp@barachs.net>
Tue, 27 Aug 2019 13:49:55 +0000 (13:49 +0000)
commit2cdcd0cf4004b2c0d1d3b891e381aac5735c21f1
tree5efcdd7cd73e7d1da4ba6aede88908df93f460c2
parent8e9e0eccb280619f10d287dad3f79541ade03adc
ipsec: Fix NULL encryption algorithm

Type: fix
Ticket: VPP-1756

the block-size was set to 0 resulting in incorrect placement of the ESP
footer.

add tests for NULL encrypt + integ.

Change-Id: I8ab3afda8e68f9ff649540cba3f2cac68f12bbba
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ipsec/ipsec.c
src/vnet/ipsec/ipsec_if.c
test/template_ipsec.py
test/test_ipsec_esp.py
test/test_ipsec_tun_if_esp.py