version 1.10, 2015/12/04 16:41:28 |
version 1.11, 2017/05/31 04:19:28 |
|
|
#include "sshbuf.h" |
#include "sshbuf.h" |
#include "ssherr.h" |
#include "ssherr.h" |
|
|
static int input_kex_c25519_init(int, u_int32_t, void *); |
static int input_kex_c25519_init(int, u_int32_t, struct ssh *); |
|
|
int |
int |
kexc25519_server(struct ssh *ssh) |
kexc25519_server(struct ssh *ssh) |
|
|
} |
} |
|
|
static int |
static int |
input_kex_c25519_init(int type, u_int32_t seq, void *ctxt) |
input_kex_c25519_init(int type, u_int32_t seq, struct ssh *ssh) |
{ |
{ |
struct ssh *ssh = ctxt; |
|
struct kex *kex = ssh->kex; |
struct kex *kex = ssh->kex; |
struct sshkey *server_host_private, *server_host_public; |
struct sshkey *server_host_private, *server_host_public; |
struct sshbuf *shared_secret = NULL; |
struct sshbuf *shared_secret = NULL; |