Lines Matching refs:wps

12 #include "wps.h"
25 * wps - Pointer to long term WPS context
27 struct wps_context *wps;
136 int wps_derive_keys(struct wps_data *wps);
137 int wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
139 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
141 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg,
143 void wps_success_event(struct wps_context *wps, const u8 *mac_addr);
144 void wps_pwd_auth_fail_event(struct wps_context *wps, int enrollee, int part,
146 void wps_pbc_overlap_event(struct wps_context *wps);
147 void wps_pbc_timeout_event(struct wps_context *wps);
148 void wps_pbc_active_event(struct wps_context *wps);
149 void wps_pbc_disable_event(struct wps_context *wps);
151 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
152 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
155 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
162 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg);
163 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg);
164 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg,
171 int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg);
172 int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg);
173 int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg);
174 int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg);
175 int wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg);
176 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg);
186 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
188 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
196 struct wpabuf * wps_enrollee_get_msg(struct wps_data *wps,
198 enum wps_process_res wps_enrollee_process_msg(struct wps_data *wps,
203 struct wpabuf * wps_registrar_get_msg(struct wps_data *wps,
205 enum wps_process_res wps_registrar_process_msg(struct wps_data *wps,
208 int wps_build_cred(struct wps_data *wps, struct wpabuf *msg);