Searched refs:sshbuf_check_reserve (Results 1 - 8 of 8) sorted by relevance

/openbsd-current/usr.bin/ssh/
H A Dssh-pkcs11-helper.c359 if ((r = sshbuf_check_reserve(iqueue, sizeof(buf))) == 0 &&
360 (r = sshbuf_check_reserve(oqueue, MAX_MSG_LENGTH)) == 0)
402 if ((r = sshbuf_check_reserve(oqueue, MAX_MSG_LENGTH)) == 0)
H A Dsshbuf.c311 sshbuf_check_reserve(const struct sshbuf *buf, size_t len) function
334 if ((r = sshbuf_check_reserve(buf, len)) != 0)
361 if ((r = sshbuf_check_reserve(buf, len)) < 0) {
H A Dssh_api.c323 return (0 == sshbuf_check_reserve(ssh_packet_get_output(ssh), len));
329 return (0 == sshbuf_check_reserve(ssh_packet_get_input(ssh), len));
H A Dsshbuf.h120 int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
H A Dsftp-server.c1997 if ((r = sshbuf_check_reserve(iqueue, sizeof(buf))) == 0 &&
1998 (r = sshbuf_check_reserve(oqueue,
2054 r = sshbuf_check_reserve(oqueue, SFTP_MAX_MSG_LENGTH);
H A Dssh-agent.c2101 if ((r = sshbuf_check_reserve(sockets[i].input,
2103 (r = sshbuf_check_reserve(sockets[i].output,
H A Dchannels.c1253 sshbuf_check_reserve(c->input, CHAN_RBUF) == 0)
1410 sshbuf_check_reserve(c->input, CHAN_RBUF) == 0)
/openbsd-current/regress/usr.bin/ssh/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c37 ASSERT_INT_EQ(sshbuf_check_reserve(p1, 1), SSH_ERR_BUFFER_READ_ONLY);

Completed in 269 milliseconds