Lines Matching refs:ssh
42 int ssh_init(struct ssh **, int is_server, struct kex_params *kex_params);
47 void ssh_free(struct ssh *);
52 void ssh_set_app_data(struct ssh *, void *);
53 void *ssh_get_app_data(struct ssh *);
63 int ssh_add_hostkey(struct ssh *ssh, struct sshkey *key);
71 int ssh_set_verify_host_key_callback(struct ssh *ssh,
72 int (*cb)(struct sshkey *, struct ssh *));
88 int ssh_packet_next(struct ssh *ssh, u_char *typep);
95 const u_char *ssh_packet_payload(struct ssh *ssh, size_t *lenp);
102 int ssh_packet_put(struct ssh *ssh, int type, const u_char *data,
109 int ssh_input_space(struct ssh *ssh, size_t len);
114 int ssh_input_append(struct ssh *ssh, const u_char *data, size_t len);
120 int ssh_output_space(struct ssh *ssh, size_t len);
128 const u_char *ssh_output_ptr(struct ssh *ssh, size_t *len);
134 int ssh_output_consume(struct ssh *ssh, size_t len);