Home
last modified time | relevance | path

Searched refs:auth_algo (Results 1 – 2 of 2) sorted by relevance

/external/scapy/test/
Dipsec.uts24 auth_algo='NULL', auth_key=None)
55 auth_algo='NULL', auth_key=None)
107 auth_algo='NULL', auth_key=None)
159 auth_algo='NULL', auth_key=None)
211 auth_algo='NULL', auth_key=None)
262 auth_algo='NULL', auth_key=None)
313 auth_algo='NULL', auth_key=None)
368 auth_algo='NULL', auth_key=None,
401 auth_algo='NULL', auth_key=None,
436 auth_algo='NULL', auth_key=None,
[all …]
/external/scapy/scapy/layers/
Dipsec.py760 auth_algo=None, auth_key=None, tunnel_header=None, nat_t_header=None): argument
804 if auth_algo:
805 if auth_algo not in AUTH_ALGOS:
807 (auth_algo, list(AUTH_ALGOS)))
808 self.auth_algo = AUTH_ALGOS[auth_algo]
811 self.auth_algo = AUTH_ALGOS['NULL']
860 self.auth_algo.sign(esp, self.auth_key)
888 icv = b"\x00" * self.auth_algo.icv_size)
927 signed_pkt = self.auth_algo.sign(ip_header / ah / payload, self.auth_key)
962 self.auth_algo.verify(encrypted, self.auth_key)
[all …]