IPSEC-MB: Use random & non-repeating IV (VPP-1642)

hard code IV and key lengths based on cipher.
Init IV from random data, use AES instruction to rotate.

Change-Id: I13a6507d12267b823c528660a903787baeba47a0
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2019-04-11 08:18:34 +00:00
committed by Damjan Marion
parent 5e282e93ad
commit 21ada3bd7e
7 changed files with 65 additions and 23 deletions

View File

@ -337,7 +337,7 @@ class TestIpsecAhAll(ConfigIpsecAH,
# loop through the VPP engines
#
for engine in engines:
self.vapi.cli("set crypto engine all %s" % engine)
self.vapi.cli("set crypto handler all %s" % engine)
#
# loop through each of the algorithms
#