Lines Matching refs:ap
118 Data(ap, type, d, c)
119 Authenticator *ap;
138 *p++ = ap->type;
139 *p++ = ap->way;
153 krb4encpwd_init(ap, server)
154 Authenticator *ap;
177 krb4encpwd_send(ap)
178 Authenticator *ap;
189 if (!Data(ap, KRB4_ENCPWD_ACK, (void *)NULL, 0)) {
197 krb4encpwd_is(ap, data, cnt)
198 Authenticator *ap;
219 Data(ap, KRB4_ENCPWD_REJECT, (void *)"Auth failed", -1);
220 auth_finished(ap, AUTH_REJECT);
228 Data(ap, KRB4_ENCPWD_REJECT, (void *)"Illegal password", -1);
229 auth_finished(ap, AUTH_REJECT);
234 Data(ap, KRB4_ENCPWD_ACCEPT, (void *)0, 0);
235 auth_finished(ap, AUTH_USER);
257 if ((ap->way & AUTH_HOW_MASK) == AUTH_HOW_MUTUAL) {
262 Data(ap, KRB4_ENCPWD_CHALLENGE, (void *)challenge, strlen(challenge));
267 Data(ap, KRB4_ENCPWD_REJECT, 0, 0);
274 krb4encpwd_reply(ap, data, cnt)
275 Authenticator *ap;
300 auth_finished(ap, AUTH_USER);
321 if (!Data(ap, KRB4_ENCPWD_AUTH, (void *)krb_token.dat, krb_token.length)) {
333 krb4encpwd_status(ap, name, level)
334 Authenticator *ap;