Lines Matching refs:challenge
53 /* Hook for a plugin to validate CHAP challenge */
56 const unsigned char *challenge, const unsigned char *response,
67 { "chap-max-challenge", o_int, &pcb->settings.chap_max_transmits,
68 "Set max #xmits for challenge", OPT_PRIO },
97 const unsigned char *challenge, const unsigned char *response,
191 * There isn't much to do until we receive a challenge.
219 * chap_timeout - It's time to send another challenge to the peer.
220 * This could be either a retransmission of a previous challenge,
221 * or a new challenge to start re-authentication.
246 MEMCPY(p->payload, pcb->chap_server.challenge, pcb->chap_server.challenge_pktlen);
254 * chap_generate_challenge - generate a challenge string and format
255 * the challenge packet in pcb->chap_server.challenge_pkt.
261 p = pcb->chap_server.challenge;
272 p = pcb->chap_server.challenge + PPP_HDRLEN;
280 * chap_handle_response - check the response to our challenge.
298 if (id != pcb->chap_server.challenge[PPP_HDRLEN+1] || len < 2)
329 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN,
333 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN,
413 const unsigned char *challenge, const unsigned char *response,
424 ok = digest->verify_response(pcb, id, name, secret, secret_len, challenge,
433 * chap_respond - Generate and send a response to a challenge.