Lines Matching refs:kex
491 pmonitor->m_pkex = &ssh->kex; in privsep_preauth()
2323 struct kex *kex; local
2350 kex = ssh->kex;
2352 kex->kex[KEX_DH_GRP1_SHA1] = kex_gen_server;
2353 kex->kex[KEX_DH_GRP14_SHA1] = kex_gen_server;
2354 kex->kex[KEX_DH_GRP14_SHA256] = kex_gen_server;
2355 kex->kex[KEX_DH_GRP16_SHA512] = kex_gen_server;
2356 kex->kex[KEX_DH_GRP18_SHA512] = kex_gen_server;
2357 kex->kex[KEX_DH_GEX_SHA1] = kexgex_server;
2358 kex->kex[KEX_DH_GEX_SHA256] = kexgex_server;
2360 kex->kex[KEX_ECDH_SHA2] = kex_gen_server;
2363 kex->kex[KEX_C25519_SHA256] = kex_gen_server;
2364 kex->kex[KEX_KEM_SNTRUP4591761X25519_SHA512] = kex_gen_server;
2365 kex->load_host_public_key=&get_hostkey_public_by_type;
2366 kex->load_host_private_key=&get_hostkey_private_by_type;
2367 kex->host_key_index=&get_hostkey_index;
2368 kex->sign = sshd_hostkey_sign;
2370 ssh_dispatch_run_fatal(ssh, DISPATCH_BLOCK, &kex->done);
2372 session_id2 = kex->session_id;
2373 session_id2_len = kex->session_id_len;