Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/common/
Ddpp.h468 struct dpp_pfs { struct
475 struct dpp_pfs * dpp_pfs_init(const u8 *net_access_key, argument
477 int dpp_pfs_process(struct dpp_pfs *pfs, const u8 *peer_ie, size_t peer_ie_len);
478 void dpp_pfs_free(struct dpp_pfs *pfs);
Ddpp.c8242 struct dpp_pfs * dpp_pfs_init(const u8 *net_access_key, in dpp_pfs_init()
8247 struct dpp_pfs *pfs; in dpp_pfs_init()
8290 int dpp_pfs_process(struct dpp_pfs *pfs, const u8 *peer_ie, size_t peer_ie_len) in dpp_pfs_process()
8311 void dpp_pfs_free(struct dpp_pfs *pfs) in dpp_pfs_free()
/external/wpa_supplicant_8/src/ap/
Ddrv_callbacks.c570 dpp_pfs_free(sta->dpp_pfs); in hostapd_notif_assoc()
571 sta->dpp_pfs = NULL; in hostapd_notif_assoc()
577 sta->dpp_pfs = dpp_pfs_init( in hostapd_notif_assoc()
580 if (!sta->dpp_pfs) { in hostapd_notif_assoc()
587 if (dpp_pfs_process(sta->dpp_pfs, elems.owe_dh, in hostapd_notif_assoc()
589 dpp_pfs_free(sta->dpp_pfs); in hostapd_notif_assoc()
590 sta->dpp_pfs = NULL; in hostapd_notif_assoc()
596 wpa_auth_set_dpp_z(sta->wpa_sm, sta->dpp_pfs ? in hostapd_notif_assoc()
597 sta->dpp_pfs->secret : NULL); in hostapd_notif_assoc()
Dsta_info.h269 struct dpp_pfs *dpp_pfs; member
Dieee802_11.c3037 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
3038 sta->dpp_pfs = NULL; in check_assoc_ies()
3044 sta->dpp_pfs = dpp_pfs_init( in check_assoc_ies()
3047 if (!sta->dpp_pfs) { in check_assoc_ies()
3054 if (dpp_pfs_process(sta->dpp_pfs, elems.owe_dh, in check_assoc_ies()
3056 dpp_pfs_free(sta->dpp_pfs); in check_assoc_ies()
3057 sta->dpp_pfs = NULL; in check_assoc_ies()
3062 wpa_auth_set_dpp_z(sta->wpa_sm, sta->dpp_pfs ? in check_assoc_ies()
3063 sta->dpp_pfs->secret : NULL); in check_assoc_ies()
3338 if (sta && sta->dpp_pfs) in send_assoc_resp()
[all …]
Dsta_info.c367 dpp_pfs_free(sta->dpp_pfs); in ap_free_sta()
368 sta->dpp_pfs = NULL; in ap_free_sta()
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c1590 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1591 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in sme_associate()
1593 if (!wpa_s->dpp_pfs) { in sme_associate()
1599 wpabuf_len(wpa_s->dpp_pfs->ie) > in sme_associate()
1603 dpp_pfs_free(wpa_s->dpp_pfs); in sme_associate()
1604 wpa_s->dpp_pfs = NULL; in sme_associate()
1608 wpabuf_head(wpa_s->dpp_pfs->ie), in sme_associate()
1609 wpabuf_len(wpa_s->dpp_pfs->ie)); in sme_associate()
1610 wpa_s->sme.assoc_req_ie_len += wpabuf_len(wpa_s->dpp_pfs->ie); in sme_associate()
Dwpa_supplicant_i.h1242 struct dpp_pfs *dpp_pfs; member
Dwpa_supplicant.c2873 dpp_pfs_free(wpa_s->dpp_pfs); in wpas_populate_assoc_ies()
2874 wpa_s->dpp_pfs = dpp_pfs_init(ssid->dpp_netaccesskey, in wpas_populate_assoc_ies()
2876 if (!wpa_s->dpp_pfs) { in wpas_populate_assoc_ies()
2881 if (wpabuf_len(wpa_s->dpp_pfs->ie) <= in wpas_populate_assoc_ies()
2884 wpabuf_head(wpa_s->dpp_pfs->ie), in wpas_populate_assoc_ies()
2885 wpabuf_len(wpa_s->dpp_pfs->ie)); in wpas_populate_assoc_ies()
2886 wpa_ie_len += wpabuf_len(wpa_s->dpp_pfs->ie); in wpas_populate_assoc_ies()
Ddpp_supplicant.c2253 dpp_pfs_free(wpa_s->dpp_pfs); in wpas_dpp_deinit()
2254 wpa_s->dpp_pfs = NULL; in wpas_dpp_deinit()
Devents.c2504 if (wpa_s->key_mgmt == WPA_KEY_MGMT_DPP && wpa_s->dpp_pfs) { in wpa_supplicant_event_associnfo()
2512 if (dpp_pfs_process(wpa_s->dpp_pfs, elems.owe_dh, in wpa_supplicant_event_associnfo()
2519 wpa_sm_set_dpp_z(wpa_s->wpa, wpa_s->dpp_pfs->secret); in wpa_supplicant_event_associnfo()