Lines Matching refs:identity

67 	u8 *identity; /* from PAC-Opaque or client certificate */  member
151 u8 *identity = NULL; in eap_teap_session_ticket_cb() local
236 identity = pos; in eap_teap_session_ticket_cb()
252 if (identity) { in eap_teap_session_ticket_cb()
255 identity, identity_len); in eap_teap_session_ticket_cb()
256 os_free(data->identity); in eap_teap_session_ticket_cb()
257 data->identity = os_malloc(identity_len); in eap_teap_session_ticket_cb()
258 if (data->identity) { in eap_teap_session_ticket_cb()
259 os_memcpy(data->identity, identity, identity_len); in eap_teap_session_ticket_cb()
455 os_free(data->identity); in eap_teap_reset()
511 if (!data->identity && sm->cfg->eap_teap_auth == 2) { in eap_teap_phase1_done()
519 data->identity = (u8 *) os_strdup(subject); in eap_teap_phase1_done()
759 if (sm->identity) { in eap_teap_build_pac()
761 sm->identity, sm->identity_len); in eap_teap_build_pac()
764 os_memcpy(pos, sm->identity, sm->identity_len); in eap_teap_build_pac()
833 if (sm->identity) { in eap_teap_build_pac()
834 eap_teap_put_tlv(buf, PAC_TYPE_I_ID, sm->identity, in eap_teap_build_pac()
1158 if (eap_user_get(sm, sm->identity, sm->identity_len, 1) != 0) { in eap_teap_process_phase2_response()
1161 sm->identity, sm->identity_len); in eap_teap_process_phase2_response()
1348 os_free(sm->identity); in eap_teap_process_basic_auth_resp()
1349 sm->identity = new_id; in eap_teap_process_basic_auth_resp()
1812 if (data->identity) { in eap_teap_process_phase2_start()
1814 os_free(sm->identity); in eap_teap_process_phase2_start()
1815 sm->identity = data->identity; in eap_teap_process_phase2_start()
1816 data->identity = NULL; in eap_teap_process_phase2_start()
1819 if (eap_user_get(sm, sm->identity, sm->identity_len, 1) != 0) { in eap_teap_process_phase2_start()
1822 sm->identity, sm->identity_len); in eap_teap_process_phase2_start()