version 1.3, 2015/01/30 01:13:33 |
version 1.4, 2015/02/16 22:13:32 |
|
|
struct sshkey *_ssh_host_public_key(int, int, struct ssh *); |
struct sshkey *_ssh_host_public_key(int, int, struct ssh *); |
struct sshkey *_ssh_host_private_key(int, int, struct ssh *); |
struct sshkey *_ssh_host_private_key(int, int, struct ssh *); |
int _ssh_host_key_sign(struct sshkey *, struct sshkey *, u_char **, |
int _ssh_host_key_sign(struct sshkey *, struct sshkey *, u_char **, |
size_t *, u_char *, size_t, u_int); |
size_t *, const u_char *, size_t, u_int); |
|
|
/* |
/* |
* stubs for the server side implementation of kex. |
* stubs for the server side implementation of kex. |
|
|
|
|
int |
int |
_ssh_host_key_sign(struct sshkey *privkey, struct sshkey *pubkey, |
_ssh_host_key_sign(struct sshkey *privkey, struct sshkey *pubkey, |
u_char **signature, size_t *slen, u_char *data, size_t dlen, u_int compat) |
u_char **signature, size_t *slen, |
|
const u_char *data, size_t dlen, u_int compat) |
{ |
{ |
return sshkey_sign(privkey, signature, slen, data, dlen, compat); |
return sshkey_sign(privkey, signature, slen, data, dlen, compat); |
} |
} |