Home
last modified time | relevance | path

Searched refs:kex_type (Results 1 – 6 of 6) sorted by relevance

/external/openssh/
Dkex.c277 if (kex->kex_type >= 0 && kex->kex_type < KEX_MAX && in kex_kexinit_finish()
278 kex->kex[kex->kex_type] != NULL) { in kex_kexinit_finish()
279 (kex->kex[kex->kex_type])(kex); in kex_kexinit_finish()
281 fatal("Unsupported key exchange %d", kex->kex_type); in kex_kexinit_finish()
344 k->kex_type = KEX_DH_GRP1_SHA1; in choose_kex()
347 k->kex_type = KEX_DH_GRP14_SHA1; in choose_kex()
350 k->kex_type = KEX_DH_GEX_SHA1; in choose_kex()
354 k->kex_type = KEX_DH_GEX_SHA256; in choose_kex()
358 k->kex_type = KEX_ECDH_SHA2; in choose_kex()
Dkexdhc.c59 switch (kex->kex_type) { in kexdh_client()
67 fatal("%s: Unexpected KEX type %d", __func__, kex->kex_type); in kexdh_client()
Dkexdhs.c61 switch (kex->kex_type) { in kexdh_server()
69 fatal("%s: Unexpected KEX type %d", __func__, kex->kex_type); in kexdh_server()
Dkex.h125 int kex_type; member
Dmonitor_wrap.c587 buffer_put_int(m, kex->kex_type); in mm_send_kex()
Dmonitor.c1814 kex->kex_type = buffer_get_int(m); in mm_get_kex()