Searched refs:EAP_SAKE_RAND_LEN (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sake_common.c | 26 if (len != EAP_SAKE_RAND_LEN) { in eap_sake_parse_add_attr() 35 if (len != EAP_SAKE_RAND_LEN) { in eap_sake_parse_add_attr() 273 rand_p, EAP_SAKE_RAND_LEN, rand_s, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys() 277 rand_s, EAP_SAKE_RAND_LEN, rand_p, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys() 288 rand_p, EAP_SAKE_RAND_LEN, rand_s, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys() 292 rand_s, EAP_SAKE_RAND_LEN, rand_p, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys() 323 u8 _rand[2 * EAP_SAKE_RAND_LEN]; in eap_sake_compute_mic() 344 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN); in eap_sake_compute_mic() 345 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_p, in eap_sake_compute_mic() 346 EAP_SAKE_RAND_LEN); in eap_sake_compute_mic() [all …]
|
D | eap_sake_common.h | 35 #define EAP_SAKE_RAND_LEN 16 macro
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_sake.c | 20 u8 rand_s[EAP_SAKE_RAND_LEN]; 21 u8 rand_p[EAP_SAKE_RAND_LEN]; 216 os_memcpy(data->rand_s, attr.rand_s, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge() 218 data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge() 220 if (random_get_bytes(data->rand_p, EAP_SAKE_RAND_LEN)) { in eap_sake_process_challenge() 225 data->rand_p, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge() 246 rlen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge() 255 data->rand_p, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge() 462 *len = 1 + 2 * EAP_SAKE_RAND_LEN; in eap_sake_get_session_id() 468 os_memcpy(id + 1, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_sake.c | 19 u8 rand_s[EAP_SAKE_RAND_LEN]; 20 u8 rand_p[EAP_SAKE_RAND_LEN]; 153 if (random_get_bytes(data->rand_s, EAP_SAKE_RAND_LEN)) { in eap_sake_build_challenge() 159 data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_build_challenge() 161 plen = 2 + EAP_SAKE_RAND_LEN + 2 + sm->server_id_len; in eap_sake_build_challenge() 170 data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_build_challenge() 323 os_memcpy(data->rand_p, attr.rand_p, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge() 506 *len = 1 + 2 * EAP_SAKE_RAND_LEN; in eap_sake_get_session_id() 512 os_memcpy(id + 1, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id() 513 os_memcpy(id + 1 + EAP_SAKE_RAND_LEN, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
|