Searched refs:algolist (Results 1 – 3 of 3) sorted by relevance
/external/dropbear/ |
D | svr-algo.c | 39 unsigned char * algolist = NULL; in svr_buf_match_algo() local 48 algolist = buf_getstring(buf, &len); in svr_buf_match_algo() 50 TRACE(("buf_match_algo: %s", algolist)) in svr_buf_match_algo() 57 remotealgos[0] = algolist; in svr_buf_match_algo() 62 if (algolist[i] == '\0') { in svr_buf_match_algo() 66 if (algolist[i] == ',') { in svr_buf_match_algo() 67 algolist[i] = '\0'; in svr_buf_match_algo() 68 remotealgos[count] = &algolist[i+1]; in svr_buf_match_algo() 98 m_free(algolist); in svr_buf_match_algo()
|
D | cli-algo.c | 39 unsigned char * algolist = NULL; in cli_buf_match_algo() local 48 algolist = buf_getstring(buf, &len); in cli_buf_match_algo() 49 TRACE(("cli_buf_match_algo: %s", algolist)) in cli_buf_match_algo() 56 remotealgos[0] = algolist; in cli_buf_match_algo() 61 if (algolist[i] == '\0') { in cli_buf_match_algo() 65 if (algolist[i] == ',') { in cli_buf_match_algo() 66 algolist[i] = '\0'; in cli_buf_match_algo() 67 remotealgos[count] = &algolist[i+1]; in cli_buf_match_algo() 96 m_free(algolist); in cli_buf_match_algo()
|
D | common-algo.c | 216 buffer *algolist = NULL; in buf_put_algolist() local 218 algolist = buf_new(100); in buf_put_algolist() 222 buf_putbyte(algolist, ','); in buf_put_algolist() 225 buf_putbytes(algolist, localalgos[i].name, len); in buf_put_algolist() 228 buf_putstring(buf, algolist->data, algolist->len); in buf_put_algolist() 229 buf_free(algolist); in buf_put_algolist()
|