Lines Matching refs:own_bi
108 struct dpp_bootstrap_info *peer_bi, *own_bi; in hostapd_dpp_nfc_handover_req() local
114 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_req()
115 if (!own_bi) in hostapd_dpp_nfc_handover_req()
129 if (dpp_nfc_update_bi(own_bi, peer_bi) < 0) in hostapd_dpp_nfc_handover_req()
139 struct dpp_bootstrap_info *peer_bi, *own_bi; in hostapd_dpp_nfc_handover_sel() local
145 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_sel()
146 if (!own_bi) in hostapd_dpp_nfc_handover_sel()
160 if (peer_bi->curve != own_bi->curve) { in hostapd_dpp_nfc_handover_sel()
307 struct dpp_bootstrap_info *own_bi = NULL; in hostapd_dpp_pkex_done() local
320 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, in hostapd_dpp_pkex_done()
322 if (!own_bi) { in hostapd_dpp_pkex_done()
328 if (peer_bi->curve != own_bi->curve) { in hostapd_dpp_pkex_done()
331 peer_bi->curve->name, own_bi->curve->name); in hostapd_dpp_pkex_done()
351 peer_bi, own_bi, allowed_roles, 0, in hostapd_dpp_pkex_done()
471 if (pkex->t > pkex->own_bi->pkex_t) in hostapd_dpp_pkex_tx_status()
472 pkex->own_bi->pkex_t = pkex->t; in hostapd_dpp_pkex_tx_status()
835 struct dpp_bootstrap_info *peer_bi, *own_bi = NULL; in hostapd_dpp_auth_init() local
889 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, in hostapd_dpp_auth_init()
891 if (!own_bi) { in hostapd_dpp_auth_init()
897 if (peer_bi->curve != own_bi->curve) { in hostapd_dpp_auth_init()
900 peer_bi->curve->name, own_bi->curve->name); in hostapd_dpp_auth_init()
940 peer_bi, own_bi, allowed_roles, neg_freq, in hostapd_dpp_auth_init()
1038 struct dpp_bootstrap_info *own_bi = NULL, *peer_bi = NULL; in hostapd_dpp_rx_auth_req() local
1073 r_bootstrap, &own_bi, &peer_bi); in hostapd_dpp_rx_auth_req()
1075 if (!own_bi) { in hostapd_dpp_rx_auth_req()
1084 if (!own_bi) { in hostapd_dpp_rx_auth_req()
1090 if (own_bi->type == DPP_BOOTSTRAP_PKEX) { in hostapd_dpp_rx_auth_req()
1097 if (os_memcmp(peer_bi->pubkey_hash, own_bi->peer_pubkey_hash, in hostapd_dpp_rx_auth_req()
1115 peer_bi, own_bi, freq, hdr, buf, len); in hostapd_dpp_rx_auth_req()
2225 if (hapd->dpp_pkex->t > hapd->dpp_pkex->own_bi->pkex_t) in hostapd_dpp_rx_pkex_exchange_req()
2226 hapd->dpp_pkex->own_bi->pkex_t = hapd->dpp_pkex->t; in hostapd_dpp_rx_pkex_exchange_req()
2310 if (hapd->dpp_pkex->t > hapd->dpp_pkex->own_bi->pkex_t) in hostapd_dpp_rx_pkex_commit_reveal_req()
2311 hapd->dpp_pkex->own_bi->pkex_t = in hostapd_dpp_rx_pkex_commit_reveal_req()
3215 struct dpp_bootstrap_info *own_bi; in hostapd_dpp_pkex_add() local
3250 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_pkex_add()
3251 if (!own_bi) { in hostapd_dpp_pkex_add()
3256 if (own_bi->type != DPP_BOOTSTRAP_PKEX) { in hostapd_dpp_pkex_add()
3261 hapd->dpp_pkex_bi = own_bi; in hostapd_dpp_pkex_add()
3262 own_bi->pkex_t = 0; /* clear pending errors on new code */ in hostapd_dpp_pkex_add()
3308 dpp_controller_pkex_add(hapd->iface->interfaces->dpp, own_bi, in hostapd_dpp_pkex_add()