Searched refs:EAP_PSK_RAND_LEN (Results 1 – 3 of 3) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_psk_common.h | 13 #define EAP_PSK_RAND_LEN 16 macro 35 u8 rand_s[EAP_PSK_RAND_LEN]; 42 u8 rand_s[EAP_PSK_RAND_LEN]; 43 u8 rand_p[EAP_PSK_RAND_LEN]; 51 u8 rand_s[EAP_PSK_RAND_LEN]; 59 u8 rand_s[EAP_PSK_RAND_LEN];
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_psk.c | 23 u8 rand_p[EAP_PSK_RAND_LEN]; 24 u8 rand_s[EAP_PSK_RAND_LEN]; 115 EAP_PSK_RAND_LEN); in eap_psk_process_1() 116 os_memcpy(data->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 129 if (random_get_bytes(data->rand_p, EAP_PSK_RAND_LEN)) { in eap_psk_process_1() 142 os_memcpy(hdr2->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 143 os_memcpy(hdr2->rand_p, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_1() 146 buflen = data->id_p_len + data->id_s_len + 2 * EAP_PSK_RAND_LEN; in eap_psk_process_1() 156 os_memcpy(pos, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 157 pos += EAP_PSK_RAND_LEN; in eap_psk_process_1() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_psk.c | 23 u8 rand_s[EAP_PSK_RAND_LEN]; 24 u8 rand_p[EAP_PSK_RAND_LEN]; 62 if (random_get_bytes(data->rand_s, EAP_PSK_RAND_LEN)) { in eap_psk_build_1() 68 data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_1() 82 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_1() 110 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_3() 113 buflen = sm->cfg->server_id_len + EAP_PSK_RAND_LEN; in eap_psk_build_3() 119 os_memcpy(buf + sm->cfg->server_id_len, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_build_3() 292 resp->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_2() 293 os_memcpy(data->rand_p, resp->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_2() [all …]
|