Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/
H A Dsshbuf.c285 sshbuf_check_reserve(const struct sshbuf *buf, size_t len) in sshbuf_check_reserve() function
308 if ((r = sshbuf_check_reserve(buf, len)) != 0) in sshbuf_allocate()
335 if ((r = sshbuf_check_reserve(buf, len)) < 0) { in sshbuf_allocate()
H A Dssh-pkcs11-helper.c338 if ((r = sshbuf_check_reserve(iqueue, sizeof(buf))) == 0 && in main()
339 (r = sshbuf_check_reserve(oqueue, MAX_MSG_LENGTH)) == 0) in main()
386 if ((r = sshbuf_check_reserve(oqueue, MAX_MSG_LENGTH)) == 0) in main()
H A Dssh_api.c304 return (0 == sshbuf_check_reserve(ssh_packet_get_output(ssh), len)); in ssh_output_space()
310 return (0 == sshbuf_check_reserve(ssh_packet_get_input(ssh), len)); in ssh_input_space()
H A Dsshbuf.h130 int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
H A Dsftp-server.c1653 if ((r = sshbuf_check_reserve(iqueue, sizeof(buf))) == 0 && in sftp_server_main()
1654 (r = sshbuf_check_reserve(oqueue, in sftp_server_main()
1703 r = sshbuf_check_reserve(oqueue, SFTP_MAX_MSG_LENGTH); in sftp_server_main()
H A Dssh_namespace.h646 #define sshbuf_check_reserve Fssh_sshbuf_check_reserve macro
H A Dchannels.c1040 sshbuf_check_reserve(c->input, CHAN_RBUF) == 0) in channel_pre_open()
1175 sshbuf_check_reserve(c->input, CHAN_RBUF) == 0) in channel_pre_mux_client()
/freebsd-12.1/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c42 ASSERT_INT_EQ(sshbuf_check_reserve(p1, 1), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()