Searched defs:wps (Results 1 - 25 of 102) sorted by relevance

12345

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_upnp.h19 struct wps_data *wps; member in struct:upnp_wps_peer
37 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
H A Dwps_attr_process.c16 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 Dwps.c40 data->wps = cfg->wps;
43 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN);
45 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN);
46 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN);
66 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) {
72 data->dev_pw_id = cfg->wps->ap_nfc_dev_pw_id;
74 os_malloc(wpabuf_len(cfg->wps->ap_nfc_dev_pw));
80 wpabuf_head(cfg->wps
199 wps_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) argument
219 wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) argument
[all...]
H A Dwps_attr_build.c21 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
309 wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg) argument
321 wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg) argument
331 wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg) argument
341 wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg) argument
356 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument
[all...]
H A Dwps_er.h28 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 Dwps_upnp.h19 struct wps_data *wps; member in struct:upnp_wps_peer
37 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
H A Dwps_attr_process.c16 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 Dwps.c40 data->wps = cfg->wps;
43 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN);
45 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN);
46 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN);
66 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) {
72 data->dev_pw_id = cfg->wps->ap_nfc_dev_pw_id;
74 os_malloc(wpabuf_len(cfg->wps->ap_nfc_dev_pw));
80 wpabuf_head(cfg->wps
199 wps_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) argument
219 wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) argument
[all...]
H A Dwps_attr_build.c21 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
309 wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg) argument
321 wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg) argument
331 wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg) argument
341 wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg) argument
356 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument
[all...]
H A Dwps_er.h28 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 Dwps_upnp.h19 struct wps_data *wps; member in struct:upnp_wps_peer
37 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
H A Dwps_attr_process.c16 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 Deap.h271 * wps - WPS context data
275 struct wps_context *wps; member in struct:eap_config
H A Deap_wsc.c15 #include "wps/wps.h"
16 #include "wps/wps_defs.h"
27 struct wps_data *wps; member in struct:eap_wsc_data
151 struct wps_context *wps; local
157 wps = sm->wps;
158 if (wps == NULL) {
182 data->wps_ctx = wps;
185 cfg.wps
[all...]
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius_server.h162 * wps - Wi-Fi Protected Setup context
168 struct wps_context *wps; member in struct:radius_server_conf
/external/wpa_supplicant_8/src/eap_peer/
H A Deap.h271 * wps - WPS context data
275 struct wps_context *wps; member in struct:eap_config
H A Deap_wsc.c15 #include "wps/wps.h"
16 #include "wps/wps_defs.h"
27 struct wps_data *wps; member in struct:eap_wsc_data
151 struct wps_context *wps; local
157 wps = sm->wps;
158 if (wps == NULL) {
182 data->wps_ctx = wps;
185 cfg.wps
[all...]
/external/wpa_supplicant_8/src/radius/
H A Dradius_server.h162 * wps - Wi-Fi Protected Setup context
168 struct wps_context *wps; member in struct:radius_server_conf
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap.h271 * wps - WPS context data
275 struct wps_context *wps; member in struct:eap_config
H A Deap_wsc.c15 #include "wps/wps.h"
16 #include "wps/wps_defs.h"
27 struct wps_data *wps; member in struct:eap_wsc_data
151 struct wps_context *wps; local
157 wps = sm->wps;
158 if (wps == NULL) {
182 data->wps_ctx = wps;
185 cfg.wps
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/radius/
H A Dradius_server.h162 * wps - Wi-Fi Protected Setup context
168 struct wps_context *wps; member in struct:radius_server_conf
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_wsc.c16 #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 Deapol_auth_sm.h36 struct wps_context *wps; member in struct:eapol_auth_config
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_wsc.c16 #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 Deapol_auth_sm.h36 struct wps_context *wps; member in struct:eapol_auth_config

Completed in 8054 milliseconds

12345