diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.h,v 1.50 2010/08/31 11:54:45 djm Exp $ */ | 1 | /* $OpenBSD: kex.h,v 1.51 2010/09/09 10:45:45 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -39,7 +39,7 @@ | |||
39 | #define KEX_DHGEX_SHA256 "diffie-hellman-group-exchange-sha256" | 39 | #define KEX_DHGEX_SHA256 "diffie-hellman-group-exchange-sha256" |
40 | #define KEX_RESUME "resume@appgate.com" | 40 | #define KEX_RESUME "resume@appgate.com" |
41 | /* The following represents the family of ECDH methods */ | 41 | /* The following represents the family of ECDH methods */ |
42 | #define KEX_ECDH_SHA256 "ecdh-sha2-" | 42 | #define KEX_ECDH_SHA2_STEM "ecdh-sha2-" |
43 | 43 | ||
44 | #define COMP_NONE 0 | 44 | #define COMP_NONE 0 |
45 | #define COMP_ZLIB 1 | 45 | #define COMP_ZLIB 1 |
@@ -165,6 +165,7 @@ kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int, | |||
165 | const BIGNUM *, u_char **, u_int *); | 165 | const BIGNUM *, u_char **, u_int *); |
166 | 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 | 169 | ||
169 | void | 170 | void |
170 | derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); | 171 | derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); |