Home
last modified time | relevance | path

Searched refs:ms_len (Results 1 – 4 of 4) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_mschapv2.c102 size_t ms_len; in eap_mschapv2_build_challenge() local
112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->cfg->server_id_len; in eap_mschapv2_build_challenge()
113 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_challenge()
125 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_challenge()
147 size_t ms_len; in eap_mschapv2_build_success_req() local
149 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req()
151 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_success_req()
163 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_success_req()
178 msg, ms_len - sizeof(*ms)); in eap_mschapv2_build_success_req()
191 size_t ms_len; in eap_mschapv2_build_failure_req() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_mschapv2.c102 size_t ms_len; in eap_mschapv2_build_challenge() local
112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->server_id_len; in eap_mschapv2_build_challenge()
113 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_challenge()
125 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_challenge()
147 size_t ms_len; in eap_mschapv2_build_success_req() local
149 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req()
151 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_success_req()
163 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_success_req()
178 msg, ms_len - sizeof(*ms)); in eap_mschapv2_build_success_req()
191 size_t ms_len; in eap_mschapv2_build_failure_req() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_mschapv2.c152 int ms_len; in eap_mschapv2_challenge_reply() local
165 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply()
166 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_challenge_reply()
183 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply()
518 int ms_len; in eap_mschapv2_change_password()
539 ms_len = sizeof(*ms) + sizeof(*cp); in eap_mschapv2_change_password()
540 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_change_password()
548 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_change_password()
731 size_t ms_len = WPA_GET_BE16(ms->ms_length); in eap_mschapv2_check_mslen() local
733 if (ms_len == len) in eap_mschapv2_check_mslen()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_mschapv2.c152 int ms_len; in eap_mschapv2_challenge_reply() local
165 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply()
166 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_challenge_reply()
183 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply()
518 int ms_len; in eap_mschapv2_change_password()
539 ms_len = sizeof(*ms) + sizeof(*cp); in eap_mschapv2_change_password()
540 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_change_password()
548 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_change_password()
731 size_t ms_len = WPA_GET_BE16(ms->ms_length); in eap_mschapv2_check_mslen() local
733 if (ms_len == len) in eap_mschapv2_check_mslen()
[all …]