Lines Matching refs:kex
588 pmonitor->m_pkex = &active_state->kex; in privsep_preauth()
2212 struct kex *kex; local
2239 kex = active_state->kex;
2241 kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server;
2242 kex->kex[KEX_DH_GRP14_SHA1] = kexdh_server;
2243 kex->kex[KEX_DH_GRP14_SHA256] = kexdh_server;
2244 kex->kex[KEX_DH_GRP16_SHA512] = kexdh_server;
2245 kex->kex[KEX_DH_GRP18_SHA512] = kexdh_server;
2246 kex->kex[KEX_DH_GEX_SHA1] = kexgex_server;
2247 kex->kex[KEX_DH_GEX_SHA256] = kexgex_server;
2249 kex->kex[KEX_ECDH_SHA2] = kexecdh_server;
2252 kex->kex[KEX_C25519_SHA256] = kexc25519_server;
2253 kex->server = 1;
2254 kex->client_version_string=client_version_string;
2255 kex->server_version_string=server_version_string;
2256 kex->load_host_public_key=&get_hostkey_public_by_type;
2257 kex->load_host_private_key=&get_hostkey_private_by_type;
2258 kex->host_key_index=&get_hostkey_index;
2259 kex->sign = sshd_hostkey_sign;
2261 dispatch_run(DISPATCH_BLOCK, &kex->done, active_state);
2263 session_id2 = kex->session_id;
2264 session_id2_len = kex->session_id_len;