Home
last modified time | relevance | path

Searched refs:id_p_len (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c329 size_t id_p_len, u8 *key) in eap_eke_derive_key() argument
345 id = os_malloc(id_s_len + id_p_len); in eap_eke_derive_key()
349 os_memcpy(id + id_s_len, id_p, id_p_len); in eap_eke_derive_key()
351 id, id_s_len + id_p_len); in eap_eke_derive_key()
353 id, id_s_len + id_p_len, key, key_len) < 0) { in eap_eke_derive_key()
446 const u8 *id_p, size_t id_p_len) in eap_eke_derive_ke_ki() argument
475 data_len = label_len + id_s_len + id_p_len; in eap_eke_derive_ke_ki()
481 os_memcpy(data + label_len + id_s_len, id_p, id_p_len); in eap_eke_derive_ke_ki()
500 const u8 *id_p, size_t id_p_len, in eap_eke_derive_ka() argument
516 data_len = label_len + id_s_len + id_p_len + 2 * sess->nonce_len; in eap_eke_derive_ka()
[all …]
Deap_eke_common.h88 size_t id_p_len, u8 *key);
95 const u8 *id_p, size_t id_p_len);
98 const u8 *id_p, size_t id_p_len,
102 const u8 *id_p, size_t id_p_len,
/external/wpa_supplicant_8/src/eap_server/
Deap_server_psk.c26 size_t id_p_len; member
246 data->id_p_len = left; in eap_psk_process_2()
248 data->id_p, data->id_p_len); in eap_psk_process_2()
250 if (eap_user_get(sm, data->id_p, data->id_p_len, 0) < 0) { in eap_psk_process_2()
252 data->id_p, data->id_p_len); in eap_psk_process_2()
272 data->id_p, data->id_p_len); in eap_psk_process_2()
281 data->id_p, data->id_p_len); in eap_psk_process_2()
297 buflen = data->id_p_len + sm->server_id_len + 2 * EAP_PSK_RAND_LEN; in eap_psk_process_2()
303 os_memcpy(buf, data->id_p, data->id_p_len); in eap_psk_process_2()
304 pos = buf + data->id_p_len; in eap_psk_process_2()
/external/wpa_supplicant_8/src/eap_peer/
Deap_psk.c27 size_t id_s_len, id_p_len; member
62 data->id_p_len = identity_len; in eap_psk_init()
137 sizeof(*hdr2) + data->id_p_len, EAP_CODE_RESPONSE, in eap_psk_process_1()
145 wpabuf_put_data(resp, data->id_p, data->id_p_len); in eap_psk_process_1()
147 buflen = data->id_p_len + data->id_s_len + 2 * EAP_PSK_RAND_LEN; in eap_psk_process_1()
153 os_memcpy(buf, data->id_p, data->id_p_len); in eap_psk_process_1()
154 pos = buf + data->id_p_len; in eap_psk_process_1()
170 data->id_p, data->id_p_len); in eap_psk_process_1()