Home
last modified time | relevance | path

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

/netbsd/crypto/external/bsd/openssh/dist/
H A Dsshbuf-misc.c241 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()
H A Dsshbuf-io.c48 st.st_size > SSHBUF_SIZE_MAX) in sshbuf_load_fd()
61 if (sshbuf_len(blob) > SSHBUF_SIZE_MAX) { in sshbuf_load_fd()
H A Dsshbuf.c62 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()
H A Dsshbuf-getput-basic.c253 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()
H A Dsshbuf.h37 #define SSHBUF_SIZE_MAX 0x10000000 /* Hard maximum size 256MB */ macro
H A Dreadconf.c2717 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()
H A Dchannels.c1219 if ((ret == 0) && tcpwinsz > SSHBUF_SIZE_MAX) in channel_tcpwinsz()
1220 tcpwinsz = SSHBUF_SIZE_MAX; in channel_tcpwinsz()
H A Dsftp-client.c761 if (count > SSHBUF_SIZE_MAX) in do_lsreaddir()