diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -93,6 +93,9 @@ enum kex_exchange { | |||
93 | KEX_DH_GEX_SHA256, | 93 | KEX_DH_GEX_SHA256, |
94 | KEX_ECDH_SHA2, | 94 | KEX_ECDH_SHA2, |
95 | KEX_C25519_SHA256, | 95 | KEX_C25519_SHA256, |
96 | KEX_GSS_GRP1_SHA1, | ||
97 | KEX_GSS_GRP14_SHA1, | ||
98 | KEX_GSS_GEX_SHA1, | ||
96 | KEX_MAX | 99 | KEX_MAX |
97 | }; | 100 | }; |
98 | 101 | ||
@@ -139,6 +142,12 @@ struct kex { | |||
139 | u_int flags; | 142 | u_int flags; |
140 | int hash_alg; | 143 | int hash_alg; |
141 | int ec_nid; | 144 | int ec_nid; |
145 | #ifdef GSSAPI | ||
146 | int gss_deleg_creds; | ||
147 | int gss_trust_dns; | ||
148 | char *gss_host; | ||
149 | char *gss_client; | ||
150 | #endif | ||
142 | char *client_version_string; | 151 | char *client_version_string; |
143 | char *server_version_string; | 152 | char *server_version_string; |
144 | int (*verify_host_key)(struct sshkey *, struct ssh *); | 153 | int (*verify_host_key)(struct sshkey *, struct ssh *); |
@@ -184,6 +193,11 @@ int kexecdh_server(struct ssh *); | |||
184 | int kexc25519_client(struct ssh *); | 193 | int kexc25519_client(struct ssh *); |
185 | int kexc25519_server(struct ssh *); | 194 | int kexc25519_server(struct ssh *); |
186 | 195 | ||
196 | #ifdef GSSAPI | ||
197 | int kexgss_client(struct ssh *); | ||
198 | int kexgss_server(struct ssh *); | ||
199 | #endif | ||
200 | |||
187 | int kex_dh_hash(const char *, const char *, | 201 | int kex_dh_hash(const char *, const char *, |
188 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | 202 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, |
189 | const BIGNUM *, const BIGNUM *, const BIGNUM *, u_char *, size_t *); | 203 | const BIGNUM *, const BIGNUM *, const BIGNUM *, u_char *, size_t *); |