Home | History | Annotate | Download | only in wps

Lines Matching refs:wps

18 #include "wps.h"
21 * struct wps_data - WPS registration protocol data
28 * wps - Pointer to long term WPS context
30 struct wps_context *wps;
181 int wps_derive_keys(struct wps_data *wps);
182 void wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
184 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
186 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg);
187 void wps_success_event(struct wps_context *wps);
188 void wps_pwd_auth_fail_event(struct wps_context *wps, int enrollee, int part);
189 void wps_pbc_overlap_event(struct wps_context *wps);
190 void wps_pbc_timeout_event(struct wps_context *wps);
196 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
202 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg);
203 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg);
204 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg,
208 int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg);
209 int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg);
210 int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg);
211 int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg);
212 int wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg);
213 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg);
216 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
218 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
226 struct wpabuf * wps_enrollee_get_msg(struct wps_data *wps,
228 enum wps_process_res wps_enrollee_process_msg(struct wps_data *wps,
233 struct wpabuf * wps_registrar_get_msg(struct wps_data *wps,
235 enum wps_process_res wps_registrar_process_msg(struct wps_data *wps,