Home
last modified time | relevance | path

Searched refs:dropbear_exit (Results 1 – 25 of 33) sorted by relevance

12

/external/dropbear/
Dbuffer.c46 dropbear_exit("buf->size too big"); in buf_new()
84 dropbear_exit("buf->size too big"); in buf_resize()
109 dropbear_exit("bad buf_setlen"); in buf_setlen()
117 dropbear_exit("bad buf_incrlen"); in buf_incrlen()
125 dropbear_exit("bad buf_setpos"); in buf_setpos()
133 dropbear_exit("bad buf_incrwritepos"); in buf_incrwritepos()
147 dropbear_exit("bad buf_incrpos"); in buf_incrpos()
158 dropbear_exit("bad buf_getbyte"); in buf_getbyte()
188 dropbear_exit("bad buf_getptr"); in buf_getptr()
198 dropbear_exit("bad buf_getwriteptr"); in buf_getwriteptr()
[all …]
Drandom.c67 dropbear_exit("couldn't open random device"); in readrand()
79 dropbear_exit("couldn't open random device"); in readrand()
84 dropbear_exit("couldn't open random device"); in readrand()
88 dropbear_exit("can't request more than 255 bytes from egd"); in readrand()
92 dropbear_exit("can't send command to egd"); in readrand()
121 dropbear_exit("error reading random source"); in readrand()
165 dropbear_exit("seedrandom not done"); in reseedrandom()
186 dropbear_exit("seedrandom not done"); in genrandom()
Dsvr-main.c73 dropbear_exit("Compiled without normal mode, can't run without -i\n"); in dropbear_main()
90 dropbear_exit("Unable to getpeername: %s", strerror(errno)); in main_inetd()
142 dropbear_exit("Failed to daemonize: %s", strerror(errno)); in main_noinetd()
170 dropbear_exit("No listening ports available."); in main_noinetd()
198 dropbear_exit("Terminated by signal"); in main_noinetd()
210 dropbear_exit("Listening socket error"); in main_noinetd()
300 dropbear_exit("setsid: %s", strerror(errno)); in main_noinetd()
341 dropbear_exit("signal() error"); in sigchld_handler()
374 dropbear_exit("signal() error"); in commonsetup()
381 dropbear_exit("signal() error"); in commonsetup()
[all …]
Dpacket.c71 dropbear_exit("error writing"); in write_packet()
134 dropbear_exit("error reading: %s", strerror(errno)); in read_packet()
182 dropbear_exit("error reading: %s", strerror(errno)); in read_packet_init()
206 dropbear_exit("error decrypting"); in read_packet_init()
218 dropbear_exit("bad packet size %d", len); in read_packet_init()
260 dropbear_exit("error decrypting"); in decrypt_packet()
270 dropbear_exit("Integrity error"); in decrypt_packet()
285 dropbear_exit("bad packet size"); in decrypt_packet()
334 dropbear_exit("HMAC error"); in checkmac()
340 dropbear_exit("HMAC error"); in checkmac()
[all …]
Dcommon-kex.c210 dropbear_exit("Error getting time"); in kexinitialise()
302 dropbear_exit("crypto error"); in gen_new_keys()
307 dropbear_exit("crypto error"); in gen_new_keys()
311 dropbear_exit("crypto error"); in gen_new_keys()
316 dropbear_exit("crypto error"); in gen_new_keys()
350 dropbear_exit("zlib error"); in gen_new_zstreams()
363 dropbear_exit("zlib error"); in gen_new_zstreams()
373 dropbear_exit("crypto error"); in gen_new_zstreams()
380 dropbear_exit("crypto error"); in gen_new_zstreams()
488 dropbear_exit("Diffie-Hellman error"); in gen_kexdh_vals()
[all …]
Ddss.c273 dropbear_exit("mem alloc error"); in mptobytes()
345 dropbear_exit("dss error"); in buf_put_dss_sign()
358 dropbear_exit("dss error"); in buf_put_dss_sign()
362 dropbear_exit("dss error"); in buf_put_dss_sign()
367 dropbear_exit("dss error"); in buf_put_dss_sign()
371 dropbear_exit("dss error"); in buf_put_dss_sign()
376 dropbear_exit("dss error"); in buf_put_dss_sign()
381 dropbear_exit("dss error"); in buf_put_dss_sign()
395 dropbear_exit("dss error"); in buf_put_dss_sign()
408 dropbear_exit("dss error"); in buf_put_dss_sign()
Dcircbuffer.c36 dropbear_exit("bad cbuf size"); in cbuf_new()
104 dropbear_exit("bad cbuf read"); in cbuf_readptr()
113 dropbear_exit("bad cbuf write"); in cbuf_writeptr()
121 dropbear_exit("bad cbuf write"); in cbuf_incrwrite()
132 dropbear_exit("bad cbuf read"); in cbuf_incrread()
Dbignum.c34 dropbear_exit("mem alloc error"); in m_mp_init()
48 dropbear_exit("mem alloc error"); in m_mp_init_multi()
58 dropbear_exit("mem alloc error"); in bytes_to_mp()
Dsvr-runopts.c145 dropbear_exit("Invalid null argument"); in svr_getopts()
250 dropbear_exit("Error opening banner file '%s'", in svr_getopts()
255 dropbear_exit("Banner file too large, max is %d bytes", in svr_getopts()
261 dropbear_exit("Error reading banner file '%s'", in svr_getopts()
298 dropbear_exit("Bad port"); in addportandaddress()
352 dropbear_exit("No hostkeys available"); in loadhostkeys()
Dprocess-packet.c66 dropbear_exit("received SSH_MSG_UNIMPLEMENTED"); in process_packet()
79 dropbear_exit("unexpected packet type %d, expected %d", type, in process_packet()
101 dropbear_exit("received message %d before userauth", type); in process_packet()
Ddbutil.c92 void dropbear_exit(const char* format, ...) { in dropbear_exit() function
114 dropbear_exit("failed assertion (%s:%d): `%s'", file, line, expr); in fail_assert()
423 dropbear_exit("failed lookup (%d, %d)", ret, errno); in getaddrstring()
617 dropbear_exit("Error closing fd %d, %s", fd, strerror(errno)); in m_close()
626 dropbear_exit("m_malloc failed"); in m_malloc()
630 dropbear_exit("m_malloc failed"); in m_malloc()
641 dropbear_exit("m_strdup failed"); in m_strdup()
657 dropbear_exit("m_realloc failed"); in m_realloc()
661 dropbear_exit("m_realloc failed"); in m_realloc()
691 dropbear_exit("Couldn't set nonblocking"); in setnonblocking()
Dcli-kex.c71 dropbear_exit("Received out-of-order kexdhreply"); in recv_msg_kexdh_reply()
88 dropbear_exit("Bad KEX packet"); in recv_msg_kexdh_reply()
93 dropbear_exit("Bad KEX packet"); in recv_msg_kexdh_reply()
104 dropbear_exit("Bad hostkey signature"); in recv_msg_kexdh_reply()
146 dropbear_exit("Didn't validate host key"); in ask_to_confirm()
283 dropbear_exit("\n\nHost key mismatch for %s !\n" in checkhostkey()
Dcli-runopts.c143 dropbear_exit("Invalid null argument"); in cli_getopts()
290 dropbear_exit("command required for -f"); in cli_getopts()
347 dropbear_exit("Unknown own user"); in parsehostname()
354 dropbear_exit("Bad hostname"); in parsehostname()
428 dropbear_exit("Bad TCP forward '%s'", origstr); in addforward()
431 dropbear_exit("Bad TCP port in '%s'", origstr); in addforward()
Drsa.c305 dropbear_exit("rsa error"); in buf_put_rsa_sign()
308 dropbear_exit("rsa error"); in buf_put_rsa_sign()
311 dropbear_exit("rsa error"); in buf_put_rsa_sign()
317 dropbear_exit("rsa error"); in buf_put_rsa_sign()
324 dropbear_exit("rsa error"); in buf_put_rsa_sign()
332 dropbear_exit("rsa error"); in buf_put_rsa_sign()
354 dropbear_exit("rsa error"); in buf_put_rsa_sign()
Dsignkey.c63 dropbear_exit("bad key type %d", type); in signkey_name_from_type()
211 dropbear_exit("bad key types in buf_put_pub_key"); in buf_put_pub_key()
242 dropbear_exit("bad key types in put pub key"); in buf_put_priv_key()
375 dropbear_exit("non-matching signing type"); in buf_put_sign()
408 dropbear_exit("no dss key to verify signature"); in buf_verify()
418 dropbear_exit("no rsa key to verify signature"); in buf_verify()
425 dropbear_exit("non-matching signing type"); in buf_verify()
Dcommon-session.c65 dropbear_exit("signal pipe failed"); in common_session_init()
152 dropbear_exit("Terminated by signal"); in session_loop()
156 dropbear_exit("Error in select"); in session_loop()
274 dropbear_exit("Incompatible remote version '%s'", ses.remoteident); in session_identification()
363 dropbear_exit("Error getting time"); in checktimeouts()
Dsvr-chansession.c450 dropbear_exit("bad term mode string"); in get_termmodes()
538 dropbear_exit("multiple pty requests"); in sessionpty()
547 dropbear_exit("out of memory"); /* TODO disconnect */ in sessionpty()
664 dropbear_exit("signal() error"); in noptycommand()
767 dropbear_exit("signal() error"); in ptycommand()
914 dropbear_exit("error changing user group"); in execchild()
917 dropbear_exit("error changing user"); in execchild()
928 dropbear_exit("couldn't change user as non-root"); in execchild()
950 dropbear_exit("error changing directory"); in execchild()
964 dropbear_exit("signal() error"); in execchild()
[all …]
Dsvr-agentfwd.c155 dropbear_exit("failed to set euid"); in agentcleanup()
170 dropbear_exit("failed to revert euid"); in agentcleanup()
218 dropbear_exit("failed to set euid"); in bindagent()
261 dropbear_exit("failed to revert euid"); in bindagent()
Dsvr-service.c60 dropbear_exit("request for connection before auth"); in recv_msg_service_request()
71 dropbear_exit("unrecognised SSH_MSG_SERVICE_REQUEST"); in recv_msg_service_request()
Dcli-service.c75 dropbear_exit("request for connection before auth"); in recv_msg_service_accept()
84 dropbear_exit("unrecognised service accept"); in recv_msg_service_accept()
Dsshpty.c64 dropbear_exit("ttyname fails for openpty device"); in pty_allocate()
170 dropbear_exit("ttyname fails for /dev/ptc device"); in pty_allocate()
379 dropbear_exit("pty_setowner: stat(%.101s) failed: %.100s", in pty_setowner()
392 dropbear_exit("chown(%.100s, %u, %u) failed: %.100s", in pty_setowner()
407 dropbear_exit("chmod(%.100s, 0%o) failed: %.100s", in pty_setowner()
Dsvr-kex.c51 dropbear_exit("Premature kexdh_init message received"); in recv_msg_kexdh_init()
56 dropbear_exit("Failed to get kex value"); in recv_msg_kexdh_init()
Dcli-auth.c133 dropbear_exit("Unexpected userauth packet"); in recv_msg_userauth_specific_60()
149 dropbear_exit("Unexpected userauth failure"); in recv_msg_userauth_failure()
276 dropbear_exit("No auth methods could be used."); in cli_auth_try()
Dcli-chansession.c120 dropbear_exit("Failed to set raw TTY mode"); in cli_tty_setup()
139 dropbear_exit("Failed to set raw TTY mode"); in cli_tty_setup()
312 dropbear_exit("signal error"); in send_chansess_pty_req()
374 dropbear_exit("Couldn't open initial channel"); in cli_send_chansess_request()
Dcli-session.c222 dropbear_exit("opening /dev/null: %d %s", in cli_sessionloop()
227 dropbear_exit("Backgrounding failed: %d %s", in cli_sessionloop()
299 dropbear_exit("remote closed the connection"); in cli_remoteclosed()

12