Lines Matching defs:sm
57 static bool 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_notify_status(struct eap_sm *sm, const char *status, in eap_notify_status()
99 static void eap_report_error(struct eap_sm *sm, int error_code) in eap_report_error()
107 static void eap_sm_free_key(struct eap_sm *sm) in eap_sm_free_key()
116 static void eap_deinit_prev_method(struct eap_sm *sm, const char *txt) in eap_deinit_prev_method()
140 static int eap_config_allowed_method(struct eap_sm *sm, in eap_config_allowed_method()
167 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) in eap_allowed_method()
175 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm()
444 static char * eap_get_realm(struct eap_sm *sm, struct eap_peer_config *config) in eap_get_realm()
527 static char * eap_home_realm(struct eap_sm *sm) in eap_home_realm()
534 eap_erp_get_key(struct eap_sm *sm, const char *realm) in eap_erp_get_key()
554 eap_erp_get_key_nai(struct eap_sm *sm, const char *nai) in eap_erp_get_key_nai()
574 static void eap_erp_remove_keys_realm(struct eap_sm *sm, const char *realm) in eap_erp_remove_keys_realm()
586 int eap_peer_update_erp_next_seq_num(struct eap_sm *sm, u16 next_seq_num) in eap_peer_update_erp_next_seq_num()
620 int eap_peer_get_erp_info(struct eap_sm *sm, struct eap_peer_config *config, in eap_peer_get_erp_info()
671 void eap_peer_erp_free_keys(struct eap_sm *sm) in eap_peer_erp_free_keys()
685 void eap_peer_erp_init(struct eap_sm *sm, u8 *ext_session_id, in eap_peer_erp_init()
802 struct wpabuf * eap_peer_build_erp_reauth_start(struct eap_sm *sm, u8 eap_id) in eap_peer_build_erp_reauth_start()
859 static int eap_peer_erp_reauth_start(struct eap_sm *sm, u8 eap_id) in eap_peer_erp_reauth_start()
1124 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) in eap_success_workaround()
1154 static void eap_peer_sm_step_idle(struct eap_sm *sm) in eap_peer_sm_step_idle()
1186 static int eap_peer_req_is_duplicate(struct eap_sm *sm) in eap_peer_req_is_duplicate()
1212 static int eap_peer_sm_allow_canned(struct eap_sm *sm) in eap_peer_sm_allow_canned()
1221 static void eap_peer_sm_step_received(struct eap_sm *sm) in eap_peer_sm_step_received()
1283 static void eap_peer_sm_step_local(struct eap_sm *sm) in eap_peer_sm_step_local()
1385 static bool eap_sm_allowMethod(struct eap_sm *sm, int vendor, in eap_sm_allowMethod()
1402 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
1448 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id) in eap_sm_buildNak()
1497 static void eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processIdentity()
1549 static int eap_sm_imsi_identity(struct eap_sm *sm, in eap_sm_imsi_identity()
1629 static int eap_sm_set_scard_pin(struct eap_sm *sm, in eap_sm_set_scard_pin()
1648 static int eap_sm_get_scard_identity(struct eap_sm *sm, in eap_sm_get_scard_identity()
1671 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) in eap_sm_buildIdentity()
1771 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processNotify()
1804 static void eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_initiate()
1855 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) in eap_peer_finish()
2016 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_parseEapReq()
2133 struct eap_sm *sm = ctx; in eap_peer_sm_tls_event() local
2210 struct eap_sm *sm; in eap_peer_sm_init() local
2266 void eap_peer_sm_deinit(struct eap_sm *sm) in eap_peer_sm_deinit()
2290 int eap_peer_sm_step(struct eap_sm *sm) in eap_peer_sm_step()
2310 void eap_sm_abort(struct eap_sm *sm) in eap_sm_abort()
2415 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) in eap_sm_get_status()
2475 static void eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field, in eap_sm_request()
2540 const char * eap_sm_get_method_name(struct eap_sm *sm) in eap_sm_get_method_name()
2557 void eap_sm_request_identity(struct eap_sm *sm) in eap_sm_request_identity()
2572 void eap_sm_request_password(struct eap_sm *sm) in eap_sm_request_password()
2587 void eap_sm_request_new_password(struct eap_sm *sm) in eap_sm_request_new_password()
2602 void eap_sm_request_pin(struct eap_sm *sm) in eap_sm_request_pin()
2618 void eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) in eap_sm_request_otp()
2633 void eap_sm_request_passphrase(struct eap_sm *sm) in eap_sm_request_passphrase()
2644 void eap_sm_request_sim(struct eap_sm *sm, const char *req) in eap_sm_request_sim()
2657 void eap_sm_notify_ctrl_attached(struct eap_sm *sm) in eap_sm_notify_ctrl_attached()
2766 void eap_set_fast_reauth(struct eap_sm *sm, int enabled) in eap_set_fast_reauth()
2777 void eap_set_workaround(struct eap_sm *sm, unsigned int workaround) in eap_set_workaround()
2793 struct eap_peer_config * eap_get_config(struct eap_sm *sm) in eap_get_config()
2805 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len) in eap_get_config_identity()
2822 static int eap_get_ext_password(struct eap_sm *sm, in eap_get_ext_password()
2859 const u8 * eap_get_config_password(struct eap_sm *sm, size_t *len) in eap_get_config_password()
2895 const u8 * eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) in eap_get_config_password2()
2935 const u8 * eap_get_config_new_password(struct eap_sm *sm, size_t *len) in eap_get_config_new_password()
2951 const u8 * eap_get_config_otp(struct eap_sm *sm, size_t *len) in eap_get_config_otp()
2969 void eap_clear_config_otp(struct eap_sm *sm) in eap_clear_config_otp()
2986 const char * eap_get_config_phase1(struct eap_sm *sm) in eap_get_config_phase1()
3000 const char * eap_get_config_phase2(struct eap_sm *sm) in eap_get_config_phase2()
3009 int eap_get_config_fragment_size(struct eap_sm *sm) in eap_get_config_fragment_size()
3023 int eap_key_available(struct eap_sm *sm) in eap_key_available()
3038 void eap_notify_success(struct eap_sm *sm) in eap_notify_success()
3054 void eap_notify_lower_layer_success(struct eap_sm *sm) in eap_notify_lower_layer_success()
3084 const u8 * eap_get_eapSessionId(struct eap_sm *sm, size_t *len) in eap_get_eapSessionId()
3107 const u8 * eap_get_eapKeyData(struct eap_sm *sm, size_t *len) in eap_get_eapKeyData()
3129 struct wpabuf * eap_get_eapRespData(struct eap_sm *sm) in eap_get_eapRespData()
3151 void eap_register_scard_ctx(struct eap_sm *sm, void *ctx) in eap_register_scard_ctx()
3166 void eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) in eap_set_config_blob()
3180 const struct wpa_config_blob * eap_get_config_blob(struct eap_sm *sm, in eap_get_config_blob()
3199 void eap_set_force_disabled(struct eap_sm *sm, int disabled) in eap_set_force_disabled()
3210 void eap_set_external_sim(struct eap_sm *sm, int external_sim) in eap_set_external_sim()
3225 void eap_notify_pending(struct eap_sm *sm) in eap_notify_pending()
3235 void eap_invalidate_cached_session(struct eap_sm *sm) in eap_invalidate_cached_session()
3268 void eap_sm_set_ext_pw_ctx(struct eap_sm *sm, struct ext_password_data *ext) in eap_sm_set_ext_pw_ctx()
3282 void eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) in eap_set_anon_id()
3289 int eap_peer_was_failure_expected(struct eap_sm *sm) in eap_peer_was_failure_expected()