diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2018-10-27 23:54:56 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-24 09:34:18 +0100 |
commit | 43a4f86b6e14a907b3a298d10d5cd7efb59f6a09 (patch) | |
tree | ef166a4dbdd80362fcb4142dae1a02275e126265 /include/libssh/kex.h | |
parent | e42a423a247c8c9f0bd58d32a8b80c522f7b43f6 (diff) | |
download | libssh-43a4f86b6e14a907b3a298d10d5cd7efb59f6a09.tar.gz libssh-43a4f86b6e14a907b3a298d10d5cd7efb59f6a09.tar.xz libssh-43a4f86b6e14a907b3a298d10d5cd7efb59f6a09.zip |
dh: move unrelated functions out of dh.c
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/kex.h')
-rw-r--r-- | include/libssh/kex.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/kex.h b/include/libssh/kex.h index 644a3956..19a67c81 100644 --- a/include/libssh/kex.h +++ b/include/libssh/kex.h @@ -48,5 +48,10 @@ const char *ssh_kex_get_description(uint32_t algo); char *ssh_client_select_hostkeys(ssh_session session); int ssh_send_rekex(ssh_session session); int server_set_kex(ssh_session session); +int ssh_make_sessionid(ssh_session session); +/* add data for the final cookie */ +int ssh_hashbufin_add_cookie(ssh_session session, unsigned char *cookie); +int ssh_hashbufout_add_cookie(ssh_session session); +int ssh_generate_session_keys(ssh_session session); #endif /* KEX_H_ */ |