Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.h486 struct dpp_pfs { struct
493 struct dpp_pfs * dpp_pfs_init(const u8 *net_access_key, argument
495 int dpp_pfs_process(struct dpp_pfs *pfs, const u8 *peer_ie, size_t peer_ie_len);
496 void dpp_pfs_free(struct dpp_pfs *pfs);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp.h629 struct dpp_pfs { struct
636 struct dpp_pfs * dpp_pfs_init(const u8 *net_access_key, argument
638 int dpp_pfs_process(struct dpp_pfs *pfs, const u8 *peer_ie, size_t peer_ie_len);
639 void dpp_pfs_free(struct dpp_pfs *pfs);
Ddpp_crypto.c1973 struct dpp_pfs * dpp_pfs_init(const u8 *net_access_key, in dpp_pfs_init()
1978 struct dpp_pfs *pfs; in dpp_pfs_init()
2021 int dpp_pfs_process(struct dpp_pfs *pfs, const u8 *peer_ie, size_t peer_ie_len) in dpp_pfs_process()
2042 void dpp_pfs_free(struct dpp_pfs *pfs) in dpp_pfs_free()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Ddrv_callbacks.c583 dpp_pfs_free(sta->dpp_pfs); in hostapd_notif_assoc()
584 sta->dpp_pfs = NULL; in hostapd_notif_assoc()
590 sta->dpp_pfs = dpp_pfs_init( in hostapd_notif_assoc()
593 if (!sta->dpp_pfs) { in hostapd_notif_assoc()
600 if (dpp_pfs_process(sta->dpp_pfs, elems.owe_dh, in hostapd_notif_assoc()
602 dpp_pfs_free(sta->dpp_pfs); in hostapd_notif_assoc()
603 sta->dpp_pfs = NULL; in hostapd_notif_assoc()
609 wpa_auth_set_dpp_z(sta->wpa_sm, sta->dpp_pfs ? in hostapd_notif_assoc()
610 sta->dpp_pfs->secret : NULL); in hostapd_notif_assoc()
Dsta_info.h273 struct dpp_pfs *dpp_pfs; member
Dieee802_11.c3167 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
3168 sta->dpp_pfs = NULL; in check_assoc_ies()
3174 sta->dpp_pfs = dpp_pfs_init( in check_assoc_ies()
3177 if (!sta->dpp_pfs) { in check_assoc_ies()
3184 if (dpp_pfs_process(sta->dpp_pfs, elems.owe_dh, in check_assoc_ies()
3186 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
3187 sta->dpp_pfs = NULL; in check_assoc_ies()
3192 wpa_auth_set_dpp_z(sta->wpa_sm, sta->dpp_pfs ? in check_assoc_ies()
3193 sta->dpp_pfs->secret : NULL); in check_assoc_ies()
3479 if (sta && sta->dpp_pfs) in send_assoc_resp()
[all …]
Dsta_info.c368 dpp_pfs_free(sta->dpp_pfs); in ap_free_sta()
369 sta->dpp_pfs = NULL; in ap_free_sta()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h314 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.c4719 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
4720 sta->dpp_pfs = NULL; in check_assoc_ies()
4727 sta->dpp_pfs = dpp_pfs_init( in check_assoc_ies()
4730 if (!sta->dpp_pfs) { in check_assoc_ies()
4737 if (dpp_pfs_process(sta->dpp_pfs, elems.owe_dh, in check_assoc_ies()
4739 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
4740 sta->dpp_pfs = NULL; in check_assoc_ies()
4745 wpa_auth_set_dpp_z(sta->wpa_sm, sta->dpp_pfs ? in check_assoc_ies()
4746 sta->dpp_pfs->secret : NULL); in check_assoc_ies()
5043 if (sta && sta->dpp_pfs) in send_assoc_resp()
[all …]
Dwpa_auth.h268 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()
Dap_config.h757 int dpp_pfs; member
Dwpa_auth_glue.c210 wconf->dpp_pfs = conf->dpp_pfs; in hostapd_wpa_auth_conf()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dpmksa_cache.h31 unsigned int dpp_pfs:1; member
Dwpa_i.h217 int dpp_pfs; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dsme.c1878 ssid->dpp_netaccesskey && ssid->dpp_pfs != 2 && in sme_associate()
1883 if (!pmksa || !pmksa->dpp_pfs) in sme_associate()
1886 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1887 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in sme_associate()
1889 if (!wpa_s->dpp_pfs) { in sme_associate()
1895 wpabuf_len(wpa_s->dpp_pfs->ie) > in sme_associate()
1899 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1900 wpa_s->dpp_pfs = NULL; in sme_associate()
1904 wpabuf_head(wpa_s->dpp_pfs->ie), in sme_associate()
1905 wpabuf_len(wpa_s->dpp_pfs->ie)); in sme_associate()
[all …]
Dconfig_ssid.h1050 int dpp_pfs; member
Dwpa_supplicant_i.h1474 struct dpp_pfs *dpp_pfs; member
Dwpa_supplicant.c1775 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_DPP_PFS, ssid->dpp_pfs); in wpa_supplicant_set_suites()
3303 ssid->dpp_pfs != 2 && !ssid->dpp_pfs_fallback) { in wpas_populate_assoc_ies()
3307 if (!pmksa || !pmksa->dpp_pfs) in wpas_populate_assoc_ies()
3310 dpp_pfs_free(wpa_s->dpp_pfs); in wpas_populate_assoc_ies()
3311 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in wpas_populate_assoc_ies()
3313 if (!wpa_s->dpp_pfs) { in wpas_populate_assoc_ies()
3318 if (wpabuf_len(wpa_s->dpp_pfs->ie) <= in wpas_populate_assoc_ies()
3321 wpabuf_head(wpa_s->dpp_pfs->ie), in wpas_populate_assoc_ies()
3322 wpabuf_len(wpa_s->dpp_pfs->ie)); in wpas_populate_assoc_ies()
3323 wpa_ie_len += wpabuf_len(wpa_s->dpp_pfs->ie); in wpas_populate_assoc_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dsme.c1595 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1596 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in sme_associate()
1598 if (!wpa_s->dpp_pfs) { in sme_associate()
1604 wpabuf_len(wpa_s->dpp_pfs->ie) > in sme_associate()
1608 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1609 wpa_s->dpp_pfs = NULL; in sme_associate()
1613 wpabuf_head(wpa_s->dpp_pfs->ie), in sme_associate()
1614 wpabuf_len(wpa_s->dpp_pfs->ie)); in sme_associate()
1615 wpa_s->sme.assoc_req_ie_len += wpabuf_len(wpa_s->dpp_pfs->ie); in sme_associate()
Dwpa_supplicant_i.h1244 struct dpp_pfs *dpp_pfs; member
Dwpa_supplicant.c2908 dpp_pfs_free(wpa_s->dpp_pfs); in wpas_populate_assoc_ies()
2909 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in wpas_populate_assoc_ies()
2911 if (!wpa_s->dpp_pfs) { in wpas_populate_assoc_ies()
2916 if (wpabuf_len(wpa_s->dpp_pfs->ie) <= in wpas_populate_assoc_ies()
2919 wpabuf_head(wpa_s->dpp_pfs->ie), in wpas_populate_assoc_ies()
2920 wpabuf_len(wpa_s->dpp_pfs->ie)); in wpas_populate_assoc_ies()
2921 wpa_ie_len += wpabuf_len(wpa_s->dpp_pfs->ie); in wpas_populate_assoc_ies()
Ddpp_supplicant.c2297 dpp_pfs_free(wpa_s->dpp_pfs); in wpas_dpp_deinit()
2298 wpa_s->dpp_pfs = NULL; in wpas_dpp_deinit()

12