Home
last modified time | relevance | path

Searched refs:sshbuf_check_reserve (Results 1 – 9 of 9) sorted by relevance

/freebsd/crypto/openssh/
H A Dssh-pkcs11-helper.c393 if ((r = sshbuf_check_reserve(iqueue, sizeof(buf))) == 0 && in main()
394 (r = sshbuf_check_reserve(oqueue, MAX_MSG_LENGTH)) == 0) in main()
436 if ((r = sshbuf_check_reserve(oqueue, MAX_MSG_LENGTH)) == 0) in main()
H A Dsshbuf.c313 sshbuf_check_reserve(const struct sshbuf *buf, size_t len) in sshbuf_check_reserve() function
336 if ((r = sshbuf_check_reserve(buf, len)) != 0) in sshbuf_allocate()
363 if ((r = sshbuf_check_reserve(buf, len)) < 0) { in sshbuf_allocate()
H A Dssh_api.c331 return (0 == sshbuf_check_reserve(ssh_packet_get_output(ssh), len)); in ssh_output_space()
337 return (0 == sshbuf_check_reserve(ssh_packet_get_input(ssh), len)); in ssh_input_space()
H A Dsshbuf.h116 int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
H A Dsftp-server.c2047 if ((r = sshbuf_check_reserve(iqueue, sizeof(buf))) == 0 && in sftp_server_main()
2048 (r = sshbuf_check_reserve(oqueue, in sftp_server_main()
2104 r = sshbuf_check_reserve(oqueue, SFTP_MAX_MSG_LENGTH); in sftp_server_main()
H A Dssh-agent.c2157 if ((r = sshbuf_check_reserve(sockets[i].input, in prepare_poll()
2159 (r = sshbuf_check_reserve(sockets[i].output, in prepare_poll()
H A Dssh_namespace.h761 #define sshbuf_check_reserve Fssh_sshbuf_check_reserve macro
H A Dchannels.c1269 sshbuf_check_reserve(c->input, CHAN_RBUF) == 0) in channel_pre_open()
1426 sshbuf_check_reserve(c->input, CHAN_RBUF) == 0) in channel_pre_mux_client()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c41 ASSERT_INT_EQ(sshbuf_check_reserve(p1, 1), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()