Lines Matching refs:own_bi
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()
884 if (qr_mutual && !peer_bi && own_bi->type == DPP_BOOTSTRAP_QR_CODE) { in dpp_auth_req_rx()
992 if (auth->own_bi) in dpp_auth_build_conf()
993 i_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_conf()
1138 if (auth->own_bi) in dpp_autogen_bootstrap_key()
1152 auth->tmp_own_bi = auth->own_bi = bi; in dpp_autogen_bootstrap_key()
1163 struct dpp_bootstrap_info *own_bi, in dpp_auth_init() argument
1189 auth->own_bi = own_bi; in dpp_auth_init()
1255 i_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_init()
1483 if (!auth->own_bi || in dpp_auth_resp_rx()
1484 os_memcmp(i_bootstrap, auth->own_bi->pubkey_hash, in dpp_auth_resp_rx()
1490 } else if (auth->own_bi && auth->own_bi->type == DPP_BOOTSTRAP_PKEX) { in dpp_auth_resp_rx()
1495 } else if (auth->own_bi && in dpp_auth_resp_rx()
1496 auth->own_bi->type == DPP_BOOTSTRAP_NFC_URI && in dpp_auth_resp_rx()
1497 auth->own_bi->nfc_negotiated) { in dpp_auth_resp_rx()
1537 if (!i_bootstrap && auth->own_bi) { in dpp_auth_resp_rx()
1540 auth->own_bi = NULL; in dpp_auth_resp_rx()
1544 auth->own_bi != NULL); in dpp_auth_resp_rx()
1627 if (auth->own_bi) { in dpp_auth_resp_rx()
1834 if (auth->initiator || !auth->own_bi || !auth->waiting_auth_conf || in dpp_auth_conf_rx()
1838 auth->initiator, !!auth->own_bi, in dpp_auth_conf_rx()
1868 if (os_memcmp(r_bootstrap, auth->own_bi->pubkey_hash, in dpp_auth_conf_rx()