Lines Matching defs:challenge
52 /* Hook for a plugin to validate CHAP challenge */
55 unsigned char *challenge, unsigned char *response,
71 { "chap-max-challenge", o_int, &chap_max_transmits,
72 "Set max #xmits for challenge", OPT_PRIO },
89 * These limits apply to challenge and response packets we send.
102 unsigned char challenge[CHAL_MAX_PKTLEN];
126 unsigned char *challenge, unsigned char *response,
225 * There isn't much to do until we receive a challenge.
250 * chap_timeout - It's time to send another challenge to the peer.
251 * This could be either a retransmission of a previous challenge,
252 * or a new challenge to start re-authentication.
271 output(0, ss->challenge, ss->challenge_pktlen);
278 * chap_generate_challenge - generate a challenge string and format
279 * the challenge packet in ss->challenge_pkt.
287 p = ss->challenge;
298 p = ss->challenge + PPP_HDRLEN;
306 * chap_handle_response - check the response to our challenge.
321 if (id != ss->challenge[PPP_HDRLEN+1] || len < 2)
349 ss->challenge + PPP_HDRLEN + CHAP_HDRLEN,
414 unsigned char *challenge, unsigned char *response,
427 ok = digest->verify_response(id, name, secret, secret_len, challenge,
435 * chap_respond - Generate and send a response to a challenge.
585 "Challenge", "Response", "Success", "Failure"