summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index f5dcc8791..06914756a 100644
--- a/kex.h
+++ b/kex.h
@@ -159,13 +159,16 @@ void
159kexgex_hash(const EVP_MD *, char *, char *, char *, int, char *, 159kexgex_hash(const EVP_MD *, char *, char *, char *, int, char *,
160 int, u_char *, int, int, int, int, BIGNUM *, BIGNUM *, BIGNUM *, 160 int, u_char *, int, int, int, int, BIGNUM *, BIGNUM *, BIGNUM *,
161 BIGNUM *, BIGNUM *, u_char **, u_int *); 161 BIGNUM *, BIGNUM *, u_char **, u_int *);
162#ifdef OPENSSL_HAS_ECC
162void 163void
163kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int, 164kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int,
164 char *, int, u_char *, int, const EC_POINT *, const EC_POINT *, 165 char *, int, u_char *, int, const EC_POINT *, const EC_POINT *,
165 const BIGNUM *, u_char **, u_int *); 166 const BIGNUM *, u_char **, u_int *);
166
167int kex_ecdh_name_to_nid(const char *); 167int kex_ecdh_name_to_nid(const char *);
168const EVP_MD *kex_ecdh_name_to_evpmd(const char *); 168const EVP_MD *kex_ecdh_name_to_evpmd(const char *);
169#else
170# define kex_ecdh_name_to_evpmd(x) NULL
171#endif
169 172
170void 173void
171derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); 174derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]);