Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/wps/
H A Dwps_i.h23 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,
152 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
153 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
156 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
163 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg);
164 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg);
165 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg,
[all …]
H A Dwps_enrollee.c19 static int wps_build_wps_state(struct wps_data *wps, struct wpabuf *msg) in wps_build_wps_state()
35 static int wps_build_e_hash(struct wps_data *wps, struct wpabuf *msg) in wps_build_e_hash()
83 static int wps_build_e_snonce1(struct wps_data *wps, struct wpabuf *msg) in wps_build_e_snonce1()
93 static int wps_build_e_snonce2(struct wps_data *wps, struct wpabuf *msg) in wps_build_e_snonce2()
104 static struct wpabuf * wps_build_m1(struct wps_data *wps) in wps_build_m1()
170 static struct wpabuf * wps_build_m3(struct wps_data *wps) in wps_build_m3()
208 static struct wpabuf * wps_build_m5(struct wps_data *wps) in wps_build_m5()
243 static int wps_build_cred_ssid(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred_ssid()
253 static int wps_build_cred_auth_type(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred_auth_type()
277 static int wps_build_cred_encr_type(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred_encr_type()
[all …]
H A Dwps_attr_build.c21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) in wps_build_public_key()
159 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg) in wps_build_authenticator()
286 int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg) in wps_build_enrollee_nonce()
296 int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg) in wps_build_registrar_nonce()
306 int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg) in wps_build_auth_type_flags()
333 int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg) in wps_build_encr_type_flags()
357 int wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg) in wps_build_conn_type_flags()
367 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg) in wps_build_assoc_state()
377 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg) in wps_build_key_wrap_auth()
393 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, in wps_build_encr_settings()
H A Dwps_registrar.c1147 const struct wpabuf *wps_data, in wps_registrar_probe_req_rx() argument
1155 wps_data); in wps_registrar_probe_req_rx()
1157 if (wps_parse_msg(wps_data, &attr) < 0) in wps_registrar_probe_req_rx()
1382 static int wps_get_dev_password(struct wps_data *wps) in wps_get_dev_password()
1444 static int wps_build_uuid_r(struct wps_data *wps, struct wpabuf *msg) in wps_build_uuid_r()
1454 static int wps_build_r_hash(struct wps_data *wps, struct wpabuf *msg) in wps_build_r_hash()
1502 static int wps_build_r_snonce1(struct wps_data *wps, struct wpabuf *msg) in wps_build_r_snonce1()
1512 static int wps_build_r_snonce2(struct wps_data *wps, struct wpabuf *msg) in wps_build_r_snonce2()
1618 int wps_build_cred(struct wps_data *wps, struct wpabuf *msg) in wps_build_cred()
1837 static int wps_build_ap_settings(struct wps_data *wps, struct wpabuf *msg) in wps_build_ap_settings()
[all …]
H A Dwps_upnp.h18 struct wps_data;
22 struct wps_data *wps;
H A Dwps_er.h28 struct wps_data *wps;
40 struct wps_data *wps;
H A 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()
159 void wps_deinit(struct wps_data *data) in wps_deinit()
202 enum wps_process_res wps_process_msg(struct wps_data *wps, in wps_process_msg()
222 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) in wps_get_msg()
H A Dwps.h205 struct wps_data * wps_init(const struct wps_config *cfg);
207 void wps_deinit(struct wps_data *data);
234 enum wps_process_res wps_process_msg(struct wps_data *wps,
238 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code);
870 const struct wpabuf *wps_data,
H A Dwps_common.c62 int wps_derive_keys(struct wps_data *wps) in wps_derive_keys()
132 int wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd, in wps_derive_psk()
155 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, in wps_decrypt_encr_settings()
359 struct wps_data data; in wps_get_oob_cred()
575 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps) in wps_build_wsc_ack()
598 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps) in wps_build_wsc_nack()
H A 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()
H A Dwps_er.c2041 struct wps_data data; in wps_er_config_token_from_cred()
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_wsc.c27 struct wps_data *wps;
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_wsc.c27 struct wps_data *wps;