Home
last modified time | relevance | path

Searched refs:LEAP_CHALLENGE_LEN (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_leap.c23 #define LEAP_CHALLENGE_LEN 8 macro
36 u8 peer_challenge[LEAP_CHALLENGE_LEN];
39 u8 ap_challenge[LEAP_CHALLENGE_LEN];
100 if (challenge_len != LEAP_CHALLENGE_LEN || challenge_len > len - 3) { in eap_leap_process_request()
108 os_memcpy(data->peer_challenge, challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request()
110 challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request()
162 3 + LEAP_CHALLENGE_LEN + identity_len, in eap_leap_process_success()
168 wpabuf_put_u8(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success()
169 pos = wpabuf_put(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success()
170 if (os_get_random(pos, LEAP_CHALLENGE_LEN)) { in eap_leap_process_success()
[all …]
/external/wpa_supplicant/
Deap_leap.c23 #define LEAP_CHALLENGE_LEN 8 macro
36 u8 peer_challenge[LEAP_CHALLENGE_LEN];
39 u8 ap_challenge[LEAP_CHALLENGE_LEN];
103 if (challenge_len != LEAP_CHALLENGE_LEN || in eap_leap_process_request()
112 os_memcpy(data->peer_challenge, challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request()
114 challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request()
166 3 + LEAP_CHALLENGE_LEN + identity_len, in eap_leap_process_success()
172 *pos++ = LEAP_CHALLENGE_LEN; in eap_leap_process_success()
173 if (hostapd_get_rand(pos, LEAP_CHALLENGE_LEN)) { in eap_leap_process_success()
180 os_memcpy(data->ap_challenge, pos, LEAP_CHALLENGE_LEN); in eap_leap_process_success()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_leap.c24 #define LEAP_CHALLENGE_LEN 8 macro
37 u8 peer_challenge[LEAP_CHALLENGE_LEN];
40 u8 ap_challenge[LEAP_CHALLENGE_LEN];
101 if (challenge_len != LEAP_CHALLENGE_LEN || challenge_len > len - 3) { in eap_leap_process_request()
109 os_memcpy(data->peer_challenge, challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request()
111 challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request()
163 3 + LEAP_CHALLENGE_LEN + identity_len, in eap_leap_process_success()
169 wpabuf_put_u8(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success()
170 pos = wpabuf_put(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success()
171 if (random_get_bytes(pos, LEAP_CHALLENGE_LEN)) { in eap_leap_process_success()
[all …]