Home
last modified time | relevance | path

Searched refs:nai_buf_len (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_server.c420 size_t domain_len, nai_buf_len; in eap_server_erp_init() local
430 nai_buf_len = 2 * EAP_EMSK_NAME_LEN + 1 + domain_len; in eap_server_erp_init()
431 if (nai_buf_len > 253) { in eap_server_erp_init()
440 nai_buf_len++; /* null termination */ in eap_server_erp_init()
441 erp = os_zalloc(sizeof(*erp) + nai_buf_len); in eap_server_erp_init()
464 pos = wpa_snprintf_hex(erp->keyname_nai, nai_buf_len, in eap_server_erp_init()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c494 size_t realm_len, nai_buf_len; in eap_peer_erp_init() local
505 nai_buf_len = 2 * EAP_EMSK_NAME_LEN + 1 + realm_len; in eap_peer_erp_init()
506 if (nai_buf_len > 253) { in eap_peer_erp_init()
515 nai_buf_len++; /* null termination */ in eap_peer_erp_init()
516 erp = os_zalloc(sizeof(*erp) + nai_buf_len); in eap_peer_erp_init()
538 pos = wpa_snprintf_hex(erp->keyname_nai, nai_buf_len, in eap_peer_erp_init()