From 490b92738f3cc1c8d534abd6dee8dba942cb652d Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Fri, 22 Jan 2021 18:03:09 +0100 Subject: ipsec: add support for AES CTR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Type: feature Change-Id: I9f7742cb12ce30592b0b022c314b71c81fa7223a Signed-off-by: Benoît Ganne --- test/template_ipsec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/template_ipsec.py') diff --git a/test/template_ipsec.py b/test/template_ipsec.py index 9a9fbd070a6..918c99383af 100644 --- a/test/template_ipsec.py +++ b/test/template_ipsec.py @@ -94,7 +94,7 @@ class IPsecIPv6Params: def mk_scapy_crypt_key(p): - if p.crypt_algo == "AES-GCM": + if p.crypt_algo in ("AES-GCM", "AES-CTR"): return p.crypt_key + struct.pack("!I", p.salt) else: return p.crypt_key -- cgit 1.2.3-korg