Searched refs:ms_len (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_mschapv2.c | 108 size_t ms_len; in eap_mschapv2_build_challenge() local 118 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->cfg->server_id_len; in eap_mschapv2_build_challenge() 119 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_challenge() 131 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_challenge() 153 size_t ms_len; in eap_mschapv2_build_success_req() local 155 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req() 157 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_success_req() 169 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_success_req() 184 msg, ms_len - sizeof(*ms)); in eap_mschapv2_build_success_req() 197 size_t ms_len; in eap_mschapv2_build_failure_req() local [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_mschapv2.c | 158 int ms_len; in eap_mschapv2_challenge_reply() local 171 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply() 172 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_challenge_reply() 189 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply() 524 int ms_len; in eap_mschapv2_change_password() 545 ms_len = sizeof(*ms) + sizeof(*cp); in eap_mschapv2_change_password() 546 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_change_password() 554 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_change_password() 737 size_t ms_len = WPA_GET_BE16(ms->ms_length); in eap_mschapv2_check_mslen() local 739 if (ms_len == len) in eap_mschapv2_check_mslen() [all …]
|