ipsec: add support for AES CTR
Type: feature Change-Id: I9f7742cb12ce30592b0b022c314b71c81fa7223a Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:

committed by
Neale Ranns

parent
b8ce5b784c
commit
490b92738f
@ -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
|
||||
|
Reference in New Issue
Block a user