/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | sae.c | 110 os_free(tmp->pw_id); in sae_clear_temp_data() 1088 if (sae->tmp->pw_id) { in sae_parse_password_identifier() 1091 sae->tmp->pw_id); in sae_parse_password_identifier() 1094 os_free(sae->tmp->pw_id); in sae_parse_password_identifier() 1095 sae->tmp->pw_id = NULL; in sae_parse_password_identifier() 1099 if (sae->tmp->pw_id && in sae_parse_password_identifier() 1100 (pos[1] - 1 != (int) os_strlen(sae->tmp->pw_id) || in sae_parse_password_identifier() 1101 os_memcmp(sae->tmp->pw_id, pos + 3, pos[1] - 1) != 0)) { in sae_parse_password_identifier() 1104 sae->tmp->pw_id); in sae_parse_password_identifier() 1108 os_free(sae->tmp->pw_id); in sae_parse_password_identifier() [all …]
|
D | sae.h | 43 char *pw_id; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | sae.c | 114 os_free(tmp->pw_id); in sae_clear_temp_data() 2020 if (sae->tmp->pw_id) { in sae_parse_password_identifier() 2023 sae->tmp->pw_id); in sae_parse_password_identifier() 2026 os_free(sae->tmp->pw_id); in sae_parse_password_identifier() 2027 sae->tmp->pw_id = NULL; in sae_parse_password_identifier() 2039 if (sae->tmp->pw_id && in sae_parse_password_identifier() 2040 (len != os_strlen(sae->tmp->pw_id) || in sae_parse_password_identifier() 2041 os_memcmp(sae->tmp->pw_id, epos, len) != 0)) { in sae_parse_password_identifier() 2044 sae->tmp->pw_id); in sae_parse_password_identifier() 2048 os_free(sae->tmp->pw_id); in sae_parse_password_identifier() [all …]
|
D | sae.h | 60 char *pw_id; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_registrar.c | 36 u16 pw_id; member 50 static void wps_free_nfc_pw_tokens(struct dl_list *tokens, u16 pw_id) in wps_free_nfc_pw_tokens() argument 55 if (pw_id == 0 || pw_id == token->pw_id) in wps_free_nfc_pw_tokens() 62 u16 pw_id) in wps_get_nfc_pw_token() argument 66 if (pw_id == token->pw_id) in wps_get_nfc_pw_token() 1397 if (wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) in wps_get_dev_password() 1919 wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) { in wps_build_m2() 2244 static int wps_process_dev_password_id(struct wps_data *wps, const u8 *pw_id) in wps_process_dev_password_id() argument 2246 if (pw_id == NULL) { in wps_process_dev_password_id() 2251 wps->dev_pw_id = WPA_GET_BE16(pw_id); in wps_process_dev_password_id() [all …]
|
D | wps.c | 494 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, in wps_build_probe_req_ie() argument 516 wps_build_dev_password_id(ie, pw_id) || in wps_build_probe_req_ie()
|
D | wps.h | 246 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, 873 const u8 *pubkey_hash, u16 pw_id,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_registrar.c | 35 u16 pw_id; member 49 static void wps_free_nfc_pw_tokens(struct dl_list *tokens, u16 pw_id) in wps_free_nfc_pw_tokens() argument 54 if (pw_id == 0 || pw_id == token->pw_id) in wps_free_nfc_pw_tokens() 61 u16 pw_id) in wps_get_nfc_pw_token() argument 65 if (pw_id == token->pw_id) in wps_get_nfc_pw_token() 1419 if (wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) in wps_get_dev_password() 1928 wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) { in wps_build_m2() 2253 static int wps_process_dev_password_id(struct wps_data *wps, const u8 *pw_id) in wps_process_dev_password_id() argument 2255 if (pw_id == NULL) { in wps_process_dev_password_id() 2260 wps->dev_pw_id = WPA_GET_BE16(pw_id); in wps_process_dev_password_id() [all …]
|
D | wps.c | 494 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, in wps_build_probe_req_ie() argument 516 wps_build_dev_password_id(ie, pw_id) || in wps_build_probe_req_ie()
|
D | wps.h | 245 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, 865 const u8 *pubkey_hash, u16 pw_id,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p_go_neg.c | 144 u16 pw_id; in p2p_build_go_neg_req() local 192 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req() 194 pw_id = peer->oob_pw_id; in p2p_build_go_neg_req() 195 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_req() 280 u16 pw_id; in p2p_build_go_neg_resp() local 351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp() 353 pw_id = peer->oob_pw_id; in p2p_build_go_neg_resp() 354 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_resp()
|
D | p2p_build.c | 736 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, in p2p_build_wps_ie() argument 759 if (pw_id >= 0) { in p2p_build_wps_ie() 766 pw_id); in p2p_build_wps_ie() 767 wpabuf_put_be16(buf, pw_id); in p2p_build_wps_ie()
|
D | p2p_i.h | 784 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
|
D | p2p.c | 1006 u16 pw_id = DEV_PW_DEFAULT; in p2p_search() local 1034 p2p->find_dev_id, pw_id); in p2p_search() 2184 int pw_id = -1; in p2p_build_probe_resp_ies() local 2204 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies() 2207 if (p2p_build_wps_ie(p2p, buf, pw_id, 1) < 0) { in p2p_build_probe_resp_ies()
|
D | p2p.h | 631 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p_go_neg.c | 144 u16 pw_id; in p2p_build_go_neg_req() local 192 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req() 194 pw_id = peer->oob_pw_id; in p2p_build_go_neg_req() 195 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_req() 280 u16 pw_id; in p2p_build_go_neg_resp() local 351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp() 353 pw_id = peer->oob_pw_id; in p2p_build_go_neg_resp() 354 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_resp()
|
D | p2p_build.c | 736 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, in p2p_build_wps_ie() argument 759 if (pw_id >= 0) { in p2p_build_wps_ie() 766 pw_id); in p2p_build_wps_ie() 767 wpabuf_put_be16(buf, pw_id); in p2p_build_wps_ie()
|
D | p2p_i.h | 789 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
|
D | p2p.h | 639 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | mesh_rsn.c | 340 if (sta->sae->tmp && !sta->sae->tmp->pw_id && ssid->sae_password_id) { in mesh_rsn_build_sae_commit() 341 sta->sae->tmp->pw_id = os_strdup(ssid->sae_password_id); in mesh_rsn_build_sae_commit() 342 if (!sta->sae->tmp->pw_id) in mesh_rsn_build_sae_commit()
|
D | ap.h | 75 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id,
|
D | ap.c | 1453 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id, in wpas_ap_wps_add_nfc_pw() argument 1490 pw_id, in wpas_ap_wps_add_nfc_pw()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | mesh_rsn.c | 340 if (sta->sae->tmp && !sta->sae->tmp->pw_id && ssid->sae_password_id) { in mesh_rsn_build_sae_commit() 341 sta->sae->tmp->pw_id = os_strdup(ssid->sae_password_id); in mesh_rsn_build_sae_commit() 342 if (!sta->sae->tmp->pw_id) in mesh_rsn_build_sae_commit()
|
D | ap.h | 75 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id,
|
D | ap.c | 1686 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id, in wpas_ap_wps_add_nfc_pw() argument 1723 pw_id, in wpas_ap_wps_add_nfc_pw()
|