Home | History | Annotate | Download | only in wps

Lines Matching refs:wps

12 #include "wps.h"
18 * struct wps_data - WPS registration protocol data
25 * wps - Pointer to long term WPS context
27 struct wps_context *wps;
134 int wps_derive_keys(struct wps_data *wps);
135 void wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
137 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
139 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg,
141 void wps_success_event(struct wps_context *wps, const u8 *mac_addr);
142 void wps_pwd_auth_fail_event(struct wps_context *wps, int enrollee, int part,
144 void wps_pbc_overlap_event(struct wps_context *wps);
145 void wps_pbc_timeout_event(struct wps_context *wps);
146 void wps_pbc_active_event(struct wps_context *wps);
147 void wps_pbc_disable_event(struct wps_context *wps);
149 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
150 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
153 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
160 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg);
161 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg);
162 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg,
168 int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg);
169 int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg);
170 int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg);
171 int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg);
172 int wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg);
173 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg);
183 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
185 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
193 struct wpabuf * wps_enrollee_get_msg(struct wps_data *wps,
195 enum wps_process_res wps_enrollee_process_msg(struct wps_data *wps,
200 struct wpabuf * wps_registrar_get_msg(struct wps_data *wps,
202 enum wps_process_res wps_registrar_process_msg(struct wps_data *wps,
205 int wps_build_cred(struct wps_data *wps, struct wpabuf *msg);