/freebsd/contrib/wpa/src/common/ |
H A D | sae.c | 116 os_free(tmp->pw_id); in sae_clear_temp_data() 2057 if (sae->tmp->pw_id) { in sae_parse_password_identifier() 2060 sae->tmp->pw_id); in sae_parse_password_identifier() 2063 os_free(sae->tmp->pw_id); in sae_parse_password_identifier() 2064 sae->tmp->pw_id = NULL; in sae_parse_password_identifier() 2076 if (sae->tmp->pw_id && in sae_parse_password_identifier() 2077 (len != os_strlen(sae->tmp->pw_id) || in sae_parse_password_identifier() 2078 os_memcmp(sae->tmp->pw_id, epos, len) != 0)) { in sae_parse_password_identifier() 2081 sae->tmp->pw_id); in sae_parse_password_identifier() 2085 os_free(sae->tmp->pw_id); in sae_parse_password_identifier() [all …]
|
H A D | sae.h | 61 char *pw_id; member
|
/freebsd/contrib/tcpdump/ |
H A D | print-lspping.c | 352 nd_uint32_t pw_id; member 371 nd_uint32_t pw_id; member 827 … GET_BE_U_4(subtlv_ptr.lspping_tlv_targetfec_subtlv_l2vpn_vcid_old->pw_id), in lspping_print() 847 … GET_BE_U_4(subtlv_ptr.lspping_tlv_targetfec_subtlv_l2vpn_vcid->pw_id), in lspping_print()
|
/freebsd/contrib/wpa/src/wps/ |
H A 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() 1396 if (wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) in wps_get_dev_password() 1918 wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) { in wps_build_m2() 2243 static int wps_process_dev_password_id(struct wps_data *wps, const u8 *pw_id) in wps_process_dev_password_id() argument 2245 if (pw_id == NULL) { in wps_process_dev_password_id() 2250 wps->dev_pw_id = WPA_GET_BE16(pw_id); in wps_process_dev_password_id() [all …]
|
H A D | wps.c | 495 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, in wps_build_probe_req_ie() argument 517 wps_build_dev_password_id(ie, pw_id) || in wps_build_probe_req_ie()
|
H A D | wps.h | 251 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, 878 const u8 *pubkey_hash, u16 pw_id,
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_go_neg.c | 145 u16 pw_id; in p2p_build_go_neg_req() local 209 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req() 211 pw_id = peer->oob_pw_id; in p2p_build_go_neg_req() 212 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_req() 297 u16 pw_id; in p2p_build_go_neg_resp() local 388 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp() 390 pw_id = peer->oob_pw_id; in p2p_build_go_neg_resp() 391 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_resp()
|
H A D | p2p_build.c | 742 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, in p2p_build_wps_ie() argument 765 if (pw_id >= 0) { in p2p_build_wps_ie() 772 pw_id); in p2p_build_wps_ie() 773 wpabuf_put_be16(buf, pw_id); in p2p_build_wps_ie()
|
H A D | p2p_i.h | 791 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
|
H A D | p2p.h | 641 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id,
|
H A D | p2p.c | 1024 u16 pw_id = DEV_PW_DEFAULT; in p2p_search() local 1053 p2p->find_dev_id, pw_id, p2p->include_6ghz); in p2p_search() 2238 int pw_id = -1; in p2p_build_probe_resp_ies() local 2258 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies() 2261 if (p2p_build_wps_ie(p2p, buf, pw_id, 1) < 0) { in p2p_build_probe_resp_ies()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | mesh_rsn.c | 358 if (sta->sae->tmp && !sta->sae->tmp->pw_id && ssid->sae_password_id) { in mesh_rsn_build_sae_commit() 359 sta->sae->tmp->pw_id = os_strdup(ssid->sae_password_id); in mesh_rsn_build_sae_commit() 360 if (!sta->sae->tmp->pw_id) in mesh_rsn_build_sae_commit()
|
H A D | ap.h | 95 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id,
|
H A D | ap.c | 1925 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id, in wpas_ap_wps_add_nfc_pw() argument 1962 pw_id, in wpas_ap_wps_add_nfc_pw()
|
H A D | p2p_supplicant.c | 423 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id, in wpas_p2p_scan() argument 457 wps_ie = wps_build_probe_req_ie(pw_id, &wpa_s->wps->dev, in wpas_p2p_scan()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_11.c | 623 rx_id = sta->sae->tmp->pw_id; in auth_build_sae_commit() 715 if (!data && sta->sae->tmp && sta->sae->tmp->pw_id) in auth_sae_send_commit() 1618 if (sta->sae && sta->sae->tmp && sta->sae->tmp->pw_id && in handle_auth_sae() 1623 os_free(sta->sae->tmp->pw_id); in handle_auth_sae() 1624 sta->sae->tmp->pw_id = NULL; in handle_auth_sae()
|