Searched refs:SSHBUF_SIZE_MAX (Results 1 – 8 of 8) sorted by relevance
241 if (offset > SSHBUF_SIZE_MAX || len > SSHBUF_SIZE_MAX || len == 0) in sshbuf_cmp()260 if (start_offset > SSHBUF_SIZE_MAX || len > SSHBUF_SIZE_MAX || len == 0) in sshbuf_find()
48 st.st_size > SSHBUF_SIZE_MAX) in sshbuf_load_fd()61 if (sshbuf_len(blob) > SSHBUF_SIZE_MAX) { in sshbuf_load_fd()
62 buf->max_size > SSHBUF_SIZE_MAX || in sshbuf_check_sanity()99 ret->max_size = SSHBUF_SIZE_MAX; in sshbuf_new()115 if (blob == NULL || len > SSHBUF_SIZE_MAX || in sshbuf_from()256 if (max_size > SSHBUF_SIZE_MAX) in sshbuf_set_max_size()
253 if (len > SSHBUF_SIZE_MAX - 4) { in sshbuf_peek_string_direct()517 if (len > SSHBUF_SIZE_MAX - 4) { in sshbuf_put_string()575 if (len > SSHBUF_SIZE_MAX - 5) { in sshbuf_put_bignum2_bytes()
37 #define SSHBUF_SIZE_MAX 0x10000000 /* Hard maximum size 256MB */ macro
2717 if (options->hpn_buffer_size > (SSHBUF_SIZE_MAX / 1024)) in fill_default_options()2719 options->hpn_buffer_size = SSHBUF_SIZE_MAX; in fill_default_options()
1219 if ((ret == 0) && tcpwinsz > SSHBUF_SIZE_MAX) in channel_tcpwinsz()1220 tcpwinsz = SSHBUF_SIZE_MAX; in channel_tcpwinsz()
761 if (count > SSHBUF_SIZE_MAX) in do_lsreaddir()