Home
last modified time | relevance | path

Searched refs:realm_len (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dinterworking.c250 u8 realm_len, e; in nai_realm_parse_realm() local
269 realm_len = *pos++; in nai_realm_parse_realm()
270 if (pos + realm_len > f_end) { in nai_realm_parse_realm()
273 realm_len, (unsigned int) (f_end - pos)); in nai_realm_parse_realm()
276 wpa_hexdump_ascii(MSG_DEBUG, "NAI Realm", pos, realm_len); in nai_realm_parse_realm()
277 r->realm = os_malloc(realm_len + 1); in nai_realm_parse_realm()
280 os_memcpy(r->realm, pos, realm_len); in nai_realm_parse_realm()
281 r->realm[realm_len] = '\0'; in nai_realm_parse_realm()
282 pos += realm_len; in nai_realm_parse_realm()
/external/wpa_supplicant_8/src/eap_peer/
Deap_sim.c291 size_t realm_len = 0; in eap_sim_learn_ids() local
301 for (realm = identity, realm_len = identity_len; in eap_sim_learn_ids()
302 realm_len > 0; realm_len--, realm++) { in eap_sim_learn_ids()
308 realm_len); in eap_sim_learn_ids()
317 if (realm_len) { in eap_sim_learn_ids()
319 realm, realm_len); in eap_sim_learn_ids()
321 data->pseudonym_len = attr->next_pseudonym_len + realm_len; in eap_sim_learn_ids()
Deap_aka.c260 size_t realm_len = 0; in eap_aka_learn_ids() local
270 for (realm = identity, realm_len = identity_len; in eap_aka_learn_ids()
271 realm_len > 0; realm_len--, realm++) { in eap_aka_learn_ids()
277 realm_len); in eap_aka_learn_ids()
286 if (realm_len) { in eap_aka_learn_ids()
288 realm, realm_len); in eap_aka_learn_ids()
290 data->pseudonym_len = attr->next_pseudonym_len + realm_len; in eap_aka_learn_ids()