Lines Matching defs:chap
256 login_send_chap_c(struct pdu *request, struct chap *chap)
262 chap_c = chap_get_challenge(chap);
263 chap_i = chap_get_id(chap);
280 struct chap *chap, const struct auth **authp)
302 error = chap_receive(chap, chap_r);
323 error = chap_authenticate(chap, auth->a_secret);
409 struct chap *chap;
421 chap = chap_new();
427 sizeof(chap->chap_challenge));
428 login_send_chap_c(request, chap);
435 request = login_receive_chap_r(conn, ag, chap, &auth);
449 conn->conn_chap = chap;