Searched refs:LEAP_CHALLENGE_LEN (Results 1 – 2 of 2) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_leap.c | 18 #define LEAP_CHALLENGE_LEN 8 macro 31 u8 peer_challenge[LEAP_CHALLENGE_LEN]; 34 u8 ap_challenge[LEAP_CHALLENGE_LEN]; 95 if (challenge_len != LEAP_CHALLENGE_LEN || challenge_len > len - 3) { in eap_leap_process_request() 103 os_memcpy(data->peer_challenge, challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request() 105 challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request() 161 3 + LEAP_CHALLENGE_LEN + identity_len, in eap_leap_process_success() 167 wpabuf_put_u8(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success() 168 pos = wpabuf_put(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success() 169 if (random_get_bytes(pos, LEAP_CHALLENGE_LEN)) { in eap_leap_process_success() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_leap.c | 18 #define LEAP_CHALLENGE_LEN 8 macro 31 u8 peer_challenge[LEAP_CHALLENGE_LEN]; 34 u8 ap_challenge[LEAP_CHALLENGE_LEN]; 95 if (challenge_len != LEAP_CHALLENGE_LEN || challenge_len > len - 3) { in eap_leap_process_request() 103 os_memcpy(data->peer_challenge, challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request() 105 challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request() 161 3 + LEAP_CHALLENGE_LEN + identity_len, in eap_leap_process_success() 167 wpabuf_put_u8(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success() 168 pos = wpabuf_put(resp, LEAP_CHALLENGE_LEN); in eap_leap_process_success() 169 if (random_get_bytes(pos, LEAP_CHALLENGE_LEN)) { in eap_leap_process_success() [all …]
|