diff options
author | Neale Ranns <nranns@cisco.com> | 2019-04-16 02:41:34 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-17 13:05:07 +0000 |
commit | 80f6fd53feaa10b4a798582100724075897c0944 (patch) | |
tree | 1cd1a7f4b910cf5fbf32aa4b4e2c1028c6c980b7 /test/vpp_ipsec.py | |
parent | d8cfbebce78e26a6ef7f6693e7c90dc3c6435d51 (diff) |
IPSEC: Pass the algorithm salt (used in GCM) over the API
Change-Id: Ia8cea13f7b937294e6a080a55fb2ceff30063acf
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/vpp_ipsec.py')
-rw-r--r-- | test/vpp_ipsec.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/vpp_ipsec.py b/test/vpp_ipsec.py index 278ff36f1e4..77a9d74edf3 100644 --- a/test/vpp_ipsec.py +++ b/test/vpp_ipsec.py @@ -178,7 +178,7 @@ class VppIpsecSA(VppObject): crypto_alg, crypto_key, proto, tun_src=None, tun_dst=None, - flags=None): + flags=None, salt=0): e = VppEnum.vl_api_ipsec_sad_flags_t self.test = test self.id = id @@ -188,6 +188,7 @@ class VppIpsecSA(VppObject): self.crypto_alg = crypto_alg self.crypto_key = crypto_key self.proto = proto + self.salt = salt self.tun_src = tun_src self.tun_dst = tun_dst @@ -214,7 +215,8 @@ class VppIpsecSA(VppObject): self.proto, (self.tun_src if self.tun_src else []), (self.tun_dst if self.tun_dst else []), - flags=self.flags) + flags=self.flags, + salt=self.salt) self.stat_index = r.stat_index self.test.registry.register(self, self.test.logger) |