/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_build.c | 28 if (wps->dev_pw_id != DEV_PW_DEFAULT && wps->wps->dh_privkey && in wps_build_public_key() 41 } else if ((wps->dev_pw_id >= 0x10 || in wps_build_public_key() 42 wps->dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) && in wps_build_public_key() 47 wps->dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER)) && in wps_build_public_key() 48 (wps->dev_pw_id == wps->wps->ap_nfc_dev_pw_id || in wps_build_public_key() 386 int wps_build_oob_dev_pw(struct wpabuf *msg, u16 dev_pw_id, in wps_build_oob_dev_pw() argument 395 dev_pw_id); in wps_build_oob_dev_pw() 413 wpabuf_put_be16(msg, dev_pw_id); in wps_build_oob_dev_pw()
|
D | wps.c | 49 data->dev_pw_id = cfg->dev_pw_id; in wps_init() 63 cfg->dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) in wps_init() 64 data->dev_pw_id = cfg->dev_pw_id; in wps_init() 68 data->alt_dev_pw_id = data->dev_pw_id; in wps_init() 72 data->dev_pw_id = cfg->wps->ap_nfc_dev_pw_id; in wps_init() 91 data->dev_pw_id = DEV_PW_PUSHBUTTON; in wps_init()
|
D | wps_i.h | 72 u16 dev_pw_id; member 174 int wps_build_oob_dev_pw(struct wpabuf *msg, u16 dev_pw_id, 209 u16 dev_pw_id);
|
D | wps_registrar.c | 1366 } else if (wps->dev_pw_id >= 0x10 && in wps_get_dev_password() 1367 wps->wps->ap_nfc_dev_pw_id == wps->dev_pw_id && in wps_get_dev_password() 1376 if (pin && wps->dev_pw_id >= 0x10) { in wps_get_dev_password() 1382 wps->dev_pw_id = DEV_PW_DEFAULT; in wps_get_dev_password() 1821 wps_build_dev_password_id(msg, wps->dev_pw_id) || in wps_build_m2() 2161 wps->dev_pw_id = WPA_GET_BE16(pw_id); in wps_process_dev_password_id() 2162 wpa_printf(MSG_DEBUG, "WPS: Device Password ID %d", wps->dev_pw_id); in wps_process_dev_password_id() 2566 if (wps->dev_pw_id < 0x10 && in wps_process_m1() 2567 wps->dev_pw_id != DEV_PW_DEFAULT && in wps_process_m1() 2568 wps->dev_pw_id != DEV_PW_USER_SPECIFIED && in wps_process_m1() [all …]
|
D | wps_enrollee.c | 152 wps_build_dev_password_id(msg, wps->dev_pw_id) || in wps_build_m1() 861 static int wps_process_dev_pw_id(struct wps_data *wps, const u8 *dev_pw_id) in wps_process_dev_pw_id() argument 865 if (dev_pw_id == NULL) { in wps_process_dev_pw_id() 870 id = WPA_GET_BE16(dev_pw_id); in wps_process_dev_pw_id() 871 if (wps->dev_pw_id == id) { in wps_process_dev_pw_id() 878 wps->dev_pw_id == DEV_PW_REGISTRAR_SPECIFIED) || in wps_process_dev_pw_id() 880 wps->dev_pw_id == DEV_PW_DEFAULT)) { in wps_process_dev_pw_id() 895 "ID from %u to %u", wps->dev_pw_id, id); in wps_process_dev_pw_id() 897 if (wps->dev_pw_id == DEV_PW_PUSHBUTTON && id == DEV_PW_DEFAULT) { in wps_process_dev_pw_id() 906 wps->dev_pw_id = wps->alt_dev_pw_id; in wps_process_dev_pw_id()
|
D | wps.h | 165 u16 dev_pw_id; member 866 struct wpabuf * wps_build_nfc_pw_token(u16 dev_pw_id,
|
D | wps_common.c | 411 struct wpabuf * wps_build_nfc_pw_token(u16 dev_pw_id, in wps_build_nfc_pw_token() argument 421 if (wps_build_oob_dev_pw(data, dev_pw_id, pubkey, in wps_build_nfc_pw_token()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_invitation.c | 21 int dev_pw_id) in p2p_build_invitation_req() argument 96 if (dev_pw_id >= 0) { in p2p_build_invitation_req() 98 p2p_build_wps_ie(p2p, buf, dev_pw_id, 0); in p2p_build_invitation_req() 487 const u8 *go_dev_addr, int dev_pw_id) in p2p_invite_send() argument 502 req = p2p_build_invitation_req(p2p, dev, go_dev_addr, dev_pw_id); in p2p_invite_send() 572 int persistent_group, unsigned int pref_freq, int dev_pw_id) in p2p_invite() argument 590 if (dev_pw_id >= 0) { in p2p_invite() 592 dev_pw_id); in p2p_invite() 594 p2p->invite_dev_pw_id = dev_pw_id; in p2p_invite() 636 return p2p_invite_send(p2p, dev, go_dev_addr, dev_pw_id); in p2p_invite()
|
D | p2p.h | 757 int dev_pw_id); 1149 int persistent_group, unsigned int pref_freq, int dev_pw_id); 2009 void p2p_set_authorized_oob_dev_pw_id(struct p2p_data *p2p, u16 dev_pw_id,
|
D | p2p_i.h | 738 const u8 *go_dev_addr, int dev_pw_id);
|
D | p2p.c | 4829 void p2p_set_authorized_oob_dev_pw_id(struct p2p_data *p2p, u16 dev_pw_id, in p2p_set_authorized_oob_dev_pw_id() argument 4834 p2p->authorized_oob_dev_pw_id = dev_pw_id; in p2p_set_authorized_oob_dev_pw_id() 4835 if (dev_pw_id == 0) { in p2p_set_authorized_oob_dev_pw_id() 4841 dev_pw_id); in p2p_set_authorized_oob_dev_pw_id()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 1116 const char *pin, int p2p_group, u16 dev_pw_id, in wpas_wps_start_dev_pw() argument 1164 pin, dev_pw_id, hash); in wpas_wps_start_dev_pw() 1165 else if (pin == NULL && dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) { in wpas_wps_start_dev_pw() 1167 dev_pw_id, hash); in wpas_wps_start_dev_pw() 1171 rpin, dev_pw_id, hash); in wpas_wps_start_dev_pw() 1188 const char *pin, int p2p_group, u16 dev_pw_id) in wpas_wps_start_pin() argument 1191 dev_pw_id, NULL, NULL, 0, 0); in wpas_wps_start_pin() 2170 const struct wpabuf *dev_pw, u16 dev_pw_id, in wpas_wps_start_nfc() argument 2177 if (dev_pw_id != DEV_PW_NFC_CONNECTION_HANDOVER && dev_pw == NULL) { in wpas_wps_start_nfc() 2179 dev_pw_id = wpa_s->conf->wps_nfc_dev_pw_id; in wpas_wps_start_nfc() [all …]
|
D | wps_supplicant.h | 35 const char *pin, int p2p_group, u16 dev_pw_id); 69 const struct wpabuf *dev_pw, u16 dev_pw_id,
|
D | p2p_supplicant.c | 1195 u16 dev_pw_id = DEV_PW_DEFAULT; in wpas_start_wps_enrollee() local 1197 dev_pw_id = DEV_PW_REGISTRAR_SPECIFIED; in wpas_start_wps_enrollee() 1199 wpa_s->p2p_pin, 1, dev_pw_id); in wpas_start_wps_enrollee() 2994 int dev_pw_id) in wpas_invitation_process() argument 3016 if (dev_pw_id >= 0 && wpa_s->parent->p2p_nfc_tag_enabled && in wpas_invitation_process() 3017 dev_pw_id == wpa_s->parent->p2p_oob_dev_pw_id) { in wpas_invitation_process()
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1813 u16 dev_pw_id; in hostapd_wps_nfc_report_handover() local 1875 dev_pw_id = WPA_GET_BE16(attr.oob_dev_password + in hostapd_wps_nfc_report_handover() 1877 if (dev_pw_id != DEV_PW_NFC_CONNECTION_HANDOVER) { in hostapd_wps_nfc_report_handover() 1879 "%u in Wi-Fi Handover Request Message", dev_pw_id); in hostapd_wps_nfc_report_handover()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_wsc.c | 221 cfg.dev_pw_id = id; in eap_wsc_init()
|