Lines Matching refs:ap
110 Data(ap, type, d, c)
111 Authenticator *ap;
130 *p++ = ap->type;
131 *p++ = ap->way;
145 rsaencpwd_init(ap, server)
146 Authenticator *ap;
169 rsaencpwd_send(ap)
170 Authenticator *ap;
180 if (!Data(ap, NULL, (void *)NULL, 0)) {
189 rsaencpwd_is(ap, data, cnt)
190 Authenticator *ap;
209 Data(ap, RSA_ENCPWD_REJECT, (void *)"Auth failed", -1);
210 auth_finished(ap, AUTH_REJECT);
225 Data(ap, RSA_ENCPWD_REJECT, (void *)"Auth failed", -1);
226 auth_finished(ap, AUTH_REJECT);
234 Data(ap, RSA_ENCPWD_REJECT, (void *)"Illegal password", -1);
235 auth_finished(ap, AUTH_REJECT);
239 Data(ap, RSA_ENCPWD_ACCEPT, (void *)0, 0);
240 auth_finished(ap, AUTH_USER);
250 if ((ap->way & AUTH_HOW_MASK) == AUTH_HOW_ONE_WAY) {
264 Data(ap, RSA_ENCPWD_REJECT, (void *)"Auth failed", -1);
265 auth_finished(ap, AUTH_REJECT);
297 Data(ap, RSA_ENCPWD_CHALLENGEKEY, (void *)chalkey, chalkey_len);
302 Data(ap, RSA_ENCPWD_REJECT, 0, 0);
309 rsaencpwd_reply(ap, data, cnt)
310 Authenticator *ap;
334 auth_finished(ap, AUTH_USER);
368 if (!Data(ap, RSA_ENCPWD_AUTH, (void *)token.dat, token.length)) {
380 rsaencpwd_status(ap, name, level)
381 Authenticator *ap;