Ipsec: Always generate ikey 25/31325/7
authorVratko Polak <vrpolak@cisco.com>
Mon, 22 Feb 2021 13:43:46 +0000 (14:43 +0100)
committerVratko Polak <vrpolak@cisco.com>
Mon, 22 Feb 2021 18:56:38 +0000 (18:56 +0000)
commit0d30d69d515130098eab5d21d8dd59c21400a433
treee1c6ba0170bc7ded3aecca0da2c8726adaea29f5
parent2fd44c944915a159c27ec547e6dadb1f8e09a486
Ipsec: Always generate ikey

Some tests use a crypto algorithm with no integrity algorithm.
Generate empty binary strings as fake integrity keys
to keep return values of low level methods consistent.

+ Add return_keys argument to avoid returning long lists.
+ Improve various docstrings.

Change-Id: Idae1877bdde32d194ce4e3bb3053c8dba39d377a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/IPsecUtil.py
tests/vpp/device/crypto/eth2p-ethip4ipsec11tnlsw-ip4base-int-aes128cbc-hmac512sha-dev.robot
tests/vpp/device/crypto/eth2p-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-dev.robot