Lines Matching refs:eap_sm
36 #define STATE_MACHINE_DATA struct eap_sm
42 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor,
44 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id);
45 static void eap_sm_processIdentity(struct eap_sm *sm,
47 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req);
49 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req);
57 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) in eapol_get_bool()
63 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, in eapol_set_bool()
70 static unsigned int eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) in eapol_get_int()
76 static void eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, in eapol_set_int()
83 static struct wpabuf * eapol_get_eapReqData(struct eap_sm *sm) in eapol_get_eapReqData()
89 static void eap_deinit_prev_method(struct eap_sm *sm, const char *txt) in eap_deinit_prev_method()
109 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) in eap_allowed_method()
521 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) in eap_success_workaround()
551 static void eap_peer_sm_step_idle(struct eap_sm *sm) in eap_peer_sm_step_idle()
583 static int eap_peer_req_is_duplicate(struct eap_sm *sm) in eap_peer_req_is_duplicate()
609 static void eap_peer_sm_step_received(struct eap_sm *sm) in eap_peer_sm_step_received()
658 static void eap_peer_sm_step_local(struct eap_sm *sm) in eap_peer_sm_step_local()
741 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, in eap_sm_allowMethod()
758 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
804 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id) in eap_sm_buildNak()
853 static void eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processIdentity()
877 static int eap_sm_imsi_identity(struct eap_sm *sm, in eap_sm_imsi_identity()
920 static int eap_sm_set_scard_pin(struct eap_sm *sm, in eap_sm_set_scard_pin()
942 static int eap_sm_get_scard_identity(struct eap_sm *sm, in eap_sm_get_scard_identity()
967 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) in eap_sm_buildIdentity()
1027 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processNotify()
1066 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_parseEapReq()
1166 struct eap_sm *sm = ctx; in eap_peer_sm_tls_event()
1231 struct eap_sm * eap_peer_sm_init(void *eapol_ctx, in eap_peer_sm_init()
1235 struct eap_sm *sm; in eap_peer_sm_init()
1275 void eap_peer_sm_deinit(struct eap_sm *sm) in eap_peer_sm_deinit()
1295 int eap_peer_sm_step(struct eap_sm *sm) in eap_peer_sm_step()
1315 void eap_sm_abort(struct eap_sm *sm) in eap_sm_abort()
1419 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) in eap_sm_get_status()
1485 static void eap_sm_request(struct eap_sm *sm, eap_ctrl_req_type type, in eap_sm_request()
1564 void eap_sm_request_identity(struct eap_sm *sm) in eap_sm_request_identity()
1579 void eap_sm_request_password(struct eap_sm *sm) in eap_sm_request_password()
1594 void eap_sm_request_new_password(struct eap_sm *sm) in eap_sm_request_new_password()
1609 void eap_sm_request_pin(struct eap_sm *sm) in eap_sm_request_pin()
1625 void eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) in eap_sm_request_otp()
1640 void eap_sm_request_passphrase(struct eap_sm *sm) in eap_sm_request_passphrase()
1653 void eap_sm_notify_ctrl_attached(struct eap_sm *sm) in eap_sm_notify_ctrl_attached()
1760 void eap_set_fast_reauth(struct eap_sm *sm, int enabled) in eap_set_fast_reauth()
1771 void eap_set_workaround(struct eap_sm *sm, unsigned int workaround) in eap_set_workaround()
1787 struct eap_peer_config * eap_get_config(struct eap_sm *sm) in eap_get_config()
1799 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len) in eap_get_config_identity()
1815 const u8 * eap_get_config_password(struct eap_sm *sm, size_t *len) in eap_get_config_password()
1834 const u8 * eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) in eap_get_config_password2()
1852 const u8 * eap_get_config_new_password(struct eap_sm *sm, size_t *len) in eap_get_config_new_password()
1868 const u8 * eap_get_config_otp(struct eap_sm *sm, size_t *len) in eap_get_config_otp()
1886 void eap_clear_config_otp(struct eap_sm *sm) in eap_clear_config_otp()
1903 const char * eap_get_config_phase1(struct eap_sm *sm) in eap_get_config_phase1()
1917 const char * eap_get_config_phase2(struct eap_sm *sm) in eap_get_config_phase2()
1931 int eap_key_available(struct eap_sm *sm) in eap_key_available()
1946 void eap_notify_success(struct eap_sm *sm) in eap_notify_success()
1962 void eap_notify_lower_layer_success(struct eap_sm *sm) in eap_notify_lower_layer_success()
1993 const u8 * eap_get_eapKeyData(struct eap_sm *sm, size_t *len) in eap_get_eapKeyData()
2015 struct wpabuf * eap_get_eapRespData(struct eap_sm *sm) in eap_get_eapRespData()
2037 void eap_register_scard_ctx(struct eap_sm *sm, void *ctx) in eap_register_scard_ctx()
2052 void eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) in eap_set_config_blob()
2066 const struct wpa_config_blob * eap_get_config_blob(struct eap_sm *sm, in eap_get_config_blob()
2085 void eap_set_force_disabled(struct eap_sm *sm, int disabled) in eap_set_force_disabled()
2100 void eap_notify_pending(struct eap_sm *sm) in eap_notify_pending()
2110 void eap_invalidate_cached_session(struct eap_sm *sm) in eap_invalidate_cached_session()