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 46731fa45..8013ab8a4 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
@@ -131,6 +134,12 @@ struct Kex {
131 sig_atomic_t done; 134 sig_atomic_t done;
132 int flags; 135 int flags;
133 const EVP_MD *evp_md; 136 const EVP_MD *evp_md;
137#ifdef GSSAPI
138 int gss_deleg_creds;
139 int gss_trust_dns;
140 char *gss_host;
141 char *gss_client;
142#endif
134 char *client_version_string; 143 char *client_version_string;
135 char *server_version_string; 144 char *server_version_string;
136 int (*verify_host_key)(Key *); 145 int (*verify_host_key)(Key *);
@@ -158,6 +167,11 @@ void kexgex_server(Kex *);
158void kexecdh_client(Kex *); 167void kexecdh_client(Kex *);
159void kexecdh_server(Kex *); 168void kexecdh_server(Kex *);
160 169
170#ifdef GSSAPI
171void kexgss_client(Kex *);
172void kexgss_server(Kex *);
173#endif
174
161void 175void
162kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 176kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int,
163 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); 177 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *);