ipsec: add support for AES CTR
[vpp.git] / test / template_ipsec.py
index 9a9fbd0..918c993 100644 (file)
@@ -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