24#include "libssh/priv.h"
25#include "libssh/callbacks.h"
27#define SSH_KEX_METHODS 10
29struct ssh_kex_struct {
30 unsigned char cookie[16];
31 char *methods[SSH_KEX_METHODS];
40int ssh_send_kex(ssh_session session);
41void ssh_list_kex(
struct ssh_kex_struct *kex);
42int ssh_set_client_kex(ssh_session session);
43int ssh_kex_append_extensions(ssh_session session,
struct ssh_kex_struct *pkex);
44int ssh_kex_select_methods(ssh_session session);
45int ssh_verify_existing_algo(
enum ssh_kex_types_e algo,
const char *name);
46char *ssh_keep_known_algos(
enum ssh_kex_types_e algo,
const char *list);
47char *ssh_keep_fips_algos(
enum ssh_kex_types_e algo,
const char *list);
48char *ssh_add_to_default_algos(
enum ssh_kex_types_e algo,
const char *list);
49char *ssh_remove_from_default_algos(
enum ssh_kex_types_e algo,
51char *ssh_prefix_default_algos(
enum ssh_kex_types_e algo,
const char *list);
52char **ssh_space_tokenize(
const char *chain);
53int ssh_get_kex1(ssh_session session);
54char *ssh_find_matching(
const char *in_d,
const char *what_d);
55const char *ssh_kex_get_supported_method(uint32_t algo);
56const char *ssh_kex_get_default_methods(uint32_t algo);
57const char *ssh_kex_get_fips_methods(uint32_t algo);
58const char *ssh_kex_get_description(uint32_t algo);
59char *ssh_client_select_hostkeys(ssh_session session);
60int ssh_send_rekex(ssh_session session);
61int server_set_kex(ssh_session session);
62int ssh_make_sessionid(ssh_session session);
64int ssh_hashbufin_add_cookie(ssh_session session,
unsigned char *cookie);
65int ssh_hashbufout_add_cookie(ssh_session session);
66int ssh_generate_session_keys(ssh_session session);
#define SSH_PACKET_CALLBACK(name)
This macro declares a packet callback handler.
Definition callbacks.h:560