/external/openssh/ |
kex.c | 1 /* $OpenBSD: kex.c,v 1.86 2010/09/22 05:01:29 djm Exp $ */ 45 #include "kex.h" 62 static void kex_kexinit_finish(Kex *); 63 static void kex_choose_conf(Kex *); 65 /* Validate KEX method name list */ 83 error("Unsupported KEX algorithm \"%.100s\"", p); 88 debug3("kex names ok: [%s]", names); 127 /* extract kex init proposal strings */ 132 /* first kex follows / reserved */ 157 error("Hm, kex protocol error: type %d seq %u", type, seq) 231 Kex *kex = (Kex *)ctxt; local 255 Kex *kex; local [all...] |
kex.h | 1 /* $OpenBSD: kex.h,v 1.52 2010/09/22 05:01:29 djm Exp $ */ 81 typedef struct Kex Kex; 117 struct Kex { 138 void (*kex[KEX_MAX])(Kex *); member in struct:Kex 143 Kex *kex_setup(char *[PROPOSAL_MAX]); 144 void kex_finish(Kex *); 146 void kex_send_kexinit(Kex *); 148 void kex_derive_keys(Kex *, u_char *, u_int, BIGNUM *) [all...] |
monitor_wrap.c | 52 #include "kex.h" 216 Kex *kex = *pmonitor->m_pkex; local 222 buffer_put_int(&m, kex->host_key_index(key)); 582 mm_send_kex(Buffer *m, Kex *kex) 584 buffer_put_string(m, kex->session_id, kex->session_id_len); 585 buffer_put_int(m, kex->we_need); 586 buffer_put_int(m, kex->hostkey_type) [all...] |
sshd.c | 100 #include "kex.h" 195 Kex *xxx_kex; 632 /* Store a pointer to the kex for later rekeying */ 2303 Kex *kex; local [all...] |
monitor.c | 70 #include "kex.h" 691 * Supported KEX types use SHA1 (20 bytes), SHA256 (32 bytes), 1796 Kex *kex; local [all...] |
sshconnect2.c | 57 #include "kex.h" 95 Kex *xxx_kex = NULL; 161 Kex *kex; local 204 kex = kex_setup(myproposal); 205 kex->kex[KEX_DH_GRP1_SHA1] = kexdh_client; 206 kex->kex[KEX_DH_GRP14_SHA1] = kexdh_client; 207 kex->kex[KEX_DH_GEX_SHA1] = kexgex_client [all...] |