version 1.24, 2016/05/02 10:26:04 |
version 1.25, 2017/05/30 14:23:52 |
|
|
#include "ssherr.h" |
#include "ssherr.h" |
#include "sshbuf.h" |
#include "sshbuf.h" |
|
|
static int input_kex_dh_init(int, u_int32_t, void *); |
static int input_kex_dh_init(int, u_int32_t, struct ssh *); |
|
|
int |
int |
kexdh_server(struct ssh *ssh) |
kexdh_server(struct ssh *ssh) |
|
|
} |
} |
|
|
int |
int |
input_kex_dh_init(int type, u_int32_t seq, void *ctxt) |
input_kex_dh_init(int type, u_int32_t seq, struct ssh *ssh) |
{ |
{ |
struct ssh *ssh = ctxt; |
|
struct kex *kex = ssh->kex; |
struct kex *kex = ssh->kex; |
BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; |
BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; |
struct sshkey *server_host_public, *server_host_private; |
struct sshkey *server_host_public, *server_host_private; |