Lines Matching defs:sshbuf
1 /* $OpenBSD: sshbuf.c,v 1.24 2025/12/29 23:52:09 djm Exp $ */
28 #include "sshbuf.h"
42 struct sshbuf {
51 struct sshbuf *parent; /* If child, pointer to parent */
55 sshbuf_check_sanity(const struct sshbuf *buf)
77 sshbuf_maybe_pack(struct sshbuf *buf, int force)
92 struct sshbuf *
95 struct sshbuf *ret;
111 struct sshbuf *
114 struct sshbuf *ret;
129 sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent)
144 struct sshbuf *
145 sshbuf_fromb(struct sshbuf *buf)
147 struct sshbuf *ret;
161 sshbuf_free(struct sshbuf *buf)
196 sshbuf_reset(struct sshbuf *buf)
219 sshbuf_max_size(const struct sshbuf *buf)
225 sshbuf_alloc(const struct sshbuf *buf)
230 const struct sshbuf *
231 sshbuf_parent(const struct sshbuf *buf)
237 sshbuf_refcount(const struct sshbuf *buf)
243 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size)
281 sshbuf_len(const struct sshbuf *buf)
289 sshbuf_avail(const struct sshbuf *buf)
297 sshbuf_ptr(const struct sshbuf *buf)
305 sshbuf_mutable_ptr(const struct sshbuf *buf)
313 sshbuf_check_reserve(const struct sshbuf *buf, size_t len)
329 sshbuf_allocate(struct sshbuf *buf, size_t len)
372 sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp)
392 sshbuf_consume(struct sshbuf *buf, size_t len)
412 sshbuf_consume_end(struct sshbuf *buf, size_t len)
429 sshbuf_consume_upto_child(struct sshbuf *buf, const struct sshbuf *child)