/external/dropbear/ |
D | rsa.c | 51 int ret = DROPBEAR_FAILURE; in buf_get_rsa_pub_key() 63 if (buf_getmpint(buf, key->e) == DROPBEAR_FAILURE in buf_get_rsa_pub_key() 64 || buf_getmpint(buf, key->n) == DROPBEAR_FAILURE) { in buf_get_rsa_pub_key() 77 if (ret == DROPBEAR_FAILURE) { in buf_get_rsa_pub_key() 88 int ret = DROPBEAR_FAILURE; in buf_get_rsa_priv_key() 93 if (buf_get_rsa_pub_key(buf, key) == DROPBEAR_FAILURE) { in buf_get_rsa_priv_key() 95 return DROPBEAR_FAILURE; in buf_get_rsa_priv_key() 104 if (buf_getmpint(buf, key->d) == DROPBEAR_FAILURE) { in buf_get_rsa_priv_key() 116 if (buf_getmpint(buf, key->p) == DROPBEAR_FAILURE) { in buf_get_rsa_priv_key() 121 if (buf_getmpint(buf, key->q) == DROPBEAR_FAILURE) { in buf_get_rsa_priv_key() [all …]
|
D | svr-authpubkey.c | 74 if (checkpubkey(algo, algolen, keyblob, keybloblen) == DROPBEAR_FAILURE) { in svr_auth_pubkey() 90 if (buf_get_pub_key(ses.payload, key, &type) == DROPBEAR_FAILURE) { in svr_auth_pubkey() 159 int ret = DROPBEAR_FAILURE; in checkpubkey() 166 if (have_algo(algo, algolen, sshhostkey) == DROPBEAR_FAILURE) { in checkpubkey() 174 if (checkpubkeyperms() == DROPBEAR_FAILURE) { in checkpubkey() 200 if (buf_getline(line, authfile) == DROPBEAR_FAILURE) { in checkpubkey() 264 int ret = DROPBEAR_FAILURE; in checkpubkeyperms() 320 return DROPBEAR_FAILURE; in checkfileperm() 339 return DROPBEAR_FAILURE; in checkfileperm()
|
D | dss.c | 58 if (buf_getmpint(buf, key->p) == DROPBEAR_FAILURE in buf_get_dss_pub_key() 59 || buf_getmpint(buf, key->q) == DROPBEAR_FAILURE in buf_get_dss_pub_key() 60 || buf_getmpint(buf, key->g) == DROPBEAR_FAILURE in buf_get_dss_pub_key() 61 || buf_getmpint(buf, key->y) == DROPBEAR_FAILURE) { in buf_get_dss_pub_key() 63 return DROPBEAR_FAILURE; in buf_get_dss_pub_key() 69 return DROPBEAR_FAILURE; in buf_get_dss_pub_key() 81 int ret = DROPBEAR_FAILURE; in buf_get_dss_priv_key() 86 if (ret == DROPBEAR_FAILURE) { in buf_get_dss_priv_key() 87 return DROPBEAR_FAILURE; in buf_get_dss_priv_key() 93 if (ret == DROPBEAR_FAILURE) { in buf_get_dss_priv_key() [all …]
|
D | signkey.c | 95 int ret = DROPBEAR_FAILURE; in buf_get_pub_key() 104 return DROPBEAR_FAILURE; in buf_get_pub_key() 117 if (ret == DROPBEAR_FAILURE) { in buf_get_pub_key() 127 if (ret == DROPBEAR_FAILURE) { in buf_get_pub_key() 147 int ret = DROPBEAR_FAILURE; in buf_get_priv_key() 157 return DROPBEAR_FAILURE; in buf_get_priv_key() 170 if (ret == DROPBEAR_FAILURE) { in buf_get_priv_key() 180 if (ret == DROPBEAR_FAILURE) { in buf_get_priv_key() 426 return DROPBEAR_FAILURE; in buf_verify() 442 int ret = DROPBEAR_FAILURE; in cmp_base64_key()
|
D | common-runopts.c | 38 int ret = DROPBEAR_FAILURE; in readhostkey() 43 if (buf_readfile(buf, filename) == DROPBEAR_FAILURE) { in readhostkey() 47 if (buf_get_priv_key(buf, hostkey, type) == DROPBEAR_FAILURE) { in readhostkey()
|
D | svr-chansession.c | 380 return DROPBEAR_FAILURE; in sessionsignal() 398 return DROPBEAR_FAILURE; in sessionsignal() 402 return DROPBEAR_FAILURE; in sessionsignal() 416 return DROPBEAR_FAILURE; in sessionwinchange() 533 return DROPBEAR_FAILURE; in sessionpty() 542 return DROPBEAR_FAILURE; in sessionpty() 578 return DROPBEAR_FAILURE; in sessioncommand() 588 return DROPBEAR_FAILURE; in sessioncommand() 599 return DROPBEAR_FAILURE; in sessioncommand() 622 if (ret == DROPBEAR_FAILURE) { in sessioncommand() [all …]
|
D | svr-agentfwd.c | 56 return DROPBEAR_FAILURE; in agentreq() 66 if (bindagent(fd, chansess) == DROPBEAR_FAILURE) { in agentreq() 92 return DROPBEAR_FAILURE; in agentreq() 196 return DROPBEAR_FAILURE; in send_msg_channel_open_agent() 211 int ret = DROPBEAR_FAILURE; in bindagent()
|
D | svr-auth.c | 137 if (checkusername(username, userlen) == DROPBEAR_FAILURE) { in recv_msg_userauth_request() 200 return DROPBEAR_FAILURE; in checkusername() 225 return DROPBEAR_FAILURE; in checkusername() 236 return DROPBEAR_FAILURE; in checkusername() 245 return DROPBEAR_FAILURE; in checkusername() 274 return DROPBEAR_FAILURE; in checkusername()
|
D | svr-x11fwd.c | 52 return DROPBEAR_FAILURE; in x11req() 96 return DROPBEAR_FAILURE; in x11req() 122 if (ret == DROPBEAR_FAILURE) { in x11accept() 202 return DROPBEAR_FAILURE; in send_msg_channel_open_x11()
|
D | svr-tcpfwd.c | 71 int ret = DROPBEAR_FAILURE; in recv_msg_global_request_remotetcp() 139 int ret = DROPBEAR_FAILURE; in svr_cancelremotetcp() 174 int ret = DROPBEAR_FAILURE; in svr_remotetcpreq() 216 if (ret == DROPBEAR_FAILURE) { in svr_remotetcpreq()
|
D | tcp-accept.c | 127 return DROPBEAR_FAILURE; in listen_tcpfwd() 137 return DROPBEAR_FAILURE; in listen_tcpfwd()
|
D | buffer.c | 324 return DROPBEAR_FAILURE; in buf_getmpint() 329 return DROPBEAR_FAILURE; in buf_getmpint() 333 return DROPBEAR_FAILURE; in buf_getmpint()
|
D | cli-tcpfwd.c | 75 if (ret == DROPBEAR_FAILURE) { in setup_localtcp() 114 if (ret == DROPBEAR_FAILURE) { in cli_localtcp()
|
D | svr-runopts.c | 332 if (ret == DROPBEAR_FAILURE) { in loadhostkeys() 339 if (ret == DROPBEAR_FAILURE) { in loadhostkeys()
|
D | dropbearkey.c | 258 int err = DROPBEAR_FAILURE; 273 if (ret == DROPBEAR_FAILURE) {
|
D | options.h | 273 #define DROPBEAR_FAILURE -1 macro
|
D | common-algo.c | 206 return DROPBEAR_FAILURE; in have_algo()
|
D | dbutil.c | 533 int ret = DROPBEAR_FAILURE; in buf_readfile() 597 return DROPBEAR_FAILURE; in buf_getline()
|
D | common-session.c | 242 strlen(LOCAL_IDENT "\r\n")) == DROPBEAR_FAILURE) { in session_identification()
|
D | cli-kex.c | 232 if (buf_getline(line, hostsfile) == DROPBEAR_FAILURE) { in checkhostkey()
|
D | cli-chansession.c | 373 == DROPBEAR_FAILURE) { in cli_send_chansess_request()
|
D | packet.c | 356 return DROPBEAR_FAILURE; in checkmac()
|
D | keyimport.c | 115 if (buf_readfile(buf, filename) == DROPBEAR_FAILURE) { in dropbear_read() 123 if (buf_get_priv_key(buf, ret, &type) == DROPBEAR_FAILURE){ in dropbear_read()
|
D | common-channel.c | 956 return DROPBEAR_FAILURE; in send_msg_channel_open_init()
|