Home
last modified time | relevance | path

Searched refs:hdr1 (Results 1 – 2 of 2) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_psk.c87 const struct eap_psk_hdr_1 *hdr1; in eap_psk_process_1() local
97 hdr1 = (const struct eap_psk_hdr_1 *) cpos; in eap_psk_process_1()
98 if (cpos == NULL || len < sizeof(*hdr1)) { in eap_psk_process_1()
102 (unsigned long) sizeof(*hdr1)); in eap_psk_process_1()
106 wpa_printf(MSG_DEBUG, "EAP-PSK: Flags=0x%x", hdr1->flags); in eap_psk_process_1()
107 if (EAP_PSK_FLAGS_GET_T(hdr1->flags) != 0) { in eap_psk_process_1()
109 EAP_PSK_FLAGS_GET_T(hdr1->flags)); in eap_psk_process_1()
114 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr1->rand_s, in eap_psk_process_1()
116 os_memcpy(data->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
118 data->id_s_len = len - sizeof(*hdr1); in eap_psk_process_1()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_psk.c87 const struct eap_psk_hdr_1 *hdr1; in eap_psk_process_1() local
97 hdr1 = (const struct eap_psk_hdr_1 *) cpos; in eap_psk_process_1()
98 if (cpos == NULL || len < sizeof(*hdr1)) { in eap_psk_process_1()
102 (unsigned long) sizeof(*hdr1)); in eap_psk_process_1()
106 wpa_printf(MSG_DEBUG, "EAP-PSK: Flags=0x%x", hdr1->flags); in eap_psk_process_1()
107 if (EAP_PSK_FLAGS_GET_T(hdr1->flags) != 0) { in eap_psk_process_1()
109 EAP_PSK_FLAGS_GET_T(hdr1->flags)); in eap_psk_process_1()
114 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr1->rand_s, in eap_psk_process_1()
116 os_memcpy(data->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
118 data->id_s_len = len - sizeof(*hdr1); in eap_psk_process_1()
[all …]