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;
128 int wps_derive_keys(struct wps_data *wps);
129 void wps_derive_psk(struct wps_data *wps, const u8 *dev_passwd,
131 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
133 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg,
135 void wps_success_event(struct wps_context *wps);
136 void wps_pwd_auth_fail_event(struct wps_context *wps, int enrollee, int part);
137 void wps_pbc_overlap_event(struct wps_context *wps);
138 void wps_pbc_timeout_event(struct wps_context *wps);
144 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
145 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
148 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
155 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg);
156 int wps_build_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg);
157 int wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg,
163 int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg);
164 int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg);
165 int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg);
166 int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg);
167 int wps_build_conn_type_flags(struct wps_data *wps, struct wpabuf *msg);
168 int wps_build_assoc_state(struct wps_data *wps, struct wpabuf *msg);
172 int wps_build_oob_dev_password(struct wpabuf *msg, struct wps_context *wps);
176 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
178 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
186 struct wpabuf * wps_enrollee_get_msg(struct wps_data *wps,
188 enum wps_process_res wps_enrollee_process_msg(struct wps_data *wps,
193 struct wpabuf * wps_registrar_get_msg(struct wps_data *wps,
195 enum wps_process_res wps_registrar_process_msg(struct wps_data *wps,
198 int wps_build_cred(struct wps_data *wps, struct wpabuf *msg);