Lines Matching refs:own_bi
129 struct dpp_bootstrap_info *peer_bi, *own_bi; in wpas_dpp_nfc_handover_req() local
135 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_nfc_handover_req()
136 if (!own_bi) in wpas_dpp_nfc_handover_req()
138 own_bi->nfc_negotiated = 1; in wpas_dpp_nfc_handover_req()
151 if (dpp_nfc_update_bi(own_bi, peer_bi) < 0) in wpas_dpp_nfc_handover_req()
161 struct dpp_bootstrap_info *peer_bi, *own_bi; in wpas_dpp_nfc_handover_sel() local
167 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_nfc_handover_sel()
168 if (!own_bi) in wpas_dpp_nfc_handover_sel()
170 own_bi->nfc_negotiated = 1; in wpas_dpp_nfc_handover_sel()
183 if (peer_bi->curve != own_bi->curve) { in wpas_dpp_nfc_handover_sel()
834 struct dpp_bootstrap_info *peer_bi, *own_bi = NULL; in wpas_dpp_auth_init() local
891 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_auth_init()
892 if (!own_bi) { in wpas_dpp_auth_init()
898 if (peer_bi->curve != own_bi->curve) { in wpas_dpp_auth_init()
901 peer_bi->curve->name, own_bi->curve->name); in wpas_dpp_auth_init()
953 auth = dpp_auth_init(wpa_s->dpp, wpa_s, peer_bi, own_bi, allowed_roles, in wpas_dpp_auth_init()
1227 struct dpp_bootstrap_info *own_bi = NULL, *peer_bi = NULL; in wpas_dpp_rx_auth_req() local
1262 &own_bi, &peer_bi); in wpas_dpp_rx_auth_req()
1263 if (!own_bi) { in wpas_dpp_rx_auth_req()
1269 if (own_bi->type == DPP_BOOTSTRAP_PKEX) { in wpas_dpp_rx_auth_req()
1276 if (os_memcmp(peer_bi->pubkey_hash, own_bi->peer_pubkey_hash, in wpas_dpp_rx_auth_req()
1297 peer_bi, own_bi, freq, hdr, buf, len); in wpas_dpp_rx_auth_req()
2962 struct dpp_bootstrap_info *own_bi = NULL; in wpas_dpp_pkex_done() local
2975 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_pkex_done()
2976 if (!own_bi) { in wpas_dpp_pkex_done()
2982 if (peer_bi->curve != own_bi->curve) { in wpas_dpp_pkex_done()
2985 peer_bi->curve->name, own_bi->curve->name); in wpas_dpp_pkex_done()
3004 auth = dpp_auth_init(wpa_s->dpp, wpa_s, peer_bi, own_bi, allowed_roles, in wpas_dpp_pkex_done()
3151 if (pkex->t > pkex->own_bi->pkex_t) in wpas_dpp_tx_pkex_status()
3152 pkex->own_bi->pkex_t = pkex->t; in wpas_dpp_tx_pkex_status()
3355 if (pkex->t > pkex->own_bi->pkex_t) in wpas_dpp_rx_pkex_commit_reveal_req()
3356 pkex->own_bi->pkex_t = pkex->t; in wpas_dpp_rx_pkex_commit_reveal_req()
4660 struct dpp_bootstrap_info *own_bi; in wpas_dpp_pkex_add() local
4695 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_pkex_add()
4696 if (!own_bi) { in wpas_dpp_pkex_add()
4701 if (own_bi->type != DPP_BOOTSTRAP_PKEX) { in wpas_dpp_pkex_add()
4706 wpa_s->dpp_pkex_bi = own_bi; in wpas_dpp_pkex_add()
4707 own_bi->pkex_t = 0; /* clear pending errors on new code */ in wpas_dpp_pkex_add()
4753 dpp_controller_pkex_add(wpa_s->dpp, own_bi, in wpas_dpp_pkex_add()