Home
last modified time | relevance | path

Searched refs:identity_len (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant/
Deap_gtc.c59 size_t password_len, identity_len, len, plen; in eap_gtc_process() local
108 identity = eap_get_config_identity(sm, &identity_len); in eap_gtc_process()
112 plen += 9 + identity_len + 1; in eap_gtc_process()
120 os_memcpy(rpos, identity, identity_len); in eap_gtc_process()
121 rpos += identity_len; in eap_gtc_process()
Deap_leap.c74 size_t identity_len, password_len; in eap_leap_process_request() local
78 identity = eap_get_config_identity(sm, &identity_len); in eap_leap_process_request()
119 3 + LEAP_RESPONSE_LEN + identity_len, in eap_leap_process_request()
131 os_memcpy(rpos, identity, identity_len); in eap_leap_process_request()
148 size_t identity_len; in eap_leap_process_success() local
152 identity = eap_get_config_identity(sm, &identity_len); in eap_leap_process_success()
166 3 + LEAP_CHALLENGE_LEN + identity_len, in eap_leap_process_success()
184 os_memcpy(pos, identity, identity_len); in eap_leap_process_success()
Deap_sim_common.c31 void eap_sim_derive_mk(const u8 *identity, size_t identity_len, in eap_sim_derive_mk() argument
41 len[0] = identity_len; in eap_sim_derive_mk()
59 void eap_aka_derive_mk(const u8 *identity, size_t identity_len, in eap_aka_derive_mk() argument
66 len[0] = identity_len; in eap_aka_derive_mk()
111 const u8 *identity, size_t identity_len, in eap_sim_derive_keys_reauth() argument
121 while (identity_len > 0 && identity[identity_len - 1] == 0) { in eap_sim_derive_keys_reauth()
124 identity_len--; in eap_sim_derive_keys_reauth()
127 len[0] = identity_len; in eap_sim_derive_keys_reauth()
139 identity, identity_len); in eap_sim_derive_keys_reauth()
358 attr->identity_len = alen - 2; in eap_sim_parse_attr()
Deap_sim_common.h73 void eap_sim_derive_mk(const u8 *identity, size_t identity_len,
77 void eap_aka_derive_mk(const u8 *identity, size_t identity_len,
82 const u8 *identity, size_t identity_len,
135 size_t next_pseudonym_len, next_reauth_id_len, identity_len, res_len; member
Deap_aka.c245 size_t identity_len = 0; in eap_aka_response_identity() local
251 identity_len = data->reauth_id_len; in eap_aka_response_identity()
256 identity_len = data->pseudonym_len; in eap_aka_response_identity()
259 identity = eap_get_config_identity(sm, &identity_len); in eap_aka_response_identity()
275 identity, identity_len); in eap_aka_response_identity()
276 eap_sim_msg_add(msg, EAP_SIM_AT_IDENTITY, identity_len, in eap_aka_response_identity()
277 identity, identity_len); in eap_aka_response_identity()
429 size_t identity_len; in eap_aka_process_challenge() local
463 identity_len = data->last_eap_identity_len; in eap_aka_process_challenge()
466 identity_len = data->pseudonym_len; in eap_aka_process_challenge()
[all …]
Deap_sim.c256 size_t identity_len = 0; in eap_sim_response_start() local
262 identity_len = data->reauth_id_len; in eap_sim_response_start()
267 identity_len = data->pseudonym_len; in eap_sim_response_start()
270 identity = eap_get_config_identity(sm, &identity_len); in eap_sim_response_start()
296 identity, identity_len); in eap_sim_response_start()
297 eap_sim_msg_add(msg, EAP_SIM_AT_IDENTITY, identity_len, in eap_sim_response_start()
298 identity, identity_len); in eap_sim_response_start()
486 size_t identity_len; in eap_sim_process_challenge() local
539 identity_len = data->last_eap_identity_len; in eap_sim_process_challenge()
542 identity_len = data->pseudonym_len; in eap_sim_process_challenge()
[all …]
Deap.c888 ssid->identity_len = 1 + imsi_len; in eap_sm_imsi_identity()
948 size_t identity_len; in eap_sm_buildIdentity() local
958 &identity_len)) != NULL) { in eap_sm_buildIdentity()
960 "identity", identity, identity_len); in eap_sm_buildIdentity()
963 identity_len = config->anonymous_identity_len; in eap_sm_buildIdentity()
965 identity, identity_len); in eap_sm_buildIdentity()
968 identity_len = config->identity_len; in eap_sm_buildIdentity()
970 identity, identity_len); in eap_sm_buildIdentity()
980 identity_len = config->identity_len; in eap_sm_buildIdentity()
982 "IMSI", identity, identity_len); in eap_sm_buildIdentity()
[all …]
Deap_ttls.c653 username_len = config->identity_len; in eap_ttls_phase2_request_mschapv2()
663 pos = buf = os_malloc(config->identity_len + 1000); in eap_ttls_phase2_request_mschapv2()
672 config->identity, config->identity_len); in eap_ttls_phase2_request_mschapv2()
768 pos = buf = os_malloc(config->identity_len + 1000); in eap_ttls_phase2_request_mschap()
777 config->identity, config->identity_len); in eap_ttls_phase2_request_mschap()
844 pos = buf = os_malloc(config->identity_len + config->password_len + in eap_ttls_phase2_request_pap()
854 config->identity, config->identity_len); in eap_ttls_phase2_request_pap()
899 pos = buf = os_malloc(config->identity_len + 1000); in eap_ttls_phase2_request_chap()
908 config->identity, config->identity_len); in eap_ttls_phase2_request_chap()
939 config->identity, config->identity_len); in eap_ttls_phase2_request_chap()
Deap_mschapv2.c230 size_t username_len, identity_len, password_len; in eap_mschapv2_challenge_reply() local
235 identity = eap_get_config_identity(sm, &identity_len); in eap_mschapv2_challenge_reply()
240 username_len = identity_len; in eap_mschapv2_challenge_reply()
243 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply()
290 os_memcpy((u8 *) (r + 1), identity, identity_len); in eap_mschapv2_challenge_reply()
Dconfig_ssid.h213 size_t identity_len; member
Dctrl_iface.c154 ssid->identity_len = os_strlen(pos); in wpa_supplicant_ctrl_iface_ctrl_rsp()