ipsec: Fix NULL encryption algorithm 39/22239/2
authorNeale Ranns <[email protected]>
Tue, 27 Aug 2019 12:26:14 +0000 (12:26 +0000)
committerDamjan Marion <[email protected]>
Wed, 25 Sep 2019 22:09:00 +0000 (22:09 +0000)
commit17b7a067a2885318ca2bbbd65a580e330cbe3a4b
tree4393917988ab014bd36b3ffa91bdc0c3619f2460
parent53616f5caf2e968132ae0662413bcdd227959ad1
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 <[email protected]>
(cherry picked from commit 2cdcd0cf4004b2c0d1d3b891e381aac5735c21f1)
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