Searched refs:ctos (Results 1 – 1 of 1) sorted by relevance
408 u_int mode, ctos, need; in kex_choose_conf() local436 ctos = (!kex->server && mode == MODE_OUT) || in kex_choose_conf()438 nenc = ctos ? PROPOSAL_ENC_ALGS_CTOS : PROPOSAL_ENC_ALGS_STOC; in kex_choose_conf()439 nmac = ctos ? PROPOSAL_MAC_ALGS_CTOS : PROPOSAL_MAC_ALGS_STOC; in kex_choose_conf()440 ncomp = ctos ? PROPOSAL_COMP_ALGS_CTOS : PROPOSAL_COMP_ALGS_STOC; in kex_choose_conf()445 ctos ? "client->server" : "server->client", in kex_choose_conf()532 u_int i, mode, ctos; in kex_derive_keys() local543 ctos = (!kex->server && mode == MODE_OUT) || in kex_derive_keys()545 current_keys[mode]->enc.iv = keys[ctos ? 0 : 1]; in kex_derive_keys()546 current_keys[mode]->enc.key = keys[ctos ? 2 : 3]; in kex_derive_keys()[all …]