Lines Matching defs:peer_challenge
41 u8 peer_challenge[MSCHAPV2_CHAL_LEN];
51 u8 peer_challenge[MSCHAPV2_CHAL_LEN];
89 u8 *peer_challenge;
111 if (sm->peer_challenge) {
112 data->peer_challenge = os_malloc(MSCHAPV2_CHAL_LEN);
113 if (data->peer_challenge == NULL) {
117 os_memcpy(data->peer_challenge, sm->peer_challenge,
140 os_free(data->peer_challenge);
153 u8 *peer_challenge;
191 peer_challenge = r->peer_challenge;
192 if (data->peer_challenge) {
193 wpa_printf(MSG_DEBUG, "EAP-MSCHAPV2: peer_challenge generated "
195 peer_challenge = data->peer_challenge;
196 os_memset(r->peer_challenge, 0, MSCHAPV2_CHAL_LEN);
197 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) {
209 peer_challenge, r->nt_response,
571 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN))
580 wpa_hexdump(MSG_DEBUG, "EAP-MSCHAPV2: peer_challenge",
581 cp->peer_challenge, MSCHAPV2_CHAL_LEN);
586 generate_nt_response(data->passwd_change_challenge, cp->peer_challenge,
596 cp->peer_challenge,