Lines Matching defs:sshbuf
1 /* $OpenBSD: sshbuf.c,v 1.23 2024/08/14 15:42:18 tobias Exp $ */
26 #include "sshbuf.h"
40 struct sshbuf {
49 struct sshbuf *parent; /* If child, pointer to parent */
53 sshbuf_check_sanity(const struct sshbuf *buf)
75 sshbuf_maybe_pack(struct sshbuf *buf, int force)
90 struct sshbuf *
93 struct sshbuf *ret;
109 struct sshbuf *
112 struct sshbuf *ret;
127 sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent)
142 struct sshbuf *
143 sshbuf_fromb(struct sshbuf *buf)
145 struct sshbuf *ret;
159 sshbuf_free(struct sshbuf *buf)
194 sshbuf_reset(struct sshbuf *buf)
217 sshbuf_max_size(const struct sshbuf *buf)
223 sshbuf_alloc(const struct sshbuf *buf)
228 const struct sshbuf *
229 sshbuf_parent(const struct sshbuf *buf)
235 sshbuf_refcount(const struct sshbuf *buf)
241 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size)
279 sshbuf_len(const struct sshbuf *buf)
287 sshbuf_avail(const struct sshbuf *buf)
295 sshbuf_ptr(const struct sshbuf *buf)
303 sshbuf_mutable_ptr(const struct sshbuf *buf)
311 sshbuf_check_reserve(const struct sshbuf *buf, size_t len)
327 sshbuf_allocate(struct sshbuf *buf, size_t len)
370 sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp)
390 sshbuf_consume(struct sshbuf *buf, size_t len)
410 sshbuf_consume_end(struct sshbuf *buf, size_t len)