Searched refs:peer_bi (Results 1 – 7 of 7) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | dpp_auth.c | 494 if (auth->own_bi && auth->peer_bi) { in dpp_auth_build_resp_ok() 524 if (auth->peer_bi) in dpp_auth_build_resp_ok() 525 i_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_build_resp_ok() 615 if (auth->peer_bi) in dpp_auth_build_resp_status() 616 i_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_build_resp_status() 668 int qr_mutual, struct dpp_bootstrap_info *peer_bi, in dpp_auth_req_rx() argument 712 if (peer_bi && peer_bi->configurator_params && in dpp_auth_req_rx() 713 dpp_set_configurator(auth, peer_bi->configurator_params) < 0) in dpp_auth_req_rx() 715 auth->peer_bi = peer_bi; in dpp_auth_req_rx() 884 if (qr_mutual && !peer_bi && own_bi->type == DPP_BOOTSTRAP_QR_CODE) { in dpp_auth_req_rx() [all …]
|
D | dpp.h | 241 struct dpp_bootstrap_info *peer_bi; member 481 struct dpp_bootstrap_info *peer_bi); 486 struct dpp_bootstrap_info *peer_bi, 494 int qr_mutual, struct dpp_bootstrap_info *peer_bi, 510 struct dpp_bootstrap_info *peer_bi); 616 struct dpp_bootstrap_info **peer_bi);
|
D | dpp.c | 507 struct dpp_bootstrap_info *peer_bi = auth->peer_bi; in dpp_channel_intersect() local 510 for (i = 0; i < peer_bi->num_freq; i++) { in dpp_channel_intersect() 511 freq = peer_bi->freq[i]; in dpp_channel_intersect() 584 if (auth->peer_bi->num_freq > 0) in dpp_prepare_channel_list() 3705 struct dpp_bootstrap_info **peer_bi) in dpp_bootstrap_find_pair() argument 3710 *peer_bi = NULL; in dpp_bootstrap_find_pair() 3723 if (!*peer_bi && !bi->own && in dpp_bootstrap_find_pair() 3728 *peer_bi = bi; in dpp_bootstrap_find_pair() 3731 if (*own_bi && *peer_bi) in dpp_bootstrap_find_pair() 3758 struct dpp_bootstrap_info *peer_bi) in dpp_nfc_update_bi_channel() argument [all …]
|
D | dpp_tcp.c | 568 struct dpp_bootstrap_info *own_bi = NULL, *peer_bi = NULL; in dpp_controller_rx_auth_req() local 598 &own_bi, &peer_bi); in dpp_controller_rx_auth_req() 615 peer_bi, own_bi, -1, hdr, buf, len); in dpp_controller_rx_auth_req() 784 struct dpp_bootstrap_info *peer_bi; in dpp_controller_rx_presence_announcement() local 805 peer_bi = dpp_bootstrap_find_chirp(dpp, r_bootstrap); in dpp_controller_rx_presence_announcement() 806 if (!peer_bi) { in dpp_controller_rx_presence_announcement() 812 auth = dpp_auth_init(dpp, dpp->msg_ctx, peer_bi, NULL, in dpp_controller_rx_presence_announcement()
|
D | dpp_crypto.c | 840 if (auth->peer_bi && auth->own_bi) { in dpp_derive_bk_ke() 1428 brx = dpp_get_pubkey_point(auth->peer_bi->pubkey, 0); in dpp_gen_r_auth() 1432 if (auth->peer_bi) in dpp_gen_r_auth() 1433 bix = dpp_get_pubkey_point(auth->peer_bi->pubkey, 0); in dpp_gen_r_auth() 1507 if (!auth->peer_bi) in dpp_gen_i_auth() 1509 brx = dpp_get_pubkey_point(auth->peer_bi->pubkey, 0); in dpp_gen_i_auth() 1513 if (auth->peer_bi) in dpp_gen_i_auth() 1514 bix = dpp_get_pubkey_point(auth->peer_bi->pubkey, 0); in dpp_gen_i_auth() 1589 BI = EVP_PKEY_get0_EC_KEY(auth->peer_bi->pubkey); in dpp_auth_derive_l_responder() 1651 BR = EVP_PKEY_get0_EC_KEY(auth->peer_bi->pubkey); in dpp_auth_derive_l_initiator()
|
/external/wpa_supplicant_8/src/ap/ |
D | dpp_hostapd.c | 91 struct dpp_bootstrap_info *peer_bi, *own_bi; in hostapd_dpp_nfc_handover_req() local 105 peer_bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, pos); in hostapd_dpp_nfc_handover_req() 106 if (!peer_bi) { in hostapd_dpp_nfc_handover_req() 112 if (dpp_nfc_update_bi(own_bi, peer_bi) < 0) in hostapd_dpp_nfc_handover_req() 115 return peer_bi->id; in hostapd_dpp_nfc_handover_req() 122 struct dpp_bootstrap_info *peer_bi, *own_bi; in hostapd_dpp_nfc_handover_sel() local 136 peer_bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, pos); in hostapd_dpp_nfc_handover_sel() 137 if (!peer_bi) { in hostapd_dpp_nfc_handover_sel() 143 if (peer_bi->curve != own_bi->curve) { in hostapd_dpp_nfc_handover_sel() 149 return peer_bi->id; in hostapd_dpp_nfc_handover_sel() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | dpp_supplicant.c | 117 struct dpp_bootstrap_info *peer_bi, *own_bi; in wpas_dpp_nfc_handover_req() local 132 peer_bi = dpp_add_nfc_uri(wpa_s->dpp, pos); in wpas_dpp_nfc_handover_req() 133 if (!peer_bi) { in wpas_dpp_nfc_handover_req() 139 if (dpp_nfc_update_bi(own_bi, peer_bi) < 0) in wpas_dpp_nfc_handover_req() 142 return peer_bi->id; in wpas_dpp_nfc_handover_req() 149 struct dpp_bootstrap_info *peer_bi, *own_bi; in wpas_dpp_nfc_handover_sel() local 164 peer_bi = dpp_add_nfc_uri(wpa_s->dpp, pos); in wpas_dpp_nfc_handover_sel() 165 if (!peer_bi) { in wpas_dpp_nfc_handover_sel() 171 if (peer_bi->curve != own_bi->curve) { in wpas_dpp_nfc_handover_sel() 177 return peer_bi->id; in wpas_dpp_nfc_handover_sel() [all …]
|