Home
last modified time | relevance | path

Searched refs:dev_pw (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_common.c411 const struct wpabuf *dev_pw) in wps_build_nfc_pw_token() argument
420 wpabuf_head(dev_pw), wpabuf_len(dev_pw)) || in wps_build_nfc_pw_token()
622 struct wpabuf *dev_pw) in wps_nfc_token_build() argument
626 if (pubkey == NULL || dev_pw == NULL) in wps_nfc_token_build()
629 ret = wps_build_nfc_pw_token(id, pubkey, dev_pw); in wps_nfc_token_build()
670 struct wpabuf **dev_pw) in wps_nfc_token_gen() argument
692 wpabuf_free(*dev_pw); in wps_nfc_token_gen()
693 *dev_pw = pw; in wps_nfc_token_gen()
695 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw); in wps_nfc_token_gen()
862 const u8 *dev_pw; in wps_build_nfc_handover_sel_p2p() local
[all …]
Dwps.h302 const u8 *uuid_e, const u8 *dev_pw,
817 const u8 *dev_pw, size_t dev_pw_len);
828 const u8 *dev_pw, size_t dev_pw_len,
880 const struct wpabuf *dev_pw);
882 struct wpabuf *dev_pw);
886 struct wpabuf **dev_pw);
Dwps_attr_build.c405 const struct wpabuf *pubkey, const u8 *dev_pw, in wps_build_oob_dev_pw() argument
432 if (dev_pw) { in wps_build_oob_dev_pw()
434 dev_pw, dev_pw_len); in wps_build_oob_dev_pw()
435 wpabuf_put_data(msg, dev_pw, dev_pw_len); in wps_build_oob_dev_pw()
Dwps_registrar.c36 u8 dev_pw[WPS_OOB_DEVICE_PASSWORD_LEN * 2 + 1]; member
154 const u8 *uuid_e, const u8 *dev_pw,
833 const u8 *dev_pw, in wps_registrar_invalidate_wildcard_pin() argument
840 if (dev_pw && pin->pin && in wps_registrar_invalidate_wildcard_pin()
842 os_memcmp_const(dev_pw, pin->pin, dev_pw_len) != 0)) in wps_registrar_invalidate_wildcard_pin()
1044 const u8 *dev_pw, size_t dev_pw_len) in wps_registrar_complete() argument
1058 if (dev_pw && in wps_registrar_complete()
1059 wps_registrar_invalidate_wildcard_pin(registrar, dev_pw, in wps_registrar_complete()
1062 dev_pw, dev_pw_len); in wps_registrar_complete()
1200 const u8 *uuid_e, const u8 *dev_pw, in wps_cb_reg_success() argument
[all …]
Dwps_i.h175 const struct wpabuf *pubkey, const u8 *dev_pw,
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.h70 const struct wpabuf *dev_pw, u16 dev_pw_id,
Dwps_supplicant.c2270 const struct wpabuf *dev_pw, u16 dev_pw_id, in wpas_wps_start_nfc() argument
2277 if (dev_pw_id != DEV_PW_NFC_CONNECTION_HANDOVER && dev_pw == NULL) { in wpas_wps_start_nfc()
2278 dev_pw = wpa_s->conf->wps_nfc_dev_pw; in wpas_wps_start_nfc()
2289 if (dev_pw_id != DEV_PW_NFC_CONNECTION_HANDOVER && dev_pw == NULL) { in wpas_wps_start_nfc()
2319 if (dev_pw) { in wpas_wps_start_nfc()
2321 wpabuf_head(dev_pw), in wpas_wps_start_nfc()
2322 wpabuf_len(dev_pw)); in wpas_wps_start_nfc()
2325 dev_pw ? pw : NULL, in wpas_wps_start_nfc()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c213 const u8 *dev_pw; member
222 data->dev_pw, data->dev_pw_len); in wps_stop_registrar()
228 const u8 *uuid_e, const u8 *dev_pw, in hostapd_wps_reg_success_cb() argument
243 data.dev_pw = dev_pw; in hostapd_wps_reg_success_cb()