Lines Matching defs:sm
21 static void * eap_identity_init(struct eap_sm *sm)
34 static void * eap_identity_initPickUp(struct eap_sm *sm)
37 data = eap_identity_init(sm);
45 static void eap_identity_reset(struct eap_sm *sm, void *priv)
52 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv,
60 if (sm->eapol_cb->get_eap_req_id_text) {
61 req_data = sm->eapol_cb->get_eap_req_id_text(sm->eapol_ctx,
82 static Boolean eap_identity_check(struct eap_sm *sm, void *priv,
99 static void eap_identity_process(struct eap_sm *sm, void *priv,
108 if (eap_identity_check(sm, data, respData)) {
126 eap_log_msg(sm, "EAP-Response/Identity '%s'", buf);
129 if (sm->identity)
130 sm->update_user = TRUE;
131 os_free(sm->identity);
132 sm->identity = os_malloc(len ? len : 1);
133 if (sm->identity == NULL) {
136 os_memcpy(sm->identity, pos, len);
137 sm->identity_len = len;
143 static Boolean eap_identity_isDone(struct eap_sm *sm, void *priv)
150 static Boolean eap_identity_isSuccess(struct eap_sm *sm, void *priv)