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

/external/dropbear/
H A Dcli-algo.c36 algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[], argument
77 for (j = 0; localalgos[j].name != NULL; j++) {
78 if (localalgos[j].usable) {
79 len = strlen(localalgos[j].name);
82 && strncmp(localalgos[j].name,
88 ret = &localalgos[j];
H A Dsvr-algo.c31 * also in localalgos[], or return NULL on failure.
35 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[], argument
81 for (j = 0; localalgos[j].name != NULL; j++) {
82 if (localalgos[j].usable) {
83 if (len == strlen(localalgos[j].name) &&
84 strncmp(localalgos[j].name, remotealgos[i], len) == 0) {
90 ret = &localalgos[j];
H A 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[],
H A Dcommon-algo.c212 void buf_put_algolist(buffer * buf, algo_type localalgos[]) { argument
219 for (i = 0; localalgos[i].name != NULL; i++) {
220 if (localalgos[i].usable) {
224 len = strlen(localalgos[i].name);
225 buf_putbytes(algolist, localalgos[i].name, len);
H A Dsession.h141 algo_type*(*buf_match_algo)(buffer*buf, algo_type localalgos[],

Completed in 229 milliseconds