Lines Matching refs:authstate
37 memset(&ses.authstate, 0, sizeof(ses.authstate)); in cli_authinitialise()
67 if (ses.authstate.authdone) { in recv_msg_userauth_banner()
180 ses.authstate.failcount++; in recv_msg_userauth_failure()
185 ses.authstate.authdone=0; in recv_msg_userauth_failure()
186 ses.authstate.authtypes=0; in recv_msg_userauth_failure()
202 ses.authstate.authtypes |= AUTH_TYPE_PUBKEY; in recv_msg_userauth_failure()
208 ses.authstate.authtypes |= AUTH_TYPE_INTERACT; in recv_msg_userauth_failure()
214 ses.authstate.authtypes |= AUTH_TYPE_PASSWORD; in recv_msg_userauth_failure()
232 ses.authstate.authdone = 1; in recv_msg_userauth_success()
247 if (ses.authstate.authtypes & AUTH_TYPE_PUBKEY) { in cli_auth_try()
254 if (!finished && ses.authstate.authtypes & AUTH_TYPE_INTERACT) { in cli_auth_try()
266 if (!finished && ses.authstate.authtypes & AUTH_TYPE_PASSWORD) { in cli_auth_try()