Searched refs:own_bi (Results 1 – 8 of 8) sorted by relevance
/hostap-3.6.0/src/common/ |
D | dpp_auth.c | 434 if (!auth->own_bi) in dpp_auth_build_resp_ok() 495 if (auth->own_bi && auth->peer_bi) { in dpp_auth_build_resp_ok() 524 r_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_resp_ok() 611 if (!auth->own_bi) in dpp_auth_build_resp_status() 615 r_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_resp_status() 670 struct dpp_bootstrap_info *own_bi, in dpp_auth_req_rx() argument 716 auth->own_bi = own_bi; in dpp_auth_req_rx() 717 auth->curve = own_bi->curve; in dpp_auth_req_rx() 775 pi = dpp_set_pubkey_point(own_bi->pubkey, i_proto, i_proto_len); in dpp_auth_req_rx() 782 if (dpp_ecdh(own_bi->pubkey, pi, auth->Mx, &secret_len) < 0) in dpp_auth_req_rx() [all …]
|
D | dpp_pkex.c | 38 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_req() 192 pkex->own_bi = bi; in dpp_pkex_init() 219 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_resp() 421 pkex->own_bi = bi; in dpp_pkex_rx_exchange_req() 471 pkex->own_bi = bi; in dpp_pkex_rx_exchange_req() 583 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_commit_reveal_req() 700 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_rx_exchange_resp() 827 if (dpp_ecdh(pkex->own_bi->pubkey, pkex->y, Jx, &Jx_len) < 0) in dpp_pkex_rx_exchange_resp() 834 A_pub = crypto_ec_key_get_pubkey_point(pkex->own_bi->pubkey, 0); in dpp_pkex_rx_exchange_resp() 903 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_commit_reveal_resp() [all …]
|
D | dpp.h | 189 struct dpp_bootstrap_info *own_bi; member 264 struct dpp_bootstrap_info *own_bi; member 544 int dpp_nfc_update_bi(struct dpp_bootstrap_info *own_bi, 552 struct dpp_bootstrap_info *own_bi, 560 struct dpp_bootstrap_info *own_bi, 689 struct dpp_bootstrap_info **own_bi,
|
D | dpp.c | 4303 struct dpp_bootstrap_info **own_bi, in dpp_bootstrap_find_pair() argument 4308 *own_bi = NULL; in dpp_bootstrap_find_pair() 4314 if (!*own_bi && bi->own && in dpp_bootstrap_find_pair() 4319 *own_bi = bi; in dpp_bootstrap_find_pair() 4330 if (*own_bi && *peer_bi) in dpp_bootstrap_find_pair() 4356 static int dpp_nfc_update_bi_channel(struct dpp_bootstrap_info *own_bi, in dpp_nfc_update_bi_channel() argument 4368 if ((own_bi->num_freq == 0 && !own_bi->channels_listed) || in dpp_nfc_update_bi_channel() 4369 freq_included(own_bi->freq, own_bi->num_freq, in dpp_nfc_update_bi_channel() 4391 os_free(own_bi->chan); in dpp_nfc_update_bi_channel() 4392 own_bi->chan = os_strdup(chan); in dpp_nfc_update_bi_channel() [all …]
|
D | dpp_crypto.c | 449 if (auth->peer_bi && auth->own_bi) { in dpp_derive_bk_ke() 882 if (auth->own_bi) in dpp_gen_r_auth() 884 auth->own_bi->pubkey, 0); in dpp_gen_r_auth() 897 brx = crypto_ec_key_get_pubkey_point(auth->own_bi->pubkey, 0); in dpp_gen_r_auth() 965 if (auth->own_bi) in dpp_gen_i_auth() 967 auth->own_bi->pubkey, 0); in dpp_gen_i_auth() 982 if (!auth->own_bi) in dpp_gen_i_auth() 984 brx = crypto_ec_key_get_pubkey_point(auth->own_bi->pubkey, 0); in dpp_gen_i_auth() 1052 bR = crypto_ec_key_get_private_key(auth->own_bi->pubkey); in dpp_auth_derive_l_responder() 1094 bI = crypto_ec_key_get_private_key(auth->own_bi->pubkey); in dpp_auth_derive_l_initiator()
|
D | dpp_tcp.c | 652 struct dpp_bootstrap_info *own_bi = NULL, *peer_bi = NULL; in dpp_controller_rx_auth_req() local 682 &own_bi, &peer_bi); in dpp_controller_rx_auth_req() 683 if (!own_bi) { in dpp_controller_rx_auth_req() 698 peer_bi, own_bi, -1, hdr, buf, len); in dpp_controller_rx_auth_req()
|
/hostap-3.6.0/src/ap/ |
D | dpp_hostapd.c | 106 struct dpp_bootstrap_info *peer_bi, *own_bi; in hostapd_dpp_nfc_handover_req() local 112 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_req() 113 if (!own_bi) in hostapd_dpp_nfc_handover_req() 127 if (dpp_nfc_update_bi(own_bi, peer_bi) < 0) in hostapd_dpp_nfc_handover_req() 137 struct dpp_bootstrap_info *peer_bi, *own_bi; in hostapd_dpp_nfc_handover_sel() local 143 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_sel() 144 if (!own_bi) in hostapd_dpp_nfc_handover_sel() 158 if (peer_bi->curve != own_bi->curve) { in hostapd_dpp_nfc_handover_sel() 289 struct dpp_bootstrap_info *own_bi = NULL; in hostapd_dpp_pkex_done() local 300 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, in hostapd_dpp_pkex_done() [all …]
|
/hostap-3.6.0/wpa_supplicant/ |
D | dpp_supplicant.c | 128 struct dpp_bootstrap_info *peer_bi, *own_bi; in wpas_dpp_nfc_handover_req() local 134 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_nfc_handover_req() 135 if (!own_bi) in wpas_dpp_nfc_handover_req() 137 own_bi->nfc_negotiated = 1; in wpas_dpp_nfc_handover_req() 150 if (dpp_nfc_update_bi(own_bi, peer_bi) < 0) in wpas_dpp_nfc_handover_req() 160 struct dpp_bootstrap_info *peer_bi, *own_bi; in wpas_dpp_nfc_handover_sel() local 166 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_nfc_handover_sel() 167 if (!own_bi) in wpas_dpp_nfc_handover_sel() 169 own_bi->nfc_negotiated = 1; in wpas_dpp_nfc_handover_sel() 182 if (peer_bi->curve != own_bi->curve) { in wpas_dpp_nfc_handover_sel() [all …]
|