Home
last modified time | relevance | path

Searched refs:rand_server (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_gpsk.c24 u8 rand_server[EAP_GPSK_RAND_LEN]; member
123 if (os_get_random(data->rand_server, EAP_GPSK_RAND_LEN)) { in eap_gpsk_build_gpsk_1()
129 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_1()
145 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_1()
181 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_3()
335 if (os_memcmp(data->rand_server, pos, EAP_GPSK_RAND_LEN) != 0) { in eap_gpsk_process_gpsk_2()
339 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_process_gpsk_2()
422 data->rand_peer, data->rand_server, in eap_gpsk_process_gpsk_2()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_gpsk.c23 u8 rand_server[EAP_GPSK_RAND_LEN]; member
174 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
176 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
339 wpabuf_put_data(resp, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_send_gpsk_2()
350 data->rand_peer, data->rand_server, in eap_gpsk_send_gpsk_2()
402 if (os_memcmp(pos, data->rand_server, EAP_GPSK_RAND_LEN) != 0) { in eap_gpsk_validate_rand()
406 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_validate_rand()
/external/wpa_supplicant/
Deap_gpsk.c24 u8 rand_server[EAP_GPSK_RAND_LEN]; member
176 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
178 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
350 os_memcpy(rpos, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_send_gpsk_2()
365 data->rand_peer, data->rand_server, in eap_gpsk_send_gpsk_2()
417 if (os_memcmp(pos, data->rand_server, EAP_GPSK_RAND_LEN) != 0) { in eap_gpsk_validate_rand()
421 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_validate_rand()
Deap_gpsk_common.h57 const u8 *rand_client, const u8 *rand_server,
Deap_gpsk_common.c288 const u8 *rand_peer, const u8 *rand_server, in eap_gpsk_derive_keys() argument
320 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_derive_keys()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_gpsk_common.h57 const u8 *rand_client, const u8 *rand_server,
Deap_gpsk_common.c289 const u8 *rand_peer, const u8 *rand_server, in eap_gpsk_derive_keys() argument
321 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_derive_keys()