Home
last modified time | relevance | path

Searched refs:authkey (Results 1 – 24 of 24) sorted by relevance

/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py155 def __init__(self, registry, address, authkey, serializer): argument
156 assert isinstance(authkey, bytes)
158 self.authkey = AuthenticationString(authkey)
197 connection.deliver_challenge(c, self.authkey)
198 connection.answer_challenge(c, self.authkey)
473 def __init__(self, address=None, authkey=None, serializer='pickle'): argument
474 if authkey is None:
475 authkey = current_process().authkey
477 self._authkey = AuthenticationString(authkey)
500 conn = Client(self._address, authkey=self._authkey)
[all …]
Dconnection.py124 def __init__(self, address=None, family=None, backlog=1, authkey=None): argument
134 if authkey is not None and not isinstance(authkey, bytes):
137 self._authkey = authkey
161 def Client(address, family=None, authkey=None): argument
171 if authkey is not None and not isinstance(authkey, bytes):
174 if authkey is not None:
175 answer_challenge(c, authkey)
176 deliver_challenge(c, authkey)
416 def deliver_challenge(connection, authkey): argument
418 assert isinstance(authkey, bytes)
[all …]
Dprocess.py195 def authkey(self): member in Process
198 @authkey.setter
199 def authkey(self, authkey): argument
203 self._authkey = AuthenticationString(authkey)
Dreduction.py110 _listener = Listener(authkey=current_process().authkey)
155 conn = Client(address, authkey=current_process().authkey)
Dforking.py402 authkey=process.current_process().authkey,
/external/python/cpython3/Lib/multiprocessing/
Dmanagers.py135 def __init__(self, registry, address, authkey, serializer): argument
136 if not isinstance(authkey, bytes):
139 authkey, type(authkey)))
141 self.authkey = process.AuthenticationString(authkey)
191 connection.deliver_challenge(c, self.authkey)
192 connection.answer_challenge(c, self.authkey)
480 def __init__(self, address=None, authkey=None, serializer='pickle', argument
482 if authkey is None:
483 authkey = process.current_process().authkey
485 self._authkey = process.AuthenticationString(authkey)
[all …]
Dresource_sharer.py87 c = Client(address, authkey=process.current_process().authkey)
97 authkey=process.current_process().authkey)
130 self._listener = Listener(authkey=process.current_process().authkey)
Dconnection.py429 def __init__(self, address=None, family=None, backlog=1, authkey=None): argument
440 if authkey is not None and not isinstance(authkey, bytes):
443 self._authkey = authkey
483 def Client(address, family=None, authkey=None): argument
494 if authkey is not None and not isinstance(authkey, bytes):
497 if authkey is not None:
498 answer_challenge(c, authkey)
499 deliver_challenge(c, authkey)
721 def deliver_challenge(connection, authkey): argument
723 if not isinstance(authkey, bytes):
[all …]
Dprocess.py205 def authkey(self): member in BaseProcess
208 @authkey.setter
209 def authkey(self, authkey): member in BaseProcess
213 self._config['authkey'] = AuthenticationString(authkey)
Dspawn.py146 authkey=process.current_process().authkey,
199 process.current_process().authkey = data['authkey']
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dmultiprocessing_shim.py68 def authkey(self): member in ProcessShim
71 @authkey.setter
72 def authkey(self, authkey): argument
73 self._proc.authkey = AuthenticationString(authkey)
/external/autotest/server/site_tests/cheets_GTS/
Dcheets_GTS.py104 authkey=None, argument
133 authkey or self._get_default_authkey(), tmpdir)
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py193 authkey = current.authkey
197 self.assertIsInstance(authkey, bytes)
198 self.assertTrue(len(authkey) > 0)
209 q.put(bytes(current.authkey))
225 self.assertEqual(p.authkey, current.authkey)
242 self.assertEqual(q.get(), current.authkey)
1528 def _putter(cls, address, authkey): argument
1530 address=address, authkey=authkey, serializer=SERIALIZER
1538 authkey = os.urandom(32)
1541 address=(test.support.HOST, 0), authkey=authkey, serializer=SERIALIZER
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_process_authenticator()
73 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash); in wps_process_key_wrap_auth()
Dwps_common.c117 os_memcpy(wps->authkey, keys, WPS_AUTHKEY_LEN); in wps_derive_keys()
123 wps->authkey, WPS_AUTHKEY_LEN); in wps_derive_keys()
137 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, dev_passwd, in wps_derive_psk()
141 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, in wps_derive_psk()
Dwps_attr_build.c178 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_build_authenticator()
374 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
Dwps_enrollee.c66 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
76 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
647 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
687 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce2()
Dwps_i.h64 u8 authkey[WPS_AUTHKEY_LEN]; member
Dwps_registrar.c1508 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1518 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
2318 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1()
2358 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()
/external/tcpdump/
Dprint-esp.c433 char *authkey; in esp_print_decode_ikeline() local
439 authkey = strsep(&line, " \t"); in esp_print_decode_ikeline()
443 if(!init || !icookie || !rcookie || !authkey || !enckey) { in esp_print_decode_ikeline()
477 if(!espprint_decode_authalgo(ndo, authkey, &sa1)) return; in esp_print_decode_ikeline()
/external/python/cpython3/Lib/test/
D_test_multiprocessing.py228 authkey = current.authkey
232 self.assertIsInstance(authkey, bytes)
233 self.assertTrue(len(authkey) > 0)
256 q.put(bytes(current.authkey))
272 self.assertEqual(p.authkey, current.authkey)
289 self.assertEqual(q.get(), current.authkey)
2766 def _putter(cls, address, authkey): argument
2768 address=address, authkey=authkey, serializer=SERIALIZER
2776 authkey = os.urandom(32)
2779 address=(test.support.HOST, 0), authkey=authkey, serializer=SERIALIZER
[all …]
/external/python/cpython2/Doc/library/
Dmultiprocessing.rst437 .. attribute:: authkey
446 setting :attr:`authkey` to another byte string.
1368 .. class:: BaseManager([address[, authkey]])
1378 *authkey* is the authentication key which will be used to check the validity
1379 of incoming connections to the server process. If *authkey* is ``None`` then
1380 ``current_process().authkey``. Otherwise *authkey* is used and it
1395 >>> manager = BaseManager(address=('', 50000), authkey='abc')
1406 >>> m = BaseManager(address=('127.0.0.1', 5000), authkey='abc')
1608 >>> m = QueueManager(address=('', 50000), authkey='abracadabra')
1617 >>> m = QueueManager(address=('foo.bar.org', 50000), authkey='abracadabra')
[all …]
/external/python/cpython3/Doc/library/
Dmultiprocessing.rst563 .. attribute:: authkey
572 setting :attr:`authkey` to another byte string.
1610 .. class:: BaseManager([address[, authkey]])
1620 *authkey* is the authentication key which will be used to check the
1622 *authkey* is ``None`` then ``current_process().authkey`` is used.
1623 Otherwise *authkey* is used and it must be a byte string.
1637 >>> manager = BaseManager(address=('', 50000), authkey=b'abc')
1648 >>> m = BaseManager(address=('127.0.0.1', 50000), authkey=b'abc')
1857 >>> m = QueueManager(address=('', 50000), authkey=b'abracadabra')
1866 >>> m = QueueManager(address=('foo.bar.org', 50000), authkey=b'abracadabra')
[all …]
/external/autotest/docs/
Dfaft-design-doc.md293 …preadsheet/ccc?key=0AoHv3bO2oLIjdGQ5cnJ6eWc1ZnpjYzlaWFA4T0xlVVE&hl=en_US&authkey=CJWF8-gP#gid=8). …