Searched refs:sshbuf_check_reserve (Results 1 – 9 of 9) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | ssh-pkcs11-helper.c | 393 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 D | sshbuf.c | 313 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 D | ssh_api.c | 331 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 D | sshbuf.h | 116 int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
|
H A D | sftp-server.c | 2047 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 D | ssh-agent.c | 2157 if ((r = sshbuf_check_reserve(sockets[i].input, in prepare_poll() 2159 (r = sshbuf_check_reserve(sockets[i].output, in prepare_poll()
|
H A D | ssh_namespace.h | 761 #define sshbuf_check_reserve Fssh_sshbuf_check_reserve macro
|
H A D | channels.c | 1269 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 D | test_sshbuf_fixed.c | 41 ASSERT_INT_EQ(sshbuf_check_reserve(p1, 1), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
|