version 1.35, 2004/06/13 12:53:24 |
version 1.35.2.1, 2005/09/02 03:45:00 |
|
|
#define KEX_DH14 "diffie-hellman-group14-sha1" |
#define KEX_DH14 "diffie-hellman-group14-sha1" |
#define KEX_DHGEX "diffie-hellman-group-exchange-sha1" |
#define KEX_DHGEX "diffie-hellman-group-exchange-sha1" |
|
|
|
#define COMP_NONE 0 |
|
#define COMP_ZLIB 1 |
|
#define COMP_DELAYED 2 |
|
|
enum kex_init_proposals { |
enum kex_init_proposals { |
PROPOSAL_KEX_ALGS, |
PROPOSAL_KEX_ALGS, |
PROPOSAL_SERVER_HOST_KEY_ALGS, |
PROPOSAL_SERVER_HOST_KEY_ALGS, |
|
|
char *name; |
char *name; |
int enabled; |
int enabled; |
const EVP_MD *md; |
const EVP_MD *md; |
int mac_len; |
u_int mac_len; |
u_char *key; |
u_char *key; |
int key_len; |
u_int key_len; |
}; |
}; |
struct Comp { |
struct Comp { |
int type; |
int type; |
|
|
u_char *session_id; |
u_char *session_id; |
u_int session_id_len; |
u_int session_id_len; |
Newkeys *newkeys[MODE_MAX]; |
Newkeys *newkeys[MODE_MAX]; |
int we_need; |
u_int we_need; |
int server; |
int server; |
char *name; |
char *name; |
int hostkey_type; |
int hostkey_type; |