Home | History | Annotate | Download | only in dropbear

Lines Matching refs:ses

37 	memset(&ses.authstate, 0, sizeof(ses.authstate));
48 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_REQUEST);
49 buf_putstring(ses.writepayload, cli_opts.username,
51 buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION,
53 buf_putstring(ses.writepayload, "none", 4); /* 'none' method */
67 if (ses.authstate.authdone) {
72 banner = buf_getstring(ses.payload, &bannerlen);
73 buf_eatstring(ses.payload); /* The language string */
173 methods = buf_getstring(ses.payload, &methlen);
175 partial = buf_getbool(ses.payload);
180 ses.authstate.failcount++;
185 ses.authstate.authdone=0;
186 ses.authstate.authtypes=0;
202 ses.authstate.authtypes |= AUTH_TYPE_PUBKEY;
208 ses.authstate.authtypes |= AUTH_TYPE_INTERACT;
214 ses.authstate.authtypes |= AUTH_TYPE_PASSWORD;
232 ses.authstate.authdone = 1;
247 if (ses.authstate.authtypes & AUTH_TYPE_PUBKEY) {
254 if (!finished && ses.authstate.authtypes & AUTH_TYPE_INTERACT) {
266 if (!finished && ses.authstate.authtypes & AUTH_TYPE_PASSWORD) {