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 9f1e1adb3..d5046c627 100644
--- a/kex.h
+++ b/kex.h
@@ -74,6 +74,9 @@ enum kex_exchange {
74 KEX_DH_GEX_SHA1, 74 KEX_DH_GEX_SHA1,
75 KEX_DH_GEX_SHA256, 75 KEX_DH_GEX_SHA256,
76 KEX_ECDH_SHA2, 76 KEX_ECDH_SHA2,
77 KEX_GSS_GRP1_SHA1,
78 KEX_GSS_GRP14_SHA1,
79 KEX_GSS_GEX_SHA1,
77 KEX_MAX 80 KEX_MAX
78}; 81};
79 82
@@ -133,6 +136,12 @@ struct Kex {
133 int flags; 136 int flags;
134 const EVP_MD *evp_md; 137 const EVP_MD *evp_md;
135 int ec_nid; 138 int ec_nid;
139#ifdef GSSAPI
140 int gss_deleg_creds;
141 int gss_trust_dns;
142 char *gss_host;
143 char *gss_client;
144#endif
136 char *client_version_string; 145 char *client_version_string;
137 char *server_version_string; 146 char *server_version_string;
138 int (*verify_host_key)(Key *); 147 int (*verify_host_key)(Key *);
@@ -162,6 +171,11 @@ void kexgex_server(Kex *);
162void kexecdh_client(Kex *); 171void kexecdh_client(Kex *);
163void kexecdh_server(Kex *); 172void kexecdh_server(Kex *);
164 173
174#ifdef GSSAPI
175void kexgss_client(Kex *);
176void kexgss_server(Kex *);
177#endif
178
165void 179void
166kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 180kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int,
167 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); 181 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *);