Home | History | Annotate | Download | only in wps

Lines Matching defs: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;
131 int wps_derive_keys(struct wps_data *wps);
132 void wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
134 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
136 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg,
138 void wps_success_event(struct wps_context *wps, const u8 *mac_addr);
139 void wps_pwd_auth_fail_event(struct wps_context *wps, int enrollee, int part,
141 void wps_pbc_overlap_event(struct wps_context *wps);
142 void wps_pbc_timeout_event(struct wps_context *wps);
143 void wps_pbc_active_event(struct wps_context *wps);
144 void wps_pbc_disable_event(struct wps_context *wps);
146 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
147 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
150 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
157 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg);
158 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg);
159 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg,
165 int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg);
166 int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg);
167 int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg);
168 int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg);
169 int wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg);
170 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg);
178 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
180 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
188 struct wpabuf * wps_enrollee_get_msg(struct wps_data *wps,
190 enum wps_process_res wps_enrollee_process_msg(struct wps_data *wps,
195 struct wpabuf * wps_registrar_get_msg(struct wps_data *wps,
197 enum wps_process_res wps_registrar_process_msg(struct wps_data *wps,
200 int wps_build_cred(struct wps_data *wps, struct wpabuf *msg);