Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching full:peer_challenge

48 	u8 peer_challenge[MSCHAPV2_CHAL_LEN];
58 u8 peer_challenge[MSCHAPV2_CHAL_LEN];
96 u8 *peer_challenge;
122 if (sm->peer_challenge) {
124 data->peer_challenge = os_malloc(MSCHAPV2_CHAL_LEN);
125 if (data->peer_challenge == NULL) {
129 os_memcpy(data->peer_challenge, sm->peer_challenge,
152 os_free(data->peer_challenge);
184 const u8 *auth_challenge, const u8 *peer_challenge,
191 wpa_hexdump(MSG_DEBUG, "EAP-MSCHAPV2: peer_challenge",
192 peer_challenge, MSCHAPV2_CHAL_LEN);
197 generate_nt_response(auth_challenge, peer_challenge,
205 peer_challenge, auth_challenge,
227 u8 *rpos, *peer_challenge;
267 peer_challenge = r->peer_challenge;
268 if (data->peer_challenge) {
269 wpa_printf(MSG_DEBUG, "EAP-MSCHAPV2: peer_challenge generated "
271 peer_challenge = data->peer_challenge;
272 os_memset(r->peer_challenge, 0, MSCHAPV2_CHAL_LEN);
273 } else if (os_get_random(peer_challenge, MSCHAPV2_CHAL_LEN)) {
285 auth_challenge, peer_challenge,
613 if (os_get_random(cp->peer_challenge, MSCHAPV2_CHAL_LEN)) {
624 wpa_hexdump(MSG_DEBUG, "EAP-MSCHAPV2: peer_challenge",
625 cp->peer_challenge, MSCHAPV2_CHAL_LEN);
630 generate_nt_response(data->passwd_change_challenge, cp->peer_challenge,
640 cp->peer_challenge,