/third_party/python/Lib/multiprocessing/ |
D | managers.py | 146 def __init__(self, registry, address, authkey, serializer): argument 147 if not isinstance(authkey, bytes): 150 authkey, type(authkey))) 152 self.authkey = process.AuthenticationString(authkey) 199 connection.deliver_challenge(c, self.authkey) 200 connection.answer_challenge(c, self.authkey) 499 def __init__(self, address=None, authkey=None, serializer='pickle', argument 501 if authkey is None: 502 authkey = process.current_process().authkey 504 self._authkey = process.AuthenticationString(authkey) [all …]
|
D | resource_sharer.py | 86 c = Client(address, authkey=process.current_process().authkey) 96 authkey=process.current_process().authkey) 126 self._listener = Listener(authkey=process.current_process().authkey)
|
D | connection.py | 444 def __init__(self, address=None, family=None, backlog=1, authkey=None): argument 455 if authkey is not None and not isinstance(authkey, bytes): 458 self._authkey = authkey 498 def Client(address, family=None, authkey=None): argument 509 if authkey is not None and not isinstance(authkey, bytes): 512 if authkey is not None: 513 answer_challenge(c, authkey) 514 deliver_challenge(c, authkey) 737 def deliver_challenge(connection, authkey): argument 739 if not isinstance(authkey, bytes): [all …]
|
D | process.py | 214 def authkey(self): member in BaseProcess 217 @authkey.setter 218 def authkey(self, authkey): member in BaseProcess 222 self._config['authkey'] = AuthenticationString(authkey)
|
D | spawn.py | 157 authkey=process.current_process().authkey, 210 process.current_process().authkey = data['authkey']
|
/third_party/openssl/crypto/bio/ |
D | bss_dgram.c | 1350 struct sctp_authkey *authkey = NULL; in dgram_sctp_ctrl() local 1412 authkey = OPENSSL_malloc(sockopt_len); in dgram_sctp_ctrl() 1413 if (authkey == NULL) { in dgram_sctp_ctrl() 1417 memset(authkey, 0, sockopt_len); in dgram_sctp_ctrl() 1418 authkey->sca_keynumber = authkeyid.scact_keynumber + 1; in dgram_sctp_ctrl() 1424 authkey->sca_keylength = 64; in dgram_sctp_ctrl() 1426 memcpy(&authkey->sca_key[0], ptr, 64 * sizeof(uint8_t)); in dgram_sctp_ctrl() 1429 setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_KEY, authkey, in dgram_sctp_ctrl() 1431 OPENSSL_free(authkey); in dgram_sctp_ctrl() 1432 authkey = NULL; in dgram_sctp_ctrl()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_process.c | 42 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()
|
D | wps_common.c | 117 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()
|
D | wps_attr_build.c | 178 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()
|
D | wps_enrollee.c | 66 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()
|
D | wps_i.h | 64 u8 authkey[WPS_AUTHKEY_LEN]; member
|
D | wps_registrar.c | 1508 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_process.c | 43 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_process_authenticator() 74 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash) < 0 || in wps_process_key_wrap_auth()
|
D | wps_common.c | 117 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()
|
D | wps_attr_build.c | 178 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_build_authenticator() 382 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
|
D | wps_enrollee.c | 66 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()
|
D | wps_i.h | 64 u8 authkey[WPS_AUTHKEY_LEN]; member
|
D | wps_registrar.c | 1486 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash() 1496 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash() 2309 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1() 2349 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()
|
/third_party/pulseaudio/src/ |
D | meson.build | 17 'pulsecore/authkey.c', 91 'pulsecore/authkey.h',
|
D | Makefile.am | 715 pulsecore/authkey.c pulsecore/authkey.h \
|
/third_party/python/Lib/test/ |
D | _test_multiprocessing.py | 241 authkey = current.authkey 245 self.assertIsInstance(authkey, bytes) 246 self.assertTrue(len(authkey) > 0) 269 q.put(bytes(current.authkey)) 343 self.assertEqual(p.authkey, current.authkey) 360 self.assertEqual(q.get(), current.authkey) 2936 def _putter(cls, address, authkey): argument 2938 address=address, authkey=authkey, serializer=SERIALIZER 2946 authkey = os.urandom(32) 2949 address=(socket_helper.HOST, 0), authkey=authkey, serializer=SERIALIZER [all …]
|
/third_party/python/Doc/library/ |
D | multiprocessing.rst | 575 .. attribute:: authkey 584 setting :attr:`authkey` to another byte string. 1657 .. class:: BaseManager([address[, authkey]]) 1667 *authkey* is the authentication key which will be used to check the 1669 *authkey* is ``None`` then ``current_process().authkey`` is used. 1670 Otherwise *authkey* is used and it must be a byte string. 1684 >>> manager = BaseManager(address=('', 50000), authkey=b'abc') 1695 >>> m = BaseManager(address=('127.0.0.1', 50000), authkey=b'abc') 1904 >>> m = QueueManager(address=('', 50000), authkey=b'abracadabra') 1913 >>> m = QueueManager(address=('foo.bar.org', 50000), authkey=b'abracadabra') [all …]
|
D | multiprocessing.shared_memory.rst | 178 .. class:: SharedMemoryManager([address[, authkey]]) 201 of the inherited *address* and *authkey* optional input arguments and how
|
/third_party/pulseaudio/ohosbuild/src/ |
D | BUILD.gn | 64 "$pulseaudio_dir/src/pulsecore/authkey.c",
|
/third_party/pulseaudio/po/ |
D | POTFILES.in | 85 src/pulsecore/authkey.c
|