sshbuf_allocate
(r = sshbuf_allocate(conf, st.st_size)) != 0)
if ((r = sshbuf_allocate(buf, len)) != 0)
int sshbuf_allocate(struct sshbuf *buf, size_t len);