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 7373d3c78..fa50b2ccb 100644
--- a/kex.h
+++ b/kex.h
@@ -73,6 +73,9 @@ enum kex_exchange {
73 KEX_DH_GEX_SHA1, 73 KEX_DH_GEX_SHA1,
74 KEX_DH_GEX_SHA256, 74 KEX_DH_GEX_SHA256,
75 KEX_ECDH_SHA2, 75 KEX_ECDH_SHA2,
76 KEX_GSS_GRP1_SHA1,
77 KEX_GSS_GRP14_SHA1,
78 KEX_GSS_GEX_SHA1,
76 KEX_MAX 79 KEX_MAX
77}; 80};
78 81
@@ -129,6 +132,12 @@ struct Kex {
129 sig_atomic_t done; 132 sig_atomic_t done;
130 int flags; 133 int flags;
131 const EVP_MD *evp_md; 134 const EVP_MD *evp_md;
135#ifdef GSSAPI
136 int gss_deleg_creds;
137 int gss_trust_dns;
138 char *gss_host;
139 char *gss_client;
140#endif
132 char *client_version_string; 141 char *client_version_string;
133 char *server_version_string; 142 char *server_version_string;
134 int (*verify_host_key)(Key *); 143 int (*verify_host_key)(Key *);
@@ -156,6 +165,11 @@ void kexgex_server(Kex *);
156void kexecdh_client(Kex *); 165void kexecdh_client(Kex *);
157void kexecdh_server(Kex *); 166void kexecdh_server(Kex *);
158 167
168#ifdef GSSAPI
169void kexgss_client(Kex *);
170void kexgss_server(Kex *);
171#endif
172
159void 173void
160kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 174kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int,
161 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); 175 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *);