version 1.44, 2006/08/03 03:34:42 |
version 1.45, 2007/06/05 06:52:37 |
|
|
#define KEX_H |
#define KEX_H |
|
|
#include <openssl/evp.h> |
#include <openssl/evp.h> |
|
#include <openssl/hmac.h> |
|
|
#define KEX_DH1 "diffie-hellman-group1-sha1" |
#define KEX_DH1 "diffie-hellman-group1-sha1" |
#define KEX_DH14 "diffie-hellman-group14-sha1" |
#define KEX_DH14 "diffie-hellman-group14-sha1" |
|
|
u_int mac_len; |
u_int mac_len; |
u_char *key; |
u_char *key; |
u_int key_len; |
u_int key_len; |
|
HMAC_CTX ctx; |
}; |
}; |
struct Comp { |
struct Comp { |
int type; |
int type; |