Searched refs:server_id_len (Results 1 – 8 of 8) sorted by relevance
/hostap-3.6.0/src/eap_server/ |
D | eap_server_gpsk.c | 120 len = 1 + 2 + sm->cfg->server_id_len + EAP_GPSK_RAND_LEN + 2 + in eap_gpsk_build_gpsk_1() 132 wpabuf_put_be16(req, sm->cfg->server_id_len); in eap_gpsk_build_gpsk_1() 133 wpabuf_put_data(req, sm->cfg->server_id, sm->cfg->server_id_len); in eap_gpsk_build_gpsk_1() 155 len = 1 + 2 * EAP_GPSK_RAND_LEN + 2 + sm->cfg->server_id_len + in eap_gpsk_build_gpsk_3() 171 wpabuf_put_be16(req, sm->cfg->server_id_len); in eap_gpsk_build_gpsk_3() 172 wpabuf_put_data(req, sm->cfg->server_id, sm->cfg->server_id_len); in eap_gpsk_build_gpsk_3() 297 if (alen != sm->cfg->server_id_len || in eap_gpsk_process_gpsk_2() 412 sm->cfg->server_id, sm->cfg->server_id_len, in eap_gpsk_process_gpsk_2() 427 sm->cfg->server_id_len, in eap_gpsk_process_gpsk_2()
|
D | eap_server_psk.c | 71 sizeof(*psk) + sm->cfg->server_id_len, in eap_psk_build_1() 83 wpabuf_put_data(req, sm->cfg->server_id, sm->cfg->server_id_len); in eap_psk_build_1() 113 buflen = sm->cfg->server_id_len + EAP_PSK_RAND_LEN; in eap_psk_build_3() 118 os_memcpy(buf, sm->cfg->server_id, sm->cfg->server_id_len); in eap_psk_build_3() 119 os_memcpy(buf + sm->cfg->server_id_len, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_build_3() 296 buflen = data->id_p_len + sm->cfg->server_id_len + 2 * EAP_PSK_RAND_LEN; in eap_psk_process_2() 304 os_memcpy(pos, sm->cfg->server_id, sm->cfg->server_id_len); in eap_psk_process_2() 305 pos += sm->cfg->server_id_len; in eap_psk_process_2()
|
D | eap_server_sake.c | 126 plen += 2 + sm->cfg->server_id_len; in eap_sake_build_identity() 138 sm->cfg->server_id, sm->cfg->server_id_len); in eap_sake_build_identity() 161 plen = 2 + EAP_SAKE_RAND_LEN + 2 + sm->cfg->server_id_len; in eap_sake_build_challenge() 174 sm->cfg->server_id, sm->cfg->server_id_len); in eap_sake_build_challenge() 201 sm->cfg->server_id, sm->cfg->server_id_len, in eap_sake_build_confirm() 354 sm->cfg->server_id, sm->cfg->server_id_len, in eap_sake_process_challenge() 395 sm->cfg->server_id, sm->cfg->server_id_len, in eap_sake_process_confirm()
|
D | eap_server_eke.c | 87 for (i = 0; i < sm->cfg->server_id_len; i++) { in eap_eke_init() 189 plen = 2 + 4 * 4 + 1 + sm->cfg->server_id_len; in eap_eke_build_identity() 226 wpabuf_put_data(msg, sm->cfg->server_id, sm->cfg->server_id_len); in eap_eke_build_identity() 255 sm->cfg->server_id, sm->cfg->server_id_len, in eap_eke_build_commit() 341 sm->cfg->server_id, sm->cfg->server_id_len, in eap_eke_build_confirm() 555 sm->cfg->server_id, sm->cfg->server_id_len, in eap_eke_process_commit() 645 sm->cfg->server_id_len, in eap_eke_process_confirm()
|
D | eap.h | 245 size_t server_id_len; member
|
D | eap_server_ikev2.c | 106 data->ikev2.IDi = os_memdup(sm->cfg->server_id, sm->cfg->server_id_len); in eap_ikev2_init() 109 data->ikev2.IDi_len = sm->cfg->server_id_len; in eap_ikev2_init()
|
D | eap_server_mschapv2.c | 112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->cfg->server_id_len; in eap_mschapv2_build_challenge() 134 wpabuf_put_data(req, sm->cfg->server_id, sm->cfg->server_id_len); in eap_mschapv2_build_challenge()
|
/hostap-3.6.0/src/ap/ |
D | authsrv.c | 219 cfg->server_id_len = os_strlen(hapd->conf->server_id); in authsrv_eap_config() 222 cfg->server_id_len = 7; in authsrv_eap_config()
|