• Home
  • Raw
  • Download

Lines Matching refs:kex

181 	while (!server->kex->done || !client->kex->done) {  in run_kex()
194 ASSERT_INT_EQ(server->kex->done, 1); in run_kex()
195 ASSERT_INT_EQ(client->kex->done, 1); in run_kex()
199 do_kex_with_key(const char *kex, struct sshkey *prvkey, int *c2s, int *s2c, in do_kex_with_key() argument
217 if (kex != NULL) in do_kex_with_key()
218 kex_params.proposal[PROPOSAL_KEX_ALGS] = strdup(kex); in do_kex_with_key()
271 kex_free(server2->kex); /* XXX or should ssh_packet_set_state()? */ in do_kex_with_key()
275 ASSERT_PTR_NE(server2->kex, NULL); in do_kex_with_key()
278 server2->kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server; in do_kex_with_key()
279 server2->kex->kex[KEX_DH_GRP14_SHA1] = kexdh_server; in do_kex_with_key()
280 server2->kex->kex[KEX_DH_GRP14_SHA256] = kexdh_server; in do_kex_with_key()
281 server2->kex->kex[KEX_DH_GRP16_SHA512] = kexdh_server; in do_kex_with_key()
282 server2->kex->kex[KEX_DH_GRP18_SHA512] = kexdh_server; in do_kex_with_key()
283 server2->kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; in do_kex_with_key()
284 server2->kex->kex[KEX_DH_GEX_SHA256] = kexgex_server; in do_kex_with_key()
286 server2->kex->kex[KEX_ECDH_SHA2] = kexecdh_server; in do_kex_with_key()
289 server2->kex->kex[KEX_C25519_SHA256] = kexc25519_server; in do_kex_with_key()
290 server2->kex->load_host_public_key = server->kex->load_host_public_key; in do_kex_with_key()
291 server2->kex->load_host_private_key = server->kex->load_host_private_key; in do_kex_with_key()
292 server2->kex->sign = server->kex->sign; in do_kex_with_key()
349 const char *kex = NULL, *kpath = NULL, *data_path = NULL; in main() local
384 kex = optarg; in main()
408 if (kex == NULL || !kex_names_valid(kex) || strchr(kex, ',') != NULL) in main()
446 do_kex_with_key(kex, key, &c2s, &s2c, in main()