Home
last modified time | relevance | path

Searched refs:wps_data (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_i.h24 struct wps_data { struct
137 int wps_derive_keys(struct wps_data *wps); argument
138 int wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
140 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
153 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
154 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
157 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
164 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg);
165 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg);
166 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg,
[all …]
Dwps_enrollee.c21 static int wps_build_wps_state(struct wps_data *wps, struct wpabuf *msg) in wps_build_wps_state()
37 static int wps_build_e_hash(struct wps_data *wps, struct wpabuf *msg) in wps_build_e_hash()
85 static int wps_build_e_snonce1(struct wps_data *wps, struct wpabuf *msg) in wps_build_e_snonce1()
95 static int wps_build_e_snonce2(struct wps_data *wps, struct wpabuf *msg) in wps_build_e_snonce2()
106 static struct wpabuf * wps_build_m1(struct wps_data *wps) in wps_build_m1()
172 static struct wpabuf * wps_build_m3(struct wps_data *wps) in wps_build_m3()
210 static struct wpabuf * wps_build_m5(struct wps_data *wps) in wps_build_m5()
246 static int wps_build_cred_ssid(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred_ssid()
256 static int wps_build_cred_auth_type(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred_auth_type()
280 static int wps_build_cred_encr_type(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred_encr_type()
[all …]
Dwps_attr_build.c21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) in wps_build_public_key()
165 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg) in wps_build_authenticator()
292 int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg) in wps_build_enrollee_nonce()
302 int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg) in wps_build_registrar_nonce()
312 int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg) in wps_build_auth_type_flags()
339 int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg) in wps_build_encr_type_flags()
363 int wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg) in wps_build_conn_type_flags()
373 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg) in wps_build_assoc_state()
383 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg) in wps_build_key_wrap_auth()
399 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, in wps_build_encr_settings()
Dwps_registrar.c1150 const struct wpabuf *wps_data, in wps_registrar_probe_req_rx() argument
1158 wps_data); in wps_registrar_probe_req_rx()
1160 if (wps_parse_msg(wps_data, &attr) < 0) in wps_registrar_probe_req_rx()
1399 static int wps_get_dev_password(struct wps_data *wps) in wps_get_dev_password()
1461 static int wps_build_uuid_r(struct wps_data *wps, struct wpabuf *msg) in wps_build_uuid_r()
1471 static int wps_build_r_hash(struct wps_data *wps, struct wpabuf *msg) in wps_build_r_hash()
1519 static int wps_build_r_snonce1(struct wps_data *wps, struct wpabuf *msg) in wps_build_r_snonce1()
1529 static int wps_build_r_snonce2(struct wps_data *wps, struct wpabuf *msg) in wps_build_r_snonce2()
1635 int wps_build_cred(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred()
1859 static int wps_build_ap_settings(struct wps_data *wps, struct wpabuf *msg) in wps_build_ap_settings()
[all …]
Dwps.h202 struct wps_data * wps_init(const struct wps_config *cfg);
204 void wps_deinit(struct wps_data *data);
233 enum wps_process_res wps_process_msg(struct wps_data *wps,
237 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code);
871 const struct wpabuf *wps_data,
Dwps.c39 struct wps_data * wps_init(const struct wps_config *cfg) in wps_init()
41 struct wps_data *data = os_zalloc(sizeof(*data)); in wps_init()
160 void wps_deinit(struct wps_data *data) in wps_deinit()
207 enum wps_process_res wps_process_msg(struct wps_data *wps, in wps_process_msg()
227 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) in wps_get_msg()
Dwps_common.c62 int wps_derive_keys(struct wps_data *wps) in wps_derive_keys()
138 int wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd, in wps_derive_psk()
161 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, in wps_decrypt_encr_settings()
373 struct wps_data data; in wps_get_oob_cred()
591 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps) in wps_build_wsc_ack()
614 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps) in wps_build_wsc_nack()
Dwps_attr_process.c16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator, in wps_process_authenticator()
54 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg, in wps_process_key_wrap_auth()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwps_hostapd.h14 int hostapd_init_wps(struct hostapd_data *hapd, struct wps_data *wps_data, struct wps_context *wps);
31 int hostapd_wps_config_ap(struct hostapd_data *hapd, struct wps_data *wps_data);
36 static inline int hostapd_init_wps(struct hostapd_data *hapd, struct wps_data *wps_data, struct wps… in hostapd_init_wps() argument
Dwps_hostapd.c281 int hostapd_init_wps(struct hostapd_data *hapd, struct wps_data *wps_data, struct wps_context *wps) in hostapd_init_wps() argument
294 hostapd_wps_config_ap(hapd, wps_data); in hostapd_init_wps()
508 int hostapd_wps_config_ap(struct hostapd_data *hapd, struct wps_data *wps_data) in hostapd_wps_config_ap() argument
532 wps_data->use_cred = os_malloc(sizeof(struct wps_credential)); in hostapd_wps_config_ap()
533 if (!wps_data->use_cred) { in hostapd_wps_config_ap()
537 os_memcpy(wps_data->use_cred, &cred, sizeof(struct wps_credential)); in hostapd_wps_config_ap()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wps_i.h66 struct wps_data *wps;
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/
Deap_server_wsc.c27 struct wps_data *wps;