Home
last modified time | relevance | path

Searched refs:DROPBEAR_FAILURE (Results 1 – 24 of 24) sorted by relevance

/external/dropbear/
Drsa.c51 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 …]
Dsvr-authpubkey.c74 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()
Ddss.c58 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 …]
Dsignkey.c95 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()
Dcommon-runopts.c38 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()
Dsvr-chansession.c380 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 …]
Dsvr-agentfwd.c56 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()
Dsvr-auth.c137 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()
Dsvr-x11fwd.c52 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()
Dsvr-tcpfwd.c71 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()
Dtcp-accept.c127 return DROPBEAR_FAILURE; in listen_tcpfwd()
137 return DROPBEAR_FAILURE; in listen_tcpfwd()
Dbuffer.c324 return DROPBEAR_FAILURE; in buf_getmpint()
329 return DROPBEAR_FAILURE; in buf_getmpint()
333 return DROPBEAR_FAILURE; in buf_getmpint()
Dcli-tcpfwd.c75 if (ret == DROPBEAR_FAILURE) { in setup_localtcp()
114 if (ret == DROPBEAR_FAILURE) { in cli_localtcp()
Dsvr-runopts.c332 if (ret == DROPBEAR_FAILURE) { in loadhostkeys()
339 if (ret == DROPBEAR_FAILURE) { in loadhostkeys()
Ddropbearkey.c258 int err = DROPBEAR_FAILURE;
273 if (ret == DROPBEAR_FAILURE) {
Doptions.h273 #define DROPBEAR_FAILURE -1 macro
Dcommon-algo.c206 return DROPBEAR_FAILURE; in have_algo()
Ddbutil.c533 int ret = DROPBEAR_FAILURE; in buf_readfile()
597 return DROPBEAR_FAILURE; in buf_getline()
Dcommon-session.c242 strlen(LOCAL_IDENT "\r\n")) == DROPBEAR_FAILURE) { in session_identification()
Dcli-kex.c232 if (buf_getline(line, hostsfile) == DROPBEAR_FAILURE) { in checkhostkey()
Dcli-chansession.c373 == DROPBEAR_FAILURE) { in cli_send_chansess_request()
Dpacket.c356 return DROPBEAR_FAILURE; in checkmac()
Dkeyimport.c115 if (buf_readfile(buf, filename) == DROPBEAR_FAILURE) { in dropbear_read()
123 if (buf_get_priv_key(buf, ret, &type) == DROPBEAR_FAILURE){ in dropbear_read()
Dcommon-channel.c956 return DROPBEAR_FAILURE; in send_msg_channel_open_init()