Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_gpsk.c19 u8 rand_server[EAP_GPSK_RAND_LEN]; member
112 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) { in eap_gpsk_build_gpsk_1()
118 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_1()
134 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_1()
170 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_3()
323 if (os_memcmp(data->rand_server, pos, EAP_GPSK_RAND_LEN) != 0) { in eap_gpsk_process_gpsk_2()
327 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_process_gpsk_2()
410 data->rand_peer, data->rand_server, in eap_gpsk_process_gpsk_2()
424 data->rand_peer, data->rand_server, in eap_gpsk_process_gpsk_2()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_gpsk.c19 u8 rand_server[EAP_GPSK_RAND_LEN]; member
112 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) { in eap_gpsk_build_gpsk_1()
118 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_1()
134 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_1()
170 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_3()
323 if (os_memcmp(data->rand_server, pos, EAP_GPSK_RAND_LEN) != 0) { in eap_gpsk_process_gpsk_2()
327 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_process_gpsk_2()
410 data->rand_peer, data->rand_server, in eap_gpsk_process_gpsk_2()
424 data->rand_peer, data->rand_server, in eap_gpsk_process_gpsk_2()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_gpsk_common.h51 const u8 *rand_client, const u8 *rand_server,
58 const u8 *rand_peer, const u8 *rand_server,
Deap_gpsk_common.c281 const u8 *rand_peer, const u8 *rand_server, in eap_gpsk_derive_keys() argument
311 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_derive_keys()
419 const u8 *rand_peer, const u8 *rand_server, in eap_gpsk_derive_session_id() argument
455 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_derive_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_gpsk_common.h51 const u8 *rand_client, const u8 *rand_server,
58 const u8 *rand_peer, const u8 *rand_server,
Deap_gpsk_common.c281 const u8 *rand_peer, const u8 *rand_server, in eap_gpsk_derive_keys() argument
311 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_derive_keys()
419 const u8 *rand_peer, const u8 *rand_server, in eap_gpsk_derive_session_id() argument
455 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_derive_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_gpsk.c18 u8 rand_server[EAP_GPSK_RAND_LEN]; member
183 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
185 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
355 wpabuf_put_data(resp, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_send_gpsk_2()
366 data->rand_peer, data->rand_server, in eap_gpsk_send_gpsk_2()
380 data->rand_peer, data->rand_server, in eap_gpsk_send_gpsk_2()
433 if (os_memcmp(pos, data->rand_server, EAP_GPSK_RAND_LEN) != 0) { in eap_gpsk_validate_rand()
437 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_validate_rand()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_gpsk.c18 u8 rand_server[EAP_GPSK_RAND_LEN]; member
183 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
185 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_process_rand_server()
355 wpabuf_put_data(resp, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_send_gpsk_2()
366 data->rand_peer, data->rand_server, in eap_gpsk_send_gpsk_2()
380 data->rand_peer, data->rand_server, in eap_gpsk_send_gpsk_2()
433 if (os_memcmp(pos, data->rand_server, EAP_GPSK_RAND_LEN) != 0) { in eap_gpsk_validate_rand()
437 data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_validate_rand()