Lines Matching refs:authctxt
46 get_challenge(Authctxt *authctxt) in get_challenge() argument
60 if ((authctxt->kbdintctxt = device->init_ctx(authctxt)) == NULL) in get_challenge()
62 if (device->query(authctxt->kbdintctxt, &name, &info, in get_challenge()
64 device->free_ctx(authctxt->kbdintctxt); in get_challenge()
65 authctxt->kbdintctxt = NULL; in get_challenge()
81 verify_response(Authctxt *authctxt, const char *response) in verify_response() argument
89 if (authctxt->kbdintctxt == NULL) in verify_response()
92 switch (device->respond(authctxt->kbdintctxt, 1, resp)) { in verify_response()
97 if ((device->query(authctxt->kbdintctxt, &name, &info, in verify_response()
101 device->respond(authctxt->kbdintctxt, 0, resp) == 0) in verify_response()
112 device->free_ctx(authctxt->kbdintctxt); in verify_response()
113 authctxt->kbdintctxt = NULL; in verify_response()
117 abandon_challenge_response(Authctxt *authctxt) in abandon_challenge_response() argument
119 if (authctxt->kbdintctxt != NULL) { in abandon_challenge_response()
120 device->free_ctx(authctxt->kbdintctxt); in abandon_challenge_response()
121 authctxt->kbdintctxt = NULL; in abandon_challenge_response()