Home
last modified time | relevance | path

Searched refs:pw_id (Results 1 - 25 of 30) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dsae.c110 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...]
H A Dsae.h43 char *pw_id; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A Dp2p_go_neg.c144 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()
H A Dp2p_build.c736 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()
H A Dp2p_i.h784 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
H A Dp2p.h607 * @pw_id: Device Password ID
631 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id);
H A Dp2p.c1006 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dsae.c116 os_free(tmp->pw_id); in sae_clear_temp_data()
2053 if (sae->tmp->pw_id) { in sae_parse_password_identifier()
2056 sae->tmp->pw_id); in sae_parse_password_identifier()
2059 os_free(sae->tmp->pw_id); in sae_parse_password_identifier()
2060 sae->tmp->pw_id = NULL; in sae_parse_password_identifier()
2072 if (sae->tmp->pw_id && in sae_parse_password_identifier()
2073 (len != os_strlen(sae->tmp->pw_id) || in sae_parse_password_identifier()
2074 os_memcmp(sae->tmp->pw_id, epos, len) != 0)) { in sae_parse_password_identifier()
2077 sae->tmp->pw_id); in sae_parse_password_identifier()
2081 os_free(sae->tmp->pw_id); in sae_parse_password_identifier()
[all...]
H A Dsae.h61 char *pw_id; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_registrar.c35 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()
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 in wps_build_m2()
60 wps_get_nfc_pw_token(struct dl_list *tokens, u16 pw_id) wps_get_nfc_pw_token() argument
2253 wps_process_dev_password_id(struct wps_data *wps, const u8 *pw_id) wps_process_dev_password_id() argument
3672 wps_registrar_add_nfc_pw_token(struct wps_registrar *reg, const u8 *pubkey_hash, u16 pw_id, const u8 *dev_pw, size_t dev_pw_len, int pk_hash_provided_oob) wps_registrar_add_nfc_pw_token() argument
[all...]
H A Dwps.c482 * @pw_id: Password ID (DEV_PW_PUSHBUTTON for active PBC and DEV_PW_DEFAULT for
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()
H A Dwps.h245 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_standard/src/wps/
H A Dwps_registrar.c36 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()
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 in wps_build_m2()
61 wps_get_nfc_pw_token(struct dl_list *tokens, u16 pw_id) wps_get_nfc_pw_token() argument
2244 wps_process_dev_password_id(struct wps_data *wps, const u8 *pw_id) wps_process_dev_password_id() argument
3693 wps_registrar_add_nfc_pw_token(struct wps_registrar *reg, const u8 *pubkey_hash, u16 pw_id, const u8 *dev_pw, size_t dev_pw_len, int pk_hash_provided_oob) wps_registrar_add_nfc_pw_token() argument
[all...]
H A Dwps.c488 * @pw_id: Password ID (DEV_PW_PUSHBUTTON for active PBC and DEV_PW_DEFAULT for
500 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, in wps_build_probe_req_ie() argument
522 wps_build_dev_password_id(ie, pw_id) || in wps_build_probe_req_ie()
H A Dwps.h246 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_standard/src/p2p/
H A Dp2p_build.c736 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()
H A Dp2p_go_neg.c154 u16 pw_id; in p2p_build_go_neg_req() local
202 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
204 pw_id = peer->oob_pw_id; in p2p_build_go_neg_req()
205 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_req()
290 u16 pw_id; in p2p_build_go_neg_resp() local
361 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp()
363 pw_id = peer->oob_pw_id; in p2p_build_go_neg_resp()
364 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_resp()
H A Dp2p.h627 * @pw_id: Device Password ID
652 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id,
H A Dp2p_i.h842 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
H A Dp2p.c1082 u16 pw_id = DEV_PW_DEFAULT; local
1116 p2p->find_dev_id, pw_id, p2p->include_6ghz);
2307 int pw_id = -1; local
2327 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method);
2330 if (p2p_build_wps_ie(p2p, buf, pw_id, 1) < 0) {
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dap.h75 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id,
H A Dmesh_rsn.c340 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()
H A Dap.c1453 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/
H A Dap.h75 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id,
H A Dmesh_rsn.c351 if (sta->sae->tmp && !sta->sae->tmp->pw_id && ssid->sae_password_id) { in mesh_rsn_build_sae_commit()
352 sta->sae->tmp->pw_id = os_strdup(ssid->sae_password_id); in mesh_rsn_build_sae_commit()
353 if (!sta->sae->tmp->pw_id) in mesh_rsn_build_sae_commit()

Completed in 46 milliseconds

12