diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -159,13 +159,16 @@ void | |||
159 | kexgex_hash(const EVP_MD *, char *, char *, char *, int, char *, | 159 | kexgex_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 | ||
162 | void | 163 | void |
163 | kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int, | 164 | kex_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 | |||
167 | int kex_ecdh_name_to_nid(const char *); | 167 | int kex_ecdh_name_to_nid(const char *); |
168 | const EVP_MD *kex_ecdh_name_to_evpmd(const char *); | 168 | const EVP_MD *kex_ecdh_name_to_evpmd(const char *); |
169 | #else | ||
170 | # define kex_ecdh_name_to_evpmd(x) NULL | ||
171 | #endif | ||
169 | 172 | ||
170 | void | 173 | void |
171 | derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); | 174 | derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); |