Home
last modified time | relevance | path

Searched refs:dpp_pfs (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/src/common/
Ddpp.h625 struct dpp_pfs { struct
632 struct dpp_pfs * dpp_pfs_init(const u8 *net_access_key, argument
634 int dpp_pfs_process(struct dpp_pfs *pfs, const u8 *peer_ie, size_t peer_ie_len);
635 void dpp_pfs_free(struct dpp_pfs *pfs);
Ddpp_crypto.c2617 struct dpp_pfs * dpp_pfs_init(const u8 *net_access_key, in dpp_pfs_init()
2622 struct dpp_pfs *pfs; in dpp_pfs_init()
2665 int dpp_pfs_process(struct dpp_pfs *pfs, const u8 *peer_ie, size_t peer_ie_len) in dpp_pfs_process()
2686 void dpp_pfs_free(struct dpp_pfs *pfs) in dpp_pfs_free()
/external/wpa_supplicant_8/src/ap/
Ddrv_callbacks.c651 dpp_pfs_free(sta->dpp_pfs); in hostapd_notif_assoc()
652 sta->dpp_pfs = NULL; in hostapd_notif_assoc()
658 sta->dpp_pfs = dpp_pfs_init( in hostapd_notif_assoc()
661 if (!sta->dpp_pfs) { in hostapd_notif_assoc()
668 if (dpp_pfs_process(sta->dpp_pfs, elems.owe_dh, in hostapd_notif_assoc()
670 dpp_pfs_free(sta->dpp_pfs); in hostapd_notif_assoc()
671 sta->dpp_pfs = NULL; in hostapd_notif_assoc()
677 wpa_auth_set_dpp_z(sta->wpa_sm, sta->dpp_pfs ? in hostapd_notif_assoc()
678 sta->dpp_pfs->secret : NULL); in hostapd_notif_assoc()
Dsta_info.h313 struct dpp_pfs *dpp_pfs; member
Dwpa_auth_ie.c904 ((conf->dpp_pfs == 1 && !owe_dh) || in wpa_validate_wpa_ie()
905 (conf->dpp_pfs == 2 && owe_dh))) { in wpa_validate_wpa_ie()
907 conf->dpp_pfs == 1 ? "required" : "not allowed"); in wpa_validate_wpa_ie()
Dieee802_11.c4585 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
4586 sta->dpp_pfs = NULL; in check_assoc_ies()
4593 sta->dpp_pfs = dpp_pfs_init( in check_assoc_ies()
4596 if (!sta->dpp_pfs) { in check_assoc_ies()
4603 if (dpp_pfs_process(sta->dpp_pfs, elems.owe_dh, in check_assoc_ies()
4605 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
4606 sta->dpp_pfs = NULL; in check_assoc_ies()
4611 wpa_auth_set_dpp_z(sta->wpa_sm, sta->dpp_pfs ? in check_assoc_ies()
4612 sta->dpp_pfs->secret : NULL); in check_assoc_ies()
4909 if (sta && sta->dpp_pfs) in send_assoc_resp()
[all …]
Dwpa_auth.h270 int dpp_pfs; member
Dap_config.h753 int dpp_pfs; member
Dsta_info.c395 dpp_pfs_free(sta->dpp_pfs); in ap_free_sta()
396 sta->dpp_pfs = NULL; in ap_free_sta()
Dwpa_auth_glue.c212 wconf->dpp_pfs = conf->dpp_pfs; in hostapd_wpa_auth_conf()
Dwpa_auth.c3155 wpa_auth->conf.dpp_pfs != 2 && in SM_STATE()
3611 if (conf->dpp_pfs == 0) in SM_STATE()
3613 else if (conf->dpp_pfs == 1) in SM_STATE()
/external/wpa_supplicant_8/src/rsn_supp/
Dpmksa_cache.h31 unsigned int dpp_pfs:1; member
Dwpa_i.h217 int dpp_pfs; member
Dwpa.c818 if (sm->dpp_pfs == 0) in wpa_supplicant_process_1_of_4()
820 else if (sm->dpp_pfs == 1) in wpa_supplicant_process_1_of_4()
1750 if (sm->key_mgmt == WPA_KEY_MGMT_DPP && sm->dpp_pfs != 2 && in wpa_supplicant_process_3_of_4()
3361 sm->dpp_pfs = value; in wpa_sm_set_param()
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c1850 ssid->dpp_netaccesskey && ssid->dpp_pfs != 2 && in sme_associate()
1855 if (!pmksa || !pmksa->dpp_pfs) in sme_associate()
1858 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1859 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in sme_associate()
1861 if (!wpa_s->dpp_pfs) { in sme_associate()
1867 wpabuf_len(wpa_s->dpp_pfs->ie) > in sme_associate()
1871 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1872 wpa_s->dpp_pfs = NULL; in sme_associate()
1876 wpabuf_head(wpa_s->dpp_pfs->ie), in sme_associate()
1877 wpabuf_len(wpa_s->dpp_pfs->ie)); in sme_associate()
[all …]
Dconfig_ssid.h1041 int dpp_pfs; member
Dwpa_supplicant_i.h1371 struct dpp_pfs *dpp_pfs; member
Dwpa_supplicant.c1745 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_DPP_PFS, ssid->dpp_pfs); in wpa_supplicant_set_suites()
3162 ssid->dpp_pfs != 2 && !ssid->dpp_pfs_fallback) { in wpas_populate_assoc_ies()
3166 if (!pmksa || !pmksa->dpp_pfs) in wpas_populate_assoc_ies()
3169 dpp_pfs_free(wpa_s->dpp_pfs); in wpas_populate_assoc_ies()
3170 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in wpas_populate_assoc_ies()
3172 if (!wpa_s->dpp_pfs) { in wpas_populate_assoc_ies()
3177 if (wpabuf_len(wpa_s->dpp_pfs->ie) <= in wpas_populate_assoc_ies()
3180 wpabuf_head(wpa_s->dpp_pfs->ie), in wpas_populate_assoc_ies()
3181 wpabuf_len(wpa_s->dpp_pfs->ie)); in wpas_populate_assoc_ies()
3182 wpa_ie_len += wpabuf_len(wpa_s->dpp_pfs->ie); in wpas_populate_assoc_ies()
Devents.c2852 wpa_s->dpp_pfs) { in wpa_supplicant_event_associnfo()
2860 if (dpp_pfs_process(wpa_s->dpp_pfs, elems.owe_dh, in wpa_supplicant_event_associnfo()
2867 wpa_sm_set_dpp_z(wpa_s->wpa, wpa_s->dpp_pfs->secret); in wpa_supplicant_event_associnfo()
4629 wpa_s->current_ssid->dpp_pfs == 0 && in wpas_event_assoc_reject()
Ddpp_supplicant.c2485 entry->dpp_pfs = peer_version >= 2; in wpas_dpp_rx_peer_disc_resp()
3436 dpp_pfs_free(wpa_s->dpp_pfs); in wpas_dpp_deinit()
3437 wpa_s->dpp_pfs = NULL; in wpas_dpp_deinit()
Dconfig_file.c835 INT(dpp_pfs); in wpa_config_write_network()
Dconfig.c2631 { INT_RANGE(dpp_pfs, 0, 2) },
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c4484 bss->dpp_pfs = val;