Searched refs:realm_len (Results 1 – 8 of 8) sorted by relevance
/external/dhcpcd-6.8.2/ |
D | auth.c | 114 size_t realm_len; in dhcp_auth_validate() local 175 realm_len = 0; in dhcp_auth_validate() 197 realm_len = dlen - (sizeof(secretid) + sizeof(hmac)); in dhcp_auth_validate() 198 if (realm_len) { in dhcp_auth_validate() 200 d += realm_len; in dhcp_auth_validate() 201 dlen -= realm_len; in dhcp_auth_validate() 233 state->reconf->realm_len = 0; in dhcp_auth_validate() 276 t->realm_len == realm_len && in dhcp_auth_validate() 277 (t->realm_len == 0 || in dhcp_auth_validate() 278 memcmp(t->realm, realm, t->realm_len) == 0)) in dhcp_auth_validate() [all …]
|
D | auth.h | 51 size_t realm_len; member
|
D | if-options.c | 1868 token->realm_len = (size_t)s; in parse_option() 1869 token->realm = malloc(token->realm_len); in parse_option() 1875 parse_string((char *)token->realm, token->realm_len, in parse_option() 1878 token->realm_len = 0; in parse_option() 2408 if (token->realm_len)
|
/external/wpa_supplicant_8/src/ap/ |
D | gas_serv.c | 395 u8 num_realms, num_matching = 0, encoding, realm_len, *realm_list_len; in hs20_add_nai_home_realm_matches() local 420 realm_len = *pos++; in hs20_add_nai_home_realm_matches() 421 if (realm_len > end - pos) { in hs20_add_nai_home_realm_matches() 436 while (rpos < realm_name + realm_len && in hs20_add_nai_home_realm_matches() 439 rend < realm_name + realm_len; rend++) { in hs20_add_nai_home_realm_matches() 460 pos += realm_len; in hs20_add_nai_home_realm_matches() 497 u8 *realm_data_len, *realm_len; in anqp_add_nai_realm() local 503 realm_len = wpabuf_put(buf, 1); in anqp_add_nai_realm() 509 *realm_len = (u8 *) wpabuf_put(buf, 0) - realm_len - 1; in anqp_add_nai_realm()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_sim.c | 399 size_t realm_len = 0; in eap_sim_learn_ids() local 409 for (realm = identity, realm_len = identity_len; in eap_sim_learn_ids() 410 realm_len > 0; realm_len--, realm++) { in eap_sim_learn_ids() 416 realm_len); in eap_sim_learn_ids() 425 if (realm_len) { in eap_sim_learn_ids() 427 realm, realm_len); in eap_sim_learn_ids() 429 data->pseudonym_len = attr->next_pseudonym_len + realm_len; in eap_sim_learn_ids()
|
D | eap.c | 378 size_t i, realm_len; in eap_home_realm() local 389 realm_len = config->identity_len - i - 1; in eap_home_realm() 390 realm = os_malloc(realm_len + 1); in eap_home_realm() 393 os_memcpy(realm, &config->identity[i + 1], realm_len); in eap_home_realm() 394 realm[realm_len] = '\0'; in eap_home_realm() 405 realm_len = config->anonymous_identity_len - i - 1; in eap_home_realm() 406 realm = os_malloc(realm_len + 1); in eap_home_realm() 410 realm_len); in eap_home_realm() 411 realm[realm_len] = '\0'; in eap_home_realm() 494 size_t realm_len, nai_buf_len; in eap_peer_erp_init() local [all …]
|
D | eap_aka.c | 377 size_t realm_len = 0; in eap_aka_learn_ids() local 387 for (realm = identity, realm_len = identity_len; in eap_aka_learn_ids() 388 realm_len > 0; realm_len--, realm++) { in eap_aka_learn_ids() 394 realm_len); in eap_aka_learn_ids() 403 if (realm_len) { in eap_aka_learn_ids() 405 realm, realm_len); in eap_aka_learn_ids() 407 data->pseudonym_len = attr->next_pseudonym_len + realm_len; in eap_aka_learn_ids()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | interworking.c | 461 u8 realm_len, e; in nai_realm_parse_realm() local 480 realm_len = *pos++; in nai_realm_parse_realm() 481 if (realm_len > f_end - pos) { in nai_realm_parse_realm() 484 realm_len, (unsigned int) (f_end - pos)); in nai_realm_parse_realm() 487 wpa_hexdump_ascii(MSG_DEBUG, "NAI Realm", pos, realm_len); in nai_realm_parse_realm() 488 r->realm = dup_binstr(pos, realm_len); in nai_realm_parse_realm() 491 pos += realm_len; in nai_realm_parse_realm()
|