Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_server/
Deap_server_mschapv2.c103 size_t ms_len; in eap_mschapv2_build_challenge() local
113 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->server_id_len; in eap_mschapv2_build_challenge()
114 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_challenge()
126 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_challenge()
148 size_t ms_len; in eap_mschapv2_build_success_req() local
150 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req()
152 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_success_req()
164 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_success_req()
179 msg, ms_len - sizeof(*ms)); in eap_mschapv2_build_success_req()
192 size_t ms_len; in eap_mschapv2_build_failure_req() local
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_mschapv2.c154 int ms_len; in eap_mschapv2_challenge_reply() local
167 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply()
168 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_challenge_reply()
185 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply()
520 int ms_len; in eap_mschapv2_change_password()
541 ms_len = sizeof(*ms) + sizeof(*cp); in eap_mschapv2_change_password()
542 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_change_password()
550 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_change_password()
733 size_t ms_len = WPA_GET_BE16(ms->ms_length); in eap_mschapv2_check_mslen() local
735 if (ms_len == len) in eap_mschapv2_check_mslen()
[all …]