Home
last modified time | relevance | path

Searched refs:peer (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dtdls.c86 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
88 struct wpa_tdls_peer *peer);
178 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_del_key() argument
180 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr, in wpa_tdls_del_key()
191 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_set_key() argument
197 if (peer->tk_set) { in wpa_tdls_set_key()
207 MAC2STR(peer->addr)); in wpa_tdls_set_key()
213 switch (peer->cipher) { in wpa_tdls_set_key()
229 MAC2STR(peer->addr)); in wpa_tdls_set_key()
230 if (wpa_sm_set_key(sm, alg, peer->addr, -1, 1, in wpa_tdls_set_key()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dtdls.c86 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
88 struct wpa_tdls_peer *peer);
181 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_del_key() argument
183 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr, in wpa_tdls_del_key()
194 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_set_key() argument
200 if (peer->tk_set) { in wpa_tdls_set_key()
210 MAC2STR(peer->addr)); in wpa_tdls_set_key()
216 switch (peer->cipher) { in wpa_tdls_set_key()
232 MAC2STR(peer->addr)); in wpa_tdls_set_key()
233 if (wpa_sm_set_key(sm, alg, peer->addr, 0, 1, rsc, sizeof(rsc), in wpa_tdls_set_key()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dibss_rsn.c30 struct ibss_rsn_peer *peer; in ibss_rsn_get_peer() local
32 for (peer = ibss_rsn->peers; peer; peer = peer->next) in ibss_rsn_get_peer()
33 if (os_memcmp(addr, peer->addr, ETH_ALEN) == 0) in ibss_rsn_get_peer()
35 return peer; in ibss_rsn_get_peer()
39 static void ibss_rsn_free(struct ibss_rsn_peer *peer) in ibss_rsn_free() argument
41 eloop_cancel_timeout(ibss_rsn_auth_timeout, peer, NULL); in ibss_rsn_free()
42 wpa_auth_sta_deinit(peer->auth); in ibss_rsn_free()
43 wpa_sm_deinit(peer->supp); in ibss_rsn_free()
44 os_free(peer); in ibss_rsn_free()
50 struct ibss_rsn_peer *peer = ctx; in supp_set_state() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dibss_rsn.c30 struct ibss_rsn_peer *peer; in ibss_rsn_get_peer() local
32 for (peer = ibss_rsn->peers; peer; peer = peer->next) in ibss_rsn_get_peer()
33 if (os_memcmp(addr, peer->addr, ETH_ALEN) == 0) in ibss_rsn_get_peer()
35 return peer; in ibss_rsn_get_peer()
39 static void ibss_rsn_free(struct ibss_rsn_peer *peer) in ibss_rsn_free() argument
41 eloop_cancel_timeout(ibss_rsn_auth_timeout, peer, NULL); in ibss_rsn_free()
42 wpa_auth_sta_deinit(peer->auth); in ibss_rsn_free()
43 wpa_sm_deinit(peer->supp); in ibss_rsn_free()
44 os_free(peer); in ibss_rsn_free()
50 struct ibss_rsn_peer *peer = ctx; in supp_set_state() local
[all …]
/third_party/libwebsockets/lib/misc/
Dpeer-limits.c31 struct lws_peer *peer) in __lws_peer_remove_from_peer_wait_list() argument
36 if (*p == peer) { in __lws_peer_remove_from_peer_wait_list()
65 struct lws_peer *peer) in __lws_peer_add_to_peer_wait_list() argument
67 __lws_peer_remove_from_peer_wait_list(context, peer); in __lws_peer_add_to_peer_wait_list()
69 peer->peer_wait_list = context->peer_wait_list; in __lws_peer_add_to_peer_wait_list()
70 context->peer_wait_list = peer; in __lws_peer_add_to_peer_wait_list()
82 struct lws_peer *peer; in lws_get_or_create_peer() local
142 peer = lws_zalloc(sizeof(*peer), "peer"); in lws_get_or_create_peer()
143 if (!peer) { in lws_get_or_create_peer()
150 peer->next = context->pl_hash_table[hash]; in lws_get_or_create_peer()
[all …]
/third_party/openssl/test/helpers/
Dhandshake.c732 static int create_peer(PEER *peer, SSL_CTX *ctx) in create_peer() argument
743 peer->ssl = ssl; in create_peer()
744 peer->write_buf = write_buf; in create_peer()
745 peer->read_buf = read_buf; in create_peer()
746 peer->write_buf_len = peer->read_buf_len = peer_buffer_size; in create_peer()
755 static void peer_free_data(PEER *peer) in peer_free_data() argument
757 SSL_free(peer->ssl); in peer_free_data()
758 OPENSSL_free(peer->write_buf); in peer_free_data()
759 OPENSSL_free(peer->read_buf); in peer_free_data()
766 static void do_handshake_step(PEER *peer) in do_handshake_step() argument
[all …]
/third_party/openssl/test/recipes/30-test_evp_data/
Devppkey_ecc.txt44 # ECDH Alice with Bob peer
50 # ECDH Bob with Alice peer
56 # ECC CDH Alice with Bob peer
63 # ECC CDH Bob with Alice peer
76 # ECC CDH Bob with Malice peer
84 # ECC CDH Alice with Malice peer
122 # ECDH Alice with Bob peer
128 # ECDH Bob with Alice peer
134 # ECC CDH Alice with Bob peer
141 # ECC CDH Bob with Alice peer
[all …]
Devppkey_brainpool.txt42 # ECDH Alice with Bob peer
47 # ECDH Bob with Alice peer
80 # ECDH Alice with Bob peer
85 # ECDH Bob with Alice peer
120 # ECDH Alice with Bob peer
125 # ECDH Bob with Alice peer
160 # ECDH Alice with Bob peer
165 # ECDH Bob with Alice peer
200 # ECDH Alice with Bob peer
205 # ECDH Bob with Alice peer
[all …]
Devppkey_ecdh.txt53 # ECDH Alice with Bob peer
59 # ECDH Bob with Alice peer
97 # ECDH Alice with Bob peer
104 # ECDH Bob with Alice peer
142 # ECDH Alice with Bob peer
149 # ECDH Bob with Alice peer
188 # ECDH Alice with Bob peer
195 # ECDH Bob with Alice peer
236 # ECDH Alice with Bob peer
243 # ECDH Bob with Alice peer
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_kay.c193 mi = body->peer + i; in ieee802_1x_mka_dump_peer_body()
321 struct ieee802_1x_kay_peer *peer; in get_peer_mi() local
323 dl_list_for_each(peer, peers, struct ieee802_1x_kay_peer, list) { in get_peer_mi()
324 if (os_memcmp(peer->mi, mi, MI_LEN) == 0) in get_peer_mi()
325 return peer; in get_peer_mi()
383 struct ieee802_1x_kay_peer *peer; in ieee802_1x_kay_get_peer() local
385 peer = ieee802_1x_kay_get_live_peer(participant, mi); in ieee802_1x_kay_get_peer()
386 if (peer) in ieee802_1x_kay_get_peer()
387 return peer; in ieee802_1x_kay_get_peer()
443 struct ieee802_1x_kay_peer *peer; in ieee802_1x_kay_get_peer_sci() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_kay.c193 mi = body->peer + i; in ieee802_1x_mka_dump_peer_body()
321 struct ieee802_1x_kay_peer *peer; in get_peer_mi() local
323 dl_list_for_each(peer, peers, struct ieee802_1x_kay_peer, list) { in get_peer_mi()
324 if (os_memcmp(peer->mi, mi, MI_LEN) == 0) in get_peer_mi()
325 return peer; in get_peer_mi()
383 struct ieee802_1x_kay_peer *peer; in ieee802_1x_kay_get_peer() local
385 peer = ieee802_1x_kay_get_live_peer(participant, mi); in ieee802_1x_kay_get_peer()
386 if (peer) in ieee802_1x_kay_get_peer()
387 return peer; in ieee802_1x_kay_get_peer()
443 struct ieee802_1x_kay_peer *peer; in ieee802_1x_kay_get_peer_sci() local
[all …]
/third_party/gstreamer/gstreamer/tests/check/libs/
Dflowcombiner.c160 GstPad *peer; in GST_START_TEST() local
168 peer = gst_pad_new ("sink1", GST_PAD_SINK); in GST_START_TEST()
169 gst_pad_set_chain_function (peer, _sink_chain); in GST_START_TEST()
170 gst_pad_link (pad, peer); in GST_START_TEST()
171 gst_pad_set_active (peer, TRUE); in GST_START_TEST()
185 gst_object_unref (peer); in GST_START_TEST()
189 peer = gst_pad_new ("sink2", GST_PAD_SINK); in GST_START_TEST()
190 gst_pad_set_chain_function (peer, _sink_chain); in GST_START_TEST()
191 gst_pad_link (pad, peer); in GST_START_TEST()
192 gst_pad_set_active (peer, TRUE); in GST_START_TEST()
[all …]
/third_party/openssl/doc/man3/
DSSL_get_peer_cert_chain.pod6 chain of the peer
18 forming the certificate chain sent by the peer. If called on the client side,
19 the stack also contains the peer's certificate; if called on the server
20 side, the peer's certificate must be obtained separately using
22 If the peer did not present a certificate, NULL is returned.
24 NB: SSL_get_peer_cert_chain() returns the peer chain as sent by the peer: it
25 only consists of certificates the peer has sent (in the order the peer
29 of the peer including the peer's end entity certificate. It must be called
30 after a session has been successfully established. If peer verification was
54 No certificate was presented by the peer or no connection was established
[all …]
/third_party/openssl/crypto/bio/
Dbss_bio.c59 BIO *peer; /* NULL if buf == NULL. If peer != NULL, then member
100 if (b->peer) in bio_free()
122 assert(b->peer != NULL); in bio_read()
123 peer_b = b->peer->ptr; in bio_read()
212 assert(b->peer != NULL); in bio_nread0()
213 peer_b = b->peer->ptr; in bio_nread0()
254 peer_b = b->peer->ptr; in bio_nread()
281 assert(b->peer != NULL); in bio_write()
358 assert(b->peer != NULL); in bio_nwrite0()
427 if (b->peer) { in bio_ctrl()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudacontext.c66 GstCudaContext * peer);
210 GstCudaContext *peer = (GstCudaContext *) iter->data; in gst_cuda_context_constructed() local
213 gst_cuda_context_enable_peer_access (context, peer); in gst_cuda_context_constructed()
214 gst_cuda_context_enable_peer_access (peer, context); in gst_cuda_context_constructed()
224 GstCudaContext * peer) in gst_cuda_context_enable_peer_access() argument
227 GstCudaContextPrivate *peer_priv = peer->priv; in gst_cuda_context_enable_peer_access()
237 "Peer access to %" GST_PTR_FORMAT " is not allowed", peer); in gst_cuda_context_enable_peer_access()
243 GST_DEBUG_OBJECT (context, "Enable peer access to %" GST_PTR_FORMAT, peer); in gst_cuda_context_enable_peer_access()
244 g_hash_table_add (priv->accessible_peer, peer); in gst_cuda_context_enable_peer_access()
265 GstCudaContext *peer = GST_CUDA_CONTEXT (key); in gst_cuda_context_weak_ref_notify() local
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/webrtc/
Dwebrtcrenego.c20 GstPad *pad, *peer; in _element_message() local
28 peer = gst_pad_get_peer (pad); in _element_message()
30 webrtc = GST_ELEMENT (gst_pad_get_parent (peer)); in _element_message()
33 gst_pad_unlink (peer, pad); in _element_message()
34 gst_element_release_request_pad (webrtc, peer); in _element_message()
37 gst_object_unref (peer); in _element_message()
215 GstPad *pad, *peer; in stream_change() local
220 peer = gst_pad_get_peer (pad); in stream_change()
223 g_object_get (peer, "transceiver", &transceiver, NULL); in stream_change()
229 gst_pad_unlink (pad, peer); in stream_change()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_upnp_web.c413 static void wps_upnp_peer_del(struct upnp_wps_peer *peer) in wps_upnp_peer_del() argument
415 dl_list_del(&peer->list); in wps_upnp_peer_del()
416 if (peer->wps) in wps_upnp_peer_del()
417 wps_deinit(peer->wps); in wps_upnp_peer_del()
418 os_free(peer); in wps_upnp_peer_del()
429 struct upnp_wps_peer *peer; in web_process_get_device_info() local
439 peer = os_zalloc(sizeof(*peer)); in web_process_get_device_info()
440 if (!peer) in web_process_get_device_info()
455 peer->wps = wps_init(&cfg); in web_process_get_device_info()
456 if (peer->wps) { in web_process_get_device_info()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_upnp_web.c413 static void wps_upnp_peer_del(struct upnp_wps_peer *peer) in wps_upnp_peer_del() argument
415 dl_list_del(&peer->list); in wps_upnp_peer_del()
416 if (peer->wps) in wps_upnp_peer_del()
417 wps_deinit(peer->wps); in wps_upnp_peer_del()
418 os_free(peer); in wps_upnp_peer_del()
429 struct upnp_wps_peer *peer; in web_process_get_device_info() local
439 peer = os_zalloc(sizeof(*peer)); in web_process_get_device_info()
440 if (!peer) in web_process_get_device_info()
455 peer->wps = wps_init(&cfg); in web_process_get_device_info()
456 if (peer->wps) { in web_process_get_device_info()
[all …]
/third_party/node/test/parallel/
Dtest-tls-cert-chains-concat.js23 const peer = pair.client.conn.getPeerCertificate(); constant
24 debug('peer:\n', peer);
25 assert.strictEqual(peer.subject.emailAddress, 'adam.lippai@tresorit.com');
26 assert.strictEqual(peer.subject.CN, 'Ádám Lippai');
27 assert.strictEqual(peer.issuer.CN, 'ca3');
28 assert.strictEqual(peer.serialNumber, 'D0082F458B6EFBE8');
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/insertbin/
Dgstinsertbin.c414 GstPad *peer = gst_pad_get_peer (pad); in gst_insert_bin_block_pad_unlock() local
416 if (peer) { in gst_insert_bin_block_pad_unlock()
418 pad = peer; in gst_insert_bin_block_pad_unlock()
471 GstPad *peer; in wait_and_drop_eos_cb() local
476 peer = gst_pad_get_peer (pad); in wait_and_drop_eos_cb()
477 if (peer) { in wait_and_drop_eos_cb()
478 gst_pad_unlink (pad, peer); in wait_and_drop_eos_cb()
479 gst_object_unref (peer); in wait_and_drop_eos_cb()
498 GstPad *peer = NULL; in gst_insert_bin_do_change() local
508 peer = gst_pad_get_peer (pad); in gst_insert_bin_do_change()
[all …]
/third_party/libcoap/examples/
Dcoap-rd.c211 if (coap_send(ctx, peer, response) == COAP_INVALID_MID) { in hnd_put_resource()
306 const coap_address_t *peer) { in add_source_address() argument
318 switch(peer->addr.sa.sa_family) { in add_source_address()
328 peer->addr.sin6.sin6_addr.s6_addr[0], in add_source_address()
329 peer->addr.sin6.sin6_addr.s6_addr[1], in add_source_address()
330 peer->addr.sin6.sin6_addr.s6_addr[2], in add_source_address()
331 peer->addr.sin6.sin6_addr.s6_addr[3], in add_source_address()
332 peer->addr.sin6.sin6_addr.s6_addr[4], in add_source_address()
333 peer->addr.sin6.sin6_addr.s6_addr[5], in add_source_address()
334 peer->addr.sin6.sin6_addr.s6_addr[6], in add_source_address()
[all …]
/third_party/openssl/apps/
Dsess_id.c51 X509 *peer = NULL; in sess_id_main() local
109 peer = SSL_SESSION_get0_peer(x); in sess_id_main()
134 if (peer == NULL) in sess_id_main()
137 X509_print(out, peer); in sess_id_main()
156 } else if (!noout && (peer != NULL)) { /* just print the certificate */ in sess_id_main()
158 i = (int)i2d_X509_bio(out, peer); in sess_id_main()
160 i = PEM_write_bio_X509(out, peer); in sess_id_main()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstdecodebin3-parse.c134 GstPad *peer = gst_pad_get_peer (input->srcpad); in check_all_streams_for_eos() local
137 if (peer) in check_all_streams_for_eos()
138 outputpads = g_list_append (outputpads, peer); in check_all_streams_for_eos()
144 GstPad *peer = (GstPad *) tmp->data; in check_all_streams_for_eos() local
147 gst_pad_send_event (peer, gst_event_new_eos ()); in check_all_streams_for_eos()
148 GST_FIXME_OBJECT (peer, "Remove input stream"); in check_all_streams_for_eos()
149 gst_object_unref (peer); in check_all_streams_for_eos()
298 GstPad *peer = gst_pad_get_peer (input->srcpad); in parse_chain_output_probe() local
299 if (peer) { in parse_chain_output_probe()
309 gst_pad_send_event (peer, event); in parse_chain_output_probe()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_go_neg.c138 struct p2p_device *peer) in p2p_build_go_neg_req() argument
158 p2p_buf_add_public_action_hdr(buf, P2P_GO_NEG_REQ, peer->dialog_token); in p2p_build_go_neg_req()
162 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) { in p2p_build_go_neg_req()
164 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN) in p2p_build_go_neg_req()
174 p2p_buf_add_go_intent(buf, (p2p->go_intent << 1) | peer->tie_breaker); in p2p_build_go_neg_req()
183 p2p_buf_add_device_info(buf, p2p, peer); in p2p_build_go_neg_req()
192 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
193 if (peer->oob_pw_id) in p2p_build_go_neg_req()
194 pw_id = peer->oob_pw_id; in p2p_build_go_neg_req()
272 struct p2p_device *peer, in p2p_build_go_neg_resp() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_go_neg.c138 struct p2p_device *peer) in p2p_build_go_neg_req() argument
158 p2p_buf_add_public_action_hdr(buf, P2P_GO_NEG_REQ, peer->dialog_token); in p2p_build_go_neg_req()
162 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) { in p2p_build_go_neg_req()
164 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN) in p2p_build_go_neg_req()
174 p2p_buf_add_go_intent(buf, (p2p->go_intent << 1) | peer->tie_breaker); in p2p_build_go_neg_req()
183 p2p_buf_add_device_info(buf, p2p, peer); in p2p_build_go_neg_req()
192 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
193 if (peer->oob_pw_id) in p2p_build_go_neg_req()
194 pw_id = peer->oob_pw_id; in p2p_build_go_neg_req()
272 struct p2p_device *peer, in p2p_build_go_neg_resp() argument
[all …]

12345678910>>...20