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 | ||
@@ -135,6 +138,12 @@ struct Kex { | |||
135 | int flags; | 138 | int flags; |
136 | int hash_alg; | 139 | int hash_alg; |
137 | int ec_nid; | 140 | int ec_nid; |
141 | #ifdef GSSAPI | ||
142 | int gss_deleg_creds; | ||
143 | int gss_trust_dns; | ||
144 | char *gss_host; | ||
145 | char *gss_client; | ||
146 | #endif | ||
138 | char *client_version_string; | 147 | char *client_version_string; |
139 | char *server_version_string; | 148 | char *server_version_string; |
140 | int (*verify_host_key)(Key *); | 149 | int (*verify_host_key)(Key *); |
@@ -167,6 +176,11 @@ void kexecdh_server(Kex *); | |||
167 | void kexc25519_client(Kex *); | 176 | void kexc25519_client(Kex *); |
168 | void kexc25519_server(Kex *); | 177 | void kexc25519_server(Kex *); |
169 | 178 | ||
179 | #ifdef GSSAPI | ||
180 | void kexgss_client(Kex *); | ||
181 | void kexgss_server(Kex *); | ||
182 | #endif | ||
183 | |||
170 | void | 184 | void |
171 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, | 185 | kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, |
172 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); | 186 | BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); |