Home
last modified time | relevance | path

Searched refs:localalgos (Results 1 – 5 of 5) sorted by relevance

/external/dropbear/
Dcli-algo.c36 algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[], in cli_buf_match_algo() argument
77 for (j = 0; localalgos[j].name != NULL; j++) { in cli_buf_match_algo()
78 if (localalgos[j].usable) { in cli_buf_match_algo()
79 len = strlen(localalgos[j].name); in cli_buf_match_algo()
82 && strncmp(localalgos[j].name, in cli_buf_match_algo()
88 ret = &localalgos[j]; in cli_buf_match_algo()
Dsvr-algo.c35 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[], in svr_buf_match_algo() argument
81 for (j = 0; localalgos[j].name != NULL; j++) { in svr_buf_match_algo()
82 if (localalgos[j].usable) { in svr_buf_match_algo()
83 if (len == strlen(localalgos[j].name) && in svr_buf_match_algo()
84 strncmp(localalgos[j].name, remotealgos[i], len) == 0) { in svr_buf_match_algo()
90 ret = &localalgos[j]; in svr_buf_match_algo()
Dcommon-algo.c212 void buf_put_algolist(buffer * buf, algo_type localalgos[]) { in buf_put_algolist() argument
219 for (i = 0; localalgos[i].name != NULL; i++) { in buf_put_algolist()
220 if (localalgos[i].usable) { in buf_put_algolist()
224 len = strlen(localalgos[i].name); in buf_put_algolist()
225 buf_putbytes(algolist, localalgos[i].name, len); in buf_put_algolist()
Dalgo.h67 void buf_put_algolist(buffer * buf, algo_type localalgos[]);
69 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[],
71 algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[],
Dsession.h141 algo_type*(*buf_match_algo)(buffer*buf, algo_type localalgos[],