/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_upnp.h | 22 struct wps_data *wps; member in struct:upnp_wps_peer 40 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
|
H A D | wps_attr_process.c | 16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator, argument 29 if (wps->last_msg == NULL) { 38 addr[0] = wpabuf_head(wps->last_msg); 39 len[0] = wpabuf_len(wps->last_msg); 42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); 53 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg, argument 73 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash);
|
H A D | wps.c | 44 data->wps = cfg->wps; 47 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN); 49 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN); 50 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN); 70 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) { 76 data->dev_pw_id = cfg->wps->ap_nfc_dev_pw_id; 78 os_malloc(wpabuf_len(cfg->wps->ap_nfc_dev_pw)); 84 wpabuf_head(cfg->wps 203 wps_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) argument 223 wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) argument [all...] |
H A D | wps_attr_build.c | 21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) argument 26 wpabuf_free(wps->dh_privkey); 27 wps->dh_privkey = NULL; 28 if (wps->dev_pw_id != DEV_PW_DEFAULT && wps->wps->dh_privkey && 29 wps->wps->dh_ctx) { 31 if (wps->wps 158 wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg) argument 274 wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg) argument 284 wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg) argument 294 wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg) argument 318 wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg) argument 339 wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg) argument 349 wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg) argument 359 wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg) argument 374 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument [all...] |
H A D | wps_er.h | 28 struct wps_data *wps; member in struct:wps_er_sta 40 struct wps_data *wps; member in struct:wps_er_ap 77 struct wps_context *wps; member in struct:wps_er
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_upnp.h | 22 struct wps_data *wps; member in struct:upnp_wps_peer 40 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
|
H A D | wps_attr_process.c | 16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator, argument 29 if (wps->last_msg == NULL) { 38 addr[0] = wpabuf_head(wps->last_msg); 39 len[0] = wpabuf_len(wps->last_msg); 42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); 53 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg, argument 73 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash);
|
H A D | wps.c | 44 data->wps = cfg->wps; 47 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN); 49 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN); 50 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN); 70 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) { 76 data->dev_pw_id = cfg->wps->ap_nfc_dev_pw_id; 78 os_malloc(wpabuf_len(cfg->wps->ap_nfc_dev_pw)); 84 wpabuf_head(cfg->wps 203 wps_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) argument 223 wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) argument [all...] |
H A D | wps_attr_build.c | 21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) argument 26 wpabuf_free(wps->dh_privkey); 27 wps->dh_privkey = NULL; 28 if (wps->dev_pw_id != DEV_PW_DEFAULT && wps->wps->dh_privkey && 29 wps->wps->dh_ctx) { 31 if (wps->wps 158 wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg) argument 274 wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg) argument 284 wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg) argument 294 wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg) argument 318 wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg) argument 339 wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg) argument 349 wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg) argument 359 wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg) argument 374 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument [all...] |
H A D | wps_er.h | 28 struct wps_data *wps; member in struct:wps_er_sta 40 struct wps_data *wps; member in struct:wps_er_ap 77 struct wps_context *wps; member in struct:wps_er
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_upnp.h | 22 struct wps_data *wps; member in struct:upnp_wps_peer 40 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
|
H A D | wps_attr_process.c | 16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator, argument 29 if (wps->last_msg == NULL) { 38 addr[0] = wpabuf_head(wps->last_msg); 39 len[0] = wpabuf_len(wps->last_msg); 42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); 53 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg, argument 73 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash);
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap.h | 297 * wps - WPS context data 301 struct wps_context *wps; member in struct:eap_config
|
H A D | eap_wsc.c | 15 #include "wps/wps.h" 16 #include "wps/wps_defs.h" 27 struct wps_data *wps; member in struct:eap_wsc_data 147 struct wps_context *wps; local 153 wps = sm->wps; 154 if (wps == NULL) { 178 data->wps_ctx = wps; 181 cfg.wps [all...] |
/external/wpa_supplicant_8/hostapd/src/radius/ |
H A D | radius_server.h | 176 * wps - Wi-Fi Protected Setup context 182 struct wps_context *wps; member in struct:radius_server_conf
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap.h | 297 * wps - WPS context data 301 struct wps_context *wps; member in struct:eap_config
|
H A D | eap_wsc.c | 15 #include "wps/wps.h" 16 #include "wps/wps_defs.h" 27 struct wps_data *wps; member in struct:eap_wsc_data 147 struct wps_context *wps; local 153 wps = sm->wps; 154 if (wps == NULL) { 178 data->wps_ctx = wps; 181 cfg.wps [all...] |
/external/wpa_supplicant_8/src/radius/ |
H A D | radius_server.h | 176 * wps - Wi-Fi Protected Setup context 182 struct wps_context *wps; member in struct:radius_server_conf
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap.h | 297 * wps - WPS context data 301 struct wps_context *wps; member in struct:eap_config
|
H A D | eap_wsc.c | 15 #include "wps/wps.h" 16 #include "wps/wps_defs.h" 27 struct wps_data *wps; member in struct:eap_wsc_data 147 struct wps_context *wps; local 153 wps = sm->wps; 154 if (wps == NULL) { 178 data->wps_ctx = wps; 181 cfg.wps [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/radius/ |
H A D | radius_server.h | 176 * wps - Wi-Fi Protected Setup context 182 struct wps_context *wps; member in struct:radius_server_conf
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_wsc.c | 16 #include "wps/wps.h" 27 struct wps_data *wps; member in struct:eap_wsc_data 106 cfg.wps = sm->wps; 109 if (sm->wps == NULL || sm->wps->registrar == NULL) { 142 data->wps = wps_init(&cfg); 143 if (data->wps == NULL) { 160 wps_deinit(data->wps); [all...] |
/external/wpa_supplicant_8/hostapd/src/eapol_auth/ |
H A D | eapol_auth_sm.h | 40 struct wps_context *wps; member in struct:eapol_auth_config
|
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_wsc.c | 16 #include "wps/wps.h" 27 struct wps_data *wps; member in struct:eap_wsc_data 106 cfg.wps = sm->wps; 109 if (sm->wps == NULL || sm->wps->registrar == NULL) { 142 data->wps = wps_init(&cfg); 143 if (data->wps == NULL) { 160 wps_deinit(data->wps); [all...] |
/external/wpa_supplicant_8/src/eapol_auth/ |
H A D | eapol_auth_sm.h | 40 struct wps_context *wps; member in struct:eapol_auth_config
|