Lines Matching refs:kex
1933 Kex *kex; in prepare_for_ssh2_kex() local
1994 kex = kex_setup(NULL, myproposal, kex_hook); in prepare_for_ssh2_kex()
2008 kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server; in prepare_for_ssh2_kex()
2009 kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; in prepare_for_ssh2_kex()
2011 kex->kex[KEX_GSS_GRP1_SHA1] = kexgss_server; in prepare_for_ssh2_kex()
2013 kex->server = 1; in prepare_for_ssh2_kex()
2014 kex->client_version_string = client_version_string; in prepare_for_ssh2_kex()
2015 kex->server_version_string = server_version_string; in prepare_for_ssh2_kex()
2016 kex->load_host_key = &get_hostkey_by_type; in prepare_for_ssh2_kex()
2017 kex->host_key_index = &get_hostkey_index; in prepare_for_ssh2_kex()
2019 xxx_kex = kex; in prepare_for_ssh2_kex()
2020 return (kex); in prepare_for_ssh2_kex()
2029 Kex *kex; in do_ssh2_kex() local
2031 kex = prepare_for_ssh2_kex(); in do_ssh2_kex()
2032 kex_start(kex); in do_ssh2_kex()
2034 dispatch_run(DISPATCH_BLOCK, &kex->done, kex); in do_ssh2_kex()
2036 if (kex->name) { in do_ssh2_kex()
2037 xfree(kex->name); in do_ssh2_kex()
2038 kex->name = NULL; in do_ssh2_kex()
2040 session_id2 = kex->session_id; in do_ssh2_kex()
2041 session_id2_len = kex->session_id_len; in do_ssh2_kex()