Lines Matching defs:sm

56 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var)  in eapol_get_bool()
62 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, in eapol_set_bool()
69 static unsigned int eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) in eapol_get_int()
75 static void eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, in eapol_set_int()
82 static struct wpabuf * eapol_get_eapReqData(struct eap_sm *sm) in eapol_get_eapReqData()
88 static void eap_notify_status(struct eap_sm *sm, const char *status, in eap_notify_status()
98 static void eap_report_error(struct eap_sm *sm, int error_code) in eap_report_error()
106 static void eap_sm_free_key(struct eap_sm *sm) in eap_sm_free_key()
115 static void eap_deinit_prev_method(struct eap_sm *sm, const char *txt) in eap_deinit_prev_method()
139 static int eap_config_allowed_method(struct eap_sm *sm, in eap_config_allowed_method()
166 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) in eap_allowed_method()
174 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm()
435 static char * eap_get_realm(struct eap_sm *sm, struct eap_peer_config *config) in eap_get_realm()
518 static char * eap_home_realm(struct eap_sm *sm) in eap_home_realm()
525 eap_erp_get_key(struct eap_sm *sm, const char *realm) in eap_erp_get_key()
545 eap_erp_get_key_nai(struct eap_sm *sm, const char *nai) in eap_erp_get_key_nai()
565 static void eap_erp_remove_keys_realm(struct eap_sm *sm, const char *realm) in eap_erp_remove_keys_realm()
577 int eap_peer_update_erp_next_seq_num(struct eap_sm *sm, u16 next_seq_num) in eap_peer_update_erp_next_seq_num()
611 int eap_peer_get_erp_info(struct eap_sm *sm, struct eap_peer_config *config, in eap_peer_get_erp_info()
662 void eap_peer_erp_free_keys(struct eap_sm *sm) in eap_peer_erp_free_keys()
676 void eap_peer_erp_init(struct eap_sm *sm, u8 *ext_session_id, in eap_peer_erp_init()
793 struct wpabuf * eap_peer_build_erp_reauth_start(struct eap_sm *sm, u8 eap_id) in eap_peer_build_erp_reauth_start()
849 static int eap_peer_erp_reauth_start(struct eap_sm *sm, u8 eap_id) in eap_peer_erp_reauth_start()
1098 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) in eap_success_workaround()
1128 static void eap_peer_sm_step_idle(struct eap_sm *sm) in eap_peer_sm_step_idle()
1160 static int eap_peer_req_is_duplicate(struct eap_sm *sm) in eap_peer_req_is_duplicate()
1186 static int eap_peer_sm_allow_canned(struct eap_sm *sm) in eap_peer_sm_allow_canned()
1195 static void eap_peer_sm_step_received(struct eap_sm *sm) in eap_peer_sm_step_received()
1257 static void eap_peer_sm_step_local(struct eap_sm *sm) in eap_peer_sm_step_local()
1351 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, in eap_sm_allowMethod()
1368 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
1414 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id) in eap_sm_buildNak()
1463 static void eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processIdentity()
1515 static int eap_sm_imsi_identity(struct eap_sm *sm, in eap_sm_imsi_identity()
1595 static int eap_sm_set_scard_pin(struct eap_sm *sm, in eap_sm_set_scard_pin()
1614 static int eap_sm_get_scard_identity(struct eap_sm *sm, in eap_sm_get_scard_identity()
1637 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) in eap_sm_buildIdentity()
1701 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processNotify()
1734 static void eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_initiate()
1785 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) in eap_peer_finish()
1946 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_parseEapReq()
2063 struct eap_sm *sm = ctx; in eap_peer_sm_tls_event() local
2135 struct eap_sm *sm; in eap_peer_sm_init() local
2185 void eap_peer_sm_deinit(struct eap_sm *sm) in eap_peer_sm_deinit()
2208 int eap_peer_sm_step(struct eap_sm *sm) in eap_peer_sm_step()
2228 void eap_sm_abort(struct eap_sm *sm) in eap_sm_abort()
2333 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) in eap_sm_get_status()
2393 static void eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field, in eap_sm_request()
2458 const char * eap_sm_get_method_name(struct eap_sm *sm) in eap_sm_get_method_name()
2475 void eap_sm_request_identity(struct eap_sm *sm) in eap_sm_request_identity()
2490 void eap_sm_request_password(struct eap_sm *sm) in eap_sm_request_password()
2505 void eap_sm_request_new_password(struct eap_sm *sm) in eap_sm_request_new_password()
2520 void eap_sm_request_pin(struct eap_sm *sm) in eap_sm_request_pin()
2536 void eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) in eap_sm_request_otp()
2551 void eap_sm_request_passphrase(struct eap_sm *sm) in eap_sm_request_passphrase()
2562 void eap_sm_request_sim(struct eap_sm *sm, const char *req) in eap_sm_request_sim()
2575 void eap_sm_notify_ctrl_attached(struct eap_sm *sm) in eap_sm_notify_ctrl_attached()
2682 void eap_set_fast_reauth(struct eap_sm *sm, int enabled) in eap_set_fast_reauth()
2693 void eap_set_workaround(struct eap_sm *sm, unsigned int workaround) in eap_set_workaround()
2709 struct eap_peer_config * eap_get_config(struct eap_sm *sm) in eap_get_config()
2721 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len) in eap_get_config_identity()
2731 static int eap_get_ext_password(struct eap_sm *sm, in eap_get_ext_password()
2758 const u8 * eap_get_config_password(struct eap_sm *sm, size_t *len) in eap_get_config_password()
2785 const u8 * eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) in eap_get_config_password2()
2813 const u8 * eap_get_config_new_password(struct eap_sm *sm, size_t *len) in eap_get_config_new_password()
2829 const u8 * eap_get_config_otp(struct eap_sm *sm, size_t *len) in eap_get_config_otp()
2847 void eap_clear_config_otp(struct eap_sm *sm) in eap_clear_config_otp()
2864 const char * eap_get_config_phase1(struct eap_sm *sm) in eap_get_config_phase1()
2878 const char * eap_get_config_phase2(struct eap_sm *sm) in eap_get_config_phase2()
2887 int eap_get_config_fragment_size(struct eap_sm *sm) in eap_get_config_fragment_size()
2901 int eap_key_available(struct eap_sm *sm) in eap_key_available()
2916 void eap_notify_success(struct eap_sm *sm) in eap_notify_success()
2932 void eap_notify_lower_layer_success(struct eap_sm *sm) in eap_notify_lower_layer_success()
2962 const u8 * eap_get_eapSessionId(struct eap_sm *sm, size_t *len) in eap_get_eapSessionId()
2985 const u8 * eap_get_eapKeyData(struct eap_sm *sm, size_t *len) in eap_get_eapKeyData()
3007 struct wpabuf * eap_get_eapRespData(struct eap_sm *sm) in eap_get_eapRespData()
3029 void eap_register_scard_ctx(struct eap_sm *sm, void *ctx) in eap_register_scard_ctx()
3044 void eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) in eap_set_config_blob()
3058 const struct wpa_config_blob * eap_get_config_blob(struct eap_sm *sm, in eap_get_config_blob()
3077 void eap_set_force_disabled(struct eap_sm *sm, int disabled) in eap_set_force_disabled()
3088 void eap_set_external_sim(struct eap_sm *sm, int external_sim) in eap_set_external_sim()
3103 void eap_notify_pending(struct eap_sm *sm) in eap_notify_pending()
3113 void eap_invalidate_cached_session(struct eap_sm *sm) in eap_invalidate_cached_session()
3146 void eap_sm_set_ext_pw_ctx(struct eap_sm *sm, struct ext_password_data *ext) in eap_sm_set_ext_pw_ctx()
3160 void eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) in eap_set_anon_id()
3167 int eap_peer_was_failure_expected(struct eap_sm *sm) in eap_peer_was_failure_expected()