diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 *); | |||
168 | void kexc25519_client(Kex *); | 177 | void kexc25519_client(Kex *); |
169 | void kexc25519_server(Kex *); | 178 | void kexc25519_server(Kex *); |
170 | 179 | ||
180 | #ifdef GSSAPI | ||
181 | void kexgss_client(Kex *); | ||
182 | void kexgss_server(Kex *); | ||
183 | #endif | ||
184 | |||
171 | void | 185 | void |
172 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 186 | kex_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 *); |