diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -98,6 +98,9 @@ enum kex_exchange { | |||
98 | KEX_DH_GEX_SHA256, | 98 | KEX_DH_GEX_SHA256, |
99 | KEX_ECDH_SHA2, | 99 | KEX_ECDH_SHA2, |
100 | KEX_C25519_SHA256, | 100 | KEX_C25519_SHA256, |
101 | KEX_GSS_GRP1_SHA1, | ||
102 | KEX_GSS_GRP14_SHA1, | ||
103 | KEX_GSS_GEX_SHA1, | ||
101 | KEX_MAX | 104 | KEX_MAX |
102 | }; | 105 | }; |
103 | 106 | ||
@@ -146,6 +149,12 @@ struct kex { | |||
146 | u_int flags; | 149 | u_int flags; |
147 | int hash_alg; | 150 | int hash_alg; |
148 | int ec_nid; | 151 | int ec_nid; |
152 | #ifdef GSSAPI | ||
153 | int gss_deleg_creds; | ||
154 | int gss_trust_dns; | ||
155 | char *gss_host; | ||
156 | char *gss_client; | ||
157 | #endif | ||
149 | char *client_version_string; | 158 | char *client_version_string; |
150 | char *server_version_string; | 159 | char *server_version_string; |
151 | char *failed_choice; | 160 | char *failed_choice; |
@@ -196,6 +205,11 @@ int kexecdh_server(struct ssh *); | |||
196 | int kexc25519_client(struct ssh *); | 205 | int kexc25519_client(struct ssh *); |
197 | int kexc25519_server(struct ssh *); | 206 | int kexc25519_server(struct ssh *); |
198 | 207 | ||
208 | #ifdef GSSAPI | ||
209 | int kexgss_client(struct ssh *); | ||
210 | int kexgss_server(struct ssh *); | ||
211 | #endif | ||
212 | |||
199 | int kex_dh_hash(int, const char *, const char *, | 213 | int kex_dh_hash(int, const char *, const char *, |
200 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | 214 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, |
201 | const BIGNUM *, const BIGNUM *, const BIGNUM *, u_char *, size_t *); | 215 | const BIGNUM *, const BIGNUM *, const BIGNUM *, u_char *, size_t *); |