Lines Matching defs:challenge
48 /* Hook for a plugin to validate CHAP challenge */
51 unsigned char *challenge, unsigned char *response,
67 { "chap-max-challenge", o_int, &chap_max_transmits,
68 "Set max #xmits for challenge", OPT_PRIO },
85 * These limits apply to challenge and response packets we send.
98 unsigned char challenge[CHAL_MAX_PKTLEN];
122 unsigned char *challenge, unsigned char *response,
221 * There isn't much to do until we receive a challenge.
246 * chap_timeout - It's time to send another challenge to the peer.
247 * This could be either a retransmission of a previous challenge,
248 * or a new challenge to start re-authentication.
267 output(0, ss->challenge, ss->challenge_pktlen);
274 * chap_generate_challenge - generate a challenge string and format
275 * the challenge packet in ss->challenge_pkt.
283 p = ss->challenge;
294 p = ss->challenge + PPP_HDRLEN;
302 * chap_handle_response - check the response to our challenge.
317 if (id != ss->challenge[PPP_HDRLEN+1] || len < 2)
345 ss->challenge + PPP_HDRLEN + CHAP_HDRLEN,
394 unsigned char *challenge, unsigned char *response,
407 ok = digest->verify_response(id, name, secret, secret_len, challenge,
415 * chap_respond - Generate and send a response to a challenge.