Lines Matching refs:ssh
44 int ssh_init(struct ssh **, int is_server, struct kex_params *kex_params);
49 void ssh_free(struct ssh *);
54 void ssh_set_app_data(struct ssh *, void *);
55 void *ssh_get_app_data(struct ssh *);
65 int ssh_add_hostkey(struct ssh *ssh, struct sshkey *key);
73 int ssh_set_verify_host_key_callback(struct ssh *ssh,
74 int (*cb)(struct sshkey *, struct ssh *));
90 int ssh_packet_next(struct ssh *ssh, u_char *typep);
97 const u_char *ssh_packet_payload(struct ssh *ssh, size_t *lenp);
104 int ssh_packet_put(struct ssh *ssh, int type, const u_char *data,
111 int ssh_input_space(struct ssh *ssh, size_t len);
116 int ssh_input_append(struct ssh *ssh, const u_char *data, size_t len);
122 int ssh_output_space(struct ssh *ssh, size_t len);
130 const u_char *ssh_output_ptr(struct ssh *ssh, size_t *len);
136 int ssh_output_consume(struct ssh *ssh, size_t len);