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_sm_free_key(struct eap_sm *sm) in eap_sm_free_key()
107 static void eap_deinit_prev_method(struct eap_sm *sm, const char *txt) in eap_deinit_prev_method()
130 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) in eap_allowed_method()
374 static char * eap_home_realm(struct eap_sm *sm) in eap_home_realm()
421 eap_erp_get_key(struct eap_sm *sm, const char *realm) in eap_erp_get_key()
441 eap_erp_get_key_nai(struct eap_sm *sm, const char *nai) in eap_erp_get_key_nai()
461 static void eap_erp_remove_keys_realm(struct eap_sm *sm, const char *realm) in eap_erp_remove_keys_realm()
475 void eap_peer_erp_free_keys(struct eap_sm *sm) in eap_peer_erp_free_keys()
486 static void eap_peer_erp_init(struct eap_sm *sm) in eap_peer_erp_init()
574 static int eap_peer_erp_reauth_start(struct eap_sm *sm, in eap_peer_erp_reauth_start()
862 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) in eap_success_workaround()
892 static void eap_peer_sm_step_idle(struct eap_sm *sm) in eap_peer_sm_step_idle()
924 static int eap_peer_req_is_duplicate(struct eap_sm *sm) in eap_peer_req_is_duplicate()
950 static int eap_peer_sm_allow_canned(struct eap_sm *sm) in eap_peer_sm_allow_canned()
959 static void eap_peer_sm_step_received(struct eap_sm *sm) in eap_peer_sm_step_received()
1021 static void eap_peer_sm_step_local(struct eap_sm *sm) in eap_peer_sm_step_local()
1115 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, in eap_sm_allowMethod()
1132 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
1178 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id) in eap_sm_buildNak()
1227 static void eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processIdentity()
1279 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm()
1321 static int eap_sm_imsi_identity(struct eap_sm *sm, in eap_sm_imsi_identity()
1390 static int eap_sm_set_scard_pin(struct eap_sm *sm, in eap_sm_set_scard_pin()
1409 static int eap_sm_get_scard_identity(struct eap_sm *sm, in eap_sm_get_scard_identity()
1432 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) in eap_sm_buildIdentity()
1496 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_processNotify()
1529 static void eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_initiate()
1580 static void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_finish()
1742 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) in eap_sm_parseEapReq()
1850 struct eap_sm *sm = ctx; in eap_peer_sm_tls_event() local
1926 struct eap_sm *sm; in eap_peer_sm_init() local
1976 void eap_peer_sm_deinit(struct eap_sm *sm) in eap_peer_sm_deinit()
1999 int eap_peer_sm_step(struct eap_sm *sm) in eap_peer_sm_step()
2019 void eap_sm_abort(struct eap_sm *sm) in eap_sm_abort()
2124 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) in eap_sm_get_status()
2184 static void eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field, in eap_sm_request()
2248 const char * eap_sm_get_method_name(struct eap_sm *sm) in eap_sm_get_method_name()
2265 void eap_sm_request_identity(struct eap_sm *sm) in eap_sm_request_identity()
2280 void eap_sm_request_password(struct eap_sm *sm) in eap_sm_request_password()
2295 void eap_sm_request_new_password(struct eap_sm *sm) in eap_sm_request_new_password()
2310 void eap_sm_request_pin(struct eap_sm *sm) in eap_sm_request_pin()
2326 void eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) in eap_sm_request_otp()
2341 void eap_sm_request_passphrase(struct eap_sm *sm) in eap_sm_request_passphrase()
2352 void eap_sm_request_sim(struct eap_sm *sm, const char *req) in eap_sm_request_sim()
2365 void eap_sm_notify_ctrl_attached(struct eap_sm *sm) in eap_sm_notify_ctrl_attached()
2472 void eap_set_fast_reauth(struct eap_sm *sm, int enabled) in eap_set_fast_reauth()
2483 void eap_set_workaround(struct eap_sm *sm, unsigned int workaround) in eap_set_workaround()
2499 struct eap_peer_config * eap_get_config(struct eap_sm *sm) in eap_get_config()
2511 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len) in eap_get_config_identity()
2521 static int eap_get_ext_password(struct eap_sm *sm, in eap_get_ext_password()
2548 const u8 * eap_get_config_password(struct eap_sm *sm, size_t *len) in eap_get_config_password()
2575 const u8 * eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) in eap_get_config_password2()
2603 const u8 * eap_get_config_new_password(struct eap_sm *sm, size_t *len) in eap_get_config_new_password()
2619 const u8 * eap_get_config_otp(struct eap_sm *sm, size_t *len) in eap_get_config_otp()
2637 void eap_clear_config_otp(struct eap_sm *sm) in eap_clear_config_otp()
2654 const char * eap_get_config_phase1(struct eap_sm *sm) in eap_get_config_phase1()
2668 const char * eap_get_config_phase2(struct eap_sm *sm) in eap_get_config_phase2()
2677 int eap_get_config_fragment_size(struct eap_sm *sm) in eap_get_config_fragment_size()
2691 int eap_key_available(struct eap_sm *sm) in eap_key_available()
2706 void eap_notify_success(struct eap_sm *sm) in eap_notify_success()
2722 void eap_notify_lower_layer_success(struct eap_sm *sm) in eap_notify_lower_layer_success()
2752 const u8 * eap_get_eapSessionId(struct eap_sm *sm, size_t *len) in eap_get_eapSessionId()
2775 const u8 * eap_get_eapKeyData(struct eap_sm *sm, size_t *len) in eap_get_eapKeyData()
2797 struct wpabuf * eap_get_eapRespData(struct eap_sm *sm) in eap_get_eapRespData()
2819 void eap_register_scard_ctx(struct eap_sm *sm, void *ctx) in eap_register_scard_ctx()
2834 void eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) in eap_set_config_blob()
2848 const struct wpa_config_blob * eap_get_config_blob(struct eap_sm *sm, in eap_get_config_blob()
2867 void eap_set_force_disabled(struct eap_sm *sm, int disabled) in eap_set_force_disabled()
2878 void eap_set_external_sim(struct eap_sm *sm, int external_sim) in eap_set_external_sim()
2893 void eap_notify_pending(struct eap_sm *sm) in eap_notify_pending()
2903 void eap_invalidate_cached_session(struct eap_sm *sm) in eap_invalidate_cached_session()
2936 void eap_sm_set_ext_pw_ctx(struct eap_sm *sm, struct ext_password_data *ext) in eap_sm_set_ext_pw_ctx()
2950 void eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) in eap_set_anon_id()
2957 int eap_peer_was_failure_expected(struct eap_sm *sm) in eap_peer_was_failure_expected()