Home
last modified time | relevance | path

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

/aosp_15_r20/external/scapy/test/
H A 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 …]
/aosp_15_r20/external/scapy/scapy/layers/
H A 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 …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/net/
DIpSecTest.py127 cl, auth_algo, al, trunc_bits = random.choice(self.crypt_auth_combos)
155 dut_a, spi_keys_a, ip_a, ip_b, crypt_algo, crypt_key, auth_algo,
158 dut_b, spi_keys_b, ip_b, ip_a, crypt_algo, crypt_key, auth_algo,
228 cl, auth_algo, al, trunc_bits = random.choice(self.crypt_auth_combos)
257 dut_a, spi_keys_a, ip_a, ip_b, crypt_algo, crypt_key, auth_algo,
260 dut_b, spi_keys_b, ip_b, ip_a, crypt_algo, crypt_key, auth_algo,
322 cl, auth_algo, al, trunc_bits = random.choice(self.crypt_auth_combos)
346 dut_a, spi_keys_a, ip_a, ip_b, crypt_algo, crypt_key, auth_algo,
349 dut_b, spi_keys_b, ip_b, ip_a, crypt_algo, crypt_key, auth_algo,
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dipsec_test_utils.py77 auth_algo, argument
96 crypt_algo, crypt_key, auth_algo, auth_key, trunc_bit, spis[0], ip_b,
100 crypt_algo, crypt_key, auth_algo, auth_key, trunc_bit, spis[1], ip_a,
/aosp_15_r20/kernel/tests/net/test/
H A Dxfrm_algorithm_test.py101 def HaveAlgo(crypt_algo, auth_algo, aead_algo): argument
115 auth_trunc=(auth_algo,
116 GenerateKey(auth_algo.key_len)) if auth_algo else None,
H A Dxfrm_tunnel_test.py407 def _SetupXfrmByType(self, auth_algo, crypt_algo): argument
430 def _SetupXfrmByType(self, auth_algo, crypt_algo): argument
435 self.out_sa.spi, crypt_algo, auth_algo,
440 self.in_sa.spi, crypt_algo, auth_algo,
513 def _SetupXfrmByType(self, auth_algo, crypt_algo): argument
515 self.out_sa.spi, crypt_algo, auth_algo, None,
519 self.in_sa.spi, crypt_algo, auth_algo, None, None,
H A Dxfrm_test.py69 auth_algo = (
72 reqId, xfrm_base._ALGO_CBC_AES_256, auth_algo, None,
283 auth_algo = (
287 auth_algo, xfrm_base._ALGO_CBC_AES_256)