Lines Matching +full:byte +full:- +full:len
24 #include "openbsd-compat/sys-queue.h"
69 * function given must return 0 if the hostkey is ok, -1 if the
78 * ssh_packet_next() works by processing an input byte-stream,
79 * decrypting the received data and hiding the key-exchange from
82 * in this case the caller must fill the input byte-stream by passing
85 * byte-stream back over the network. otherwise the key exchange
86 * would not proceed. the output byte-stream is accessed through
101 * the encrypted packet is appended to the output byte-stream.
104 size_t len);
107 * ssh_input_space() checks if 'len' bytes can be appended to the
108 * input byte-stream.
110 int ssh_input_space(struct ssh *ssh, size_t len);
113 * ssh_input_append() appends data to the input byte-stream.
115 int ssh_input_append(struct ssh *ssh, const u_char *data, size_t len);
118 * ssh_output_space() checks if 'len' bytes can be appended to the
119 * output byte-stream. XXX
121 int ssh_output_space(struct ssh *ssh, size_t len);
125 * current output byte-stream. the bytes need to be sent over the
127 * be removed from the output byte-stream with ssh_output_consume().
129 const u_char *ssh_output_ptr(struct ssh *ssh, size_t *len);
133 * the output byte-stream.
135 int ssh_output_consume(struct ssh *ssh, size_t len);