Home
last modified time | relevance | path

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

/freebsd-14.2/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,
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);
177 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg);
197 struct wpabuf * wps_enrollee_get_msg(struct wps_data *wps,
199 enum wps_process_res wps_enrollee_process_msg(struct wps_data *wps,
204 struct wpabuf * wps_registrar_get_msg(struct wps_data *wps,
[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()
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()
377 static struct wpabuf * wps_build_m7(struct wps_data *wps) in wps_build_m7()
423 static struct wpabuf * wps_build_wsc_done(struct wps_data *wps) in wps_build_wsc_done()
452 struct wpabuf * wps_enrollee_get_msg(struct wps_data *wps, in wps_enrollee_get_msg()
558 static int wps_process_pubkey(struct wps_data *wps, const u8 *pk, in wps_process_pubkey()
801 static int wps_process_ap_settings_e(struct wps_data *wps, in wps_process_ap_settings_e()
[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()
1877 static struct wpabuf * wps_build_m2(struct wps_data *wps) in wps_build_m2()
1950 static struct wpabuf * wps_build_m2d(struct wps_data *wps) in wps_build_m2d()
1989 static struct wpabuf * wps_build_m4(struct wps_data *wps) in wps_build_m4()
2028 static struct wpabuf * wps_build_m6(struct wps_data *wps) in wps_build_m6()
2064 static struct wpabuf * wps_build_m8(struct wps_data *wps) in wps_build_m8()
2875 static void wps_sta_cred_cb(struct wps_data *wps) in wps_sta_cred_cb()
[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-14.2/contrib/wpa/src/eap_server/
H A Deap_server_wsc.c27 struct wps_data *wps;
/freebsd-14.2/contrib/wpa/src/eap_peer/
H A Deap_wsc.c27 struct wps_data *wps;