summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index 1aa3ec26a..8fbcb2b79 100644
--- a/kex.h
+++ b/kex.h
@@ -76,6 +76,9 @@ enum kex_exchange {
76 KEX_DH_GEX_SHA256, 76 KEX_DH_GEX_SHA256,
77 KEX_ECDH_SHA2, 77 KEX_ECDH_SHA2,
78 KEX_C25519_SHA256, 78 KEX_C25519_SHA256,
79 KEX_GSS_GRP1_SHA1,
80 KEX_GSS_GRP14_SHA1,
81 KEX_GSS_GEX_SHA1,
79 KEX_MAX 82 KEX_MAX
80}; 83};
81 84
@@ -136,6 +139,12 @@ struct Kex {
136 int flags; 139 int flags;
137 int hash_alg; 140 int hash_alg;
138 int ec_nid; 141 int ec_nid;
142#ifdef GSSAPI
143 int gss_deleg_creds;
144 int gss_trust_dns;
145 char *gss_host;
146 char *gss_client;
147#endif
139 char *client_version_string; 148 char *client_version_string;
140 char *server_version_string; 149 char *server_version_string;
141 int (*verify_host_key)(Key *); 150 int (*verify_host_key)(Key *);
@@ -168,6 +177,11 @@ void kexecdh_server(Kex *);
168void kexc25519_client(Kex *); 177void kexc25519_client(Kex *);
169void kexc25519_server(Kex *); 178void kexc25519_server(Kex *);
170 179
180#ifdef GSSAPI
181void kexgss_client(Kex *);
182void kexgss_server(Kex *);
183#endif
184
171void 185void
172kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 186kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int,
173 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); 187 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *);