Home
last modified time | relevance | path

Searched refs:peer_bi (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/common/
Ddpp.h179 struct dpp_bootstrap_info *peer_bi; member
381 struct dpp_bootstrap_info *peer_bi,
389 struct dpp_bootstrap_info *peer_bi,
401 struct dpp_bootstrap_info *peer_bi);
495 struct dpp_bootstrap_info **peer_bi);
Ddpp.c1464 if (auth->peer_bi && auth->own_bi) { in dpp_derive_ke()
1939 struct dpp_bootstrap_info *peer_bi = auth->peer_bi; in dpp_channel_intersect() local
1942 for (i = 0; i < peer_bi->num_freq; i++) { in dpp_channel_intersect()
1943 freq = peer_bi->freq[i]; in dpp_channel_intersect()
2007 if (auth->peer_bi->num_freq > 0) in dpp_prepare_channel_list()
2052 pk = dpp_keygen(bi, auth->peer_bi->curve->name, NULL, 0); in dpp_autogen_bootstrap_key()
2079 struct dpp_bootstrap_info *peer_bi, in dpp_auth_init() argument
2104 auth->peer_bi = peer_bi; in dpp_auth_init()
2106 auth->curve = peer_bi->curve; in dpp_auth_init()
2160 EVP_PKEY_derive_set_peer(ctx, auth->peer_bi->pubkey) != 1 || in dpp_auth_init()
[all …]
/external/wpa_supplicant_8/src/ap/
Ddpp_hostapd.c364 if (is_zero_ether_addr(auth->peer_bi->mac_addr)) in hostapd_dpp_auth_init_next()
367 dst = auth->peer_bi->mac_addr; in hostapd_dpp_auth_init_next()
399 struct dpp_bootstrap_info *peer_bi, *own_bi = NULL; in hostapd_dpp_auth_init() local
407 peer_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_auth_init()
408 if (!peer_bi) { in hostapd_dpp_auth_init()
425 if (peer_bi->curve != own_bi->curve) { in hostapd_dpp_auth_init()
428 peer_bi->curve->name, own_bi->curve->name); in hostapd_dpp_auth_init()
461 hapd->dpp_auth = dpp_auth_init(hapd->msg_ctx, peer_bi, own_bi, in hostapd_dpp_auth_init()
477 if (!is_zero_ether_addr(peer_bi->mac_addr)) in hostapd_dpp_auth_init()
478 os_memcpy(hapd->dpp_auth->peer_mac_addr, peer_bi->mac_addr, in hostapd_dpp_auth_init()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Ddpp_supplicant.c402 if (is_zero_ether_addr(auth->peer_bi->mac_addr)) in wpas_dpp_auth_init_next()
405 dst = auth->peer_bi->mac_addr; in wpas_dpp_auth_init_next()
438 struct dpp_bootstrap_info *peer_bi, *own_bi = NULL; in wpas_dpp_auth_init() local
448 peer_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_auth_init()
449 if (!peer_bi) { in wpas_dpp_auth_init()
465 if (peer_bi->curve != own_bi->curve) { in wpas_dpp_auth_init()
468 peer_bi->curve->name, own_bi->curve->name); in wpas_dpp_auth_init()
505 wpa_s->dpp_auth = dpp_auth_init(wpa_s, peer_bi, own_bi, allowed_roles, in wpas_dpp_auth_init()
519 if (!is_zero_ether_addr(peer_bi->mac_addr)) in wpas_dpp_auth_init()
520 os_memcpy(wpa_s->dpp_auth->peer_mac_addr, peer_bi->mac_addr, in wpas_dpp_auth_init()
[all …]