Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c328 const u8 *id_s, size_t id_s_len, const u8 *id_p, in eap_eke_derive_key() argument
345 id = os_malloc(id_s_len + id_p_len); in eap_eke_derive_key()
348 os_memcpy(id, id_s, id_s_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()
445 const u8 *id_s, size_t id_s_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()
480 os_memcpy(data + label_len, id_s, id_s_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()
[all …]
Deap_eke_common.h87 const u8 *id_s, size_t id_s_len, const u8 *id_p,
94 const u8 *id_s, size_t id_s_len,
97 const u8 *id_s, size_t id_s_len,
101 const u8 *id_s, size_t id_s_len,
/external/wpa_supplicant_8/src/eap_peer/
Deap_psk.c27 size_t id_s_len, id_p_len; member
118 data->id_s_len = len - sizeof(*hdr1); in eap_psk_process_1()
119 data->id_s = os_malloc(data->id_s_len); in eap_psk_process_1()
122 "ID_S (len=%lu)", (unsigned long) data->id_s_len); in eap_psk_process_1()
126 os_memcpy(data->id_s, (u8 *) (hdr1 + 1), data->id_s_len); in eap_psk_process_1()
128 data->id_s, data->id_s_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()
155 os_memcpy(pos, data->id_s, data->id_s_len); in eap_psk_process_1()
156 pos += data->id_s_len; in eap_psk_process_1()
229 buflen = data->id_s_len + EAP_PSK_RAND_LEN; in eap_psk_process_3()
[all …]