Lines Matching refs:peer
184 buffer_clear(&kex->peer); in kex_finish()
238 buffer_append(&kex->peer, ptr, dlen); in kex_input_kexinit()
258 buffer_init(&kex->peer); in kex_setup()
378 proposals_match(char *my[PROPOSAL_MAX], char *peer[PROPOSAL_MAX]) in proposals_match()
389 if ((p = strchr(peer[*idx], ',')) != NULL) in proposals_match()
391 if (strcmp(my[*idx], peer[*idx]) != 0) { in proposals_match()
393 my[*idx], peer[*idx]); in proposals_match()
405 char **my, **peer; in kex_choose_conf() local
412 peer = kex_buf2prop(&kex->peer, &first_kex_follows); in kex_choose_conf()
415 cprop=peer; in kex_choose_conf()
419 sprop=peer; in kex_choose_conf()
425 roaming = match_list(KEX_RESUME, peer[PROPOSAL_KEX_ALGS], NULL); in kex_choose_conf()
467 if (first_kex_follows && !proposals_match(my, peer) && in kex_choose_conf()
474 kex_prop_free(peer); in kex_choose_conf()