/external/dropbear/ |
common-runopts.c | 38 int ret = DROPBEAR_FAILURE; 43 if (buf_readfile(buf, filename) == DROPBEAR_FAILURE) { 47 if (buf_get_priv_key(buf, hostkey, type) == DROPBEAR_FAILURE) {
|
rsa.c | 48 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 51 int ret = DROPBEAR_FAILURE; 63 if (buf_getmpint(buf, key->e) == DROPBEAR_FAILURE 64 || buf_getmpint(buf, key->n) == DROPBEAR_FAILURE) { 77 if (ret == DROPBEAR_FAILURE) { 86 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 88 int ret = DROPBEAR_FAILURE; 93 if (buf_get_rsa_pub_key(buf, key) == DROPBEAR_FAILURE) { 94 TRACE(("leave buf_get_rsa_priv_key: pub: ret == DROPBEAR_FAILURE")) 95 return DROPBEAR_FAILURE; [all...] |
svr-authpubkey.c | 74 if (checkpubkey(algo, algolen, keyblob, keybloblen) == DROPBEAR_FAILURE) { 90 if (buf_get_pub_key(ses.payload, key, &type) == DROPBEAR_FAILURE) { 153 /* Returns DROPBEAR_SUCCESS if key is ok for auth, DROPBEAR_FAILURE otherwise */ 159 int ret = DROPBEAR_FAILURE; 166 if (have_algo(algo, algolen, sshhostkey) == DROPBEAR_FAILURE) { 174 if (checkpubkeyperms() == DROPBEAR_FAILURE) { 200 if (buf_getline(line, authfile) == DROPBEAR_FAILURE) { 257 * DROPBEAR_FAILURE otherwise. 264 int ret = DROPBEAR_FAILURE; 311 /* returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ [all...] |
dss.c | 45 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 58 if (buf_getmpint(buf, key->p) == DROPBEAR_FAILURE 59 || buf_getmpint(buf, key->q) == DROPBEAR_FAILURE 60 || buf_getmpint(buf, key->g) == DROPBEAR_FAILURE 61 || buf_getmpint(buf, key->y) == DROPBEAR_FAILURE) { 63 return DROPBEAR_FAILURE; 69 return DROPBEAR_FAILURE; 78 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 81 int ret = DROPBEAR_FAILURE; 86 if (ret == DROPBEAR_FAILURE) { [all...] |
svr-agentfwd.c | 50 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 56 return DROPBEAR_FAILURE; 66 if (bindagent(fd, chansess) == DROPBEAR_FAILURE) { 92 return DROPBEAR_FAILURE; 97 /* returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 196 return DROPBEAR_FAILURE; 201 returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 211 int ret = DROPBEAR_FAILURE;
|
signkey.c | 87 /* returns DROPBEAR_SUCCESS on success, DROPBEAR_FAILURE on fail. 95 int ret = DROPBEAR_FAILURE; 104 return DROPBEAR_FAILURE; 117 if (ret == DROPBEAR_FAILURE) { 127 if (ret == DROPBEAR_FAILURE) { 139 /* returns DROPBEAR_SUCCESS on success, DROPBEAR_FAILURE on fail. 147 int ret = DROPBEAR_FAILURE; 157 return DROPBEAR_FAILURE; 170 if (ret == DROPBEAR_FAILURE) { 180 if (ret == DROPBEAR_FAILURE) { [all...] |
svr-tcpfwd.c | 71 int ret = DROPBEAR_FAILURE; 139 int ret = DROPBEAR_FAILURE; 174 int ret = DROPBEAR_FAILURE; 216 if (ret == DROPBEAR_FAILURE) {
|
svr-x11fwd.c | 45 /* returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 52 return DROPBEAR_FAILURE; 96 return DROPBEAR_FAILURE; 100 /* returns DROPBEAR_FAILURE or DROPBEAR_SUCCESS */ 122 if (ret == DROPBEAR_FAILURE) { 202 return DROPBEAR_FAILURE;
|
tcp-accept.c | 127 return DROPBEAR_FAILURE; 137 return DROPBEAR_FAILURE;
|
svr-auth.c | 137 if (checkusername(username, userlen) == DROPBEAR_FAILURE) { 192 * returns DROPBEAR_SUCCESS on valid username, DROPBEAR_FAILURE on failure */ 200 return DROPBEAR_FAILURE; 225 return DROPBEAR_FAILURE; 236 return DROPBEAR_FAILURE; 245 return DROPBEAR_FAILURE; 274 return DROPBEAR_FAILURE;
|
svr-chansession.c | 380 return DROPBEAR_FAILURE; 398 return DROPBEAR_FAILURE; 402 return DROPBEAR_FAILURE; 409 * client. Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 416 return DROPBEAR_FAILURE; 522 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 533 return DROPBEAR_FAILURE; 542 return DROPBEAR_FAILURE; 565 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 578 return DROPBEAR_FAILURE; [all...] |
cli-tcpfwd.c | 75 if (ret == DROPBEAR_FAILURE) { 114 if (ret == DROPBEAR_FAILURE) {
|
buffer.c | 312 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 324 return DROPBEAR_FAILURE; 329 return DROPBEAR_FAILURE; 333 return DROPBEAR_FAILURE;
|
common-algo.c | 193 * Returns DROPBEAR_SUCCESS if we have a match for algo, DROPBEAR_FAILURE 206 return DROPBEAR_FAILURE;
|
options.h | 273 #define DROPBEAR_FAILURE -1
|
dropbearkey.c | 258 int err = DROPBEAR_FAILURE; 273 if (ret == DROPBEAR_FAILURE) {
|
svr-runopts.c | 332 if (ret == DROPBEAR_FAILURE) { 339 if (ret == DROPBEAR_FAILURE) {
|
dbutil.c | 527 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 533 int ret = DROPBEAR_FAILURE; 564 * Will return DROPBEAR_SUCCESS if data is read, or DROPBEAR_FAILURE on EOF.*/ 597 return DROPBEAR_FAILURE;
|
cli-chansession.c | 373 == DROPBEAR_FAILURE) {
|
cli-kex.c | 232 if (buf_getline(line, hostsfile) == DROPBEAR_FAILURE) {
|
common-session.c | 242 strlen(LOCAL_IDENT "\r\n")) == DROPBEAR_FAILURE) {
|
packet.c | 314 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 356 return DROPBEAR_FAILURE;
|
keyimport.c | 115 if (buf_readfile(buf, filename) == DROPBEAR_FAILURE) { 123 if (buf_get_priv_key(buf, ret, &type) == DROPBEAR_FAILURE){ [all...] |
common-channel.c | 956 return DROPBEAR_FAILURE;
|