Searched refs:sshbuf_set_max_size (Results 1 – 9 of 9) sorted by relevance
/freebsd/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf.c | 57 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 65536), 0); in sshbuf_tests() 169 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 1223), 0); in sshbuf_tests() 203 r = sshbuf_set_max_size(p1, 1000); in sshbuf_tests() 206 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sz), 0); in sshbuf_tests() 230 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 1223), 0); in sshbuf_tests()
|
H A D | test_sshbuf_fuzz.c | 44 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 16 * 1024), 0); in sshbuf_fuzz_tests() 99 if (sshbuf_set_max_size(p1, r) < 0) in sshbuf_fuzz_tests() 111 ASSERT_INT_EQ(sshbuf_set_max_size(p1, in sshbuf_fuzz_tests()
|
H A D | test_sshbuf_getput_basic.c | 105 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 4), 0); in sshbuf_getput_basic_tests() 211 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 8), 0); in sshbuf_getput_basic_tests() 221 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 7), 0); in sshbuf_getput_basic_tests() 240 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 4), 0); in sshbuf_getput_basic_tests() 250 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 3), 0); in sshbuf_getput_basic_tests() 269 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 2), 0); in sshbuf_getput_basic_tests() 279 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 1), 0); in sshbuf_getput_basic_tests() 304 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(x) + 4), 0); in sshbuf_getput_basic_tests() 391 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(x) + 4 - 1), 0); in sshbuf_getput_basic_tests()
|
H A D | test_sshbuf_getput_crypto.c | 96 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn1) + 3), 0); in sshbuf_getput_crypto_tests() 121 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn2) + 3), 0); in sshbuf_getput_crypto_tests()
|
H A D | test_sshbuf_fixed.c | 43 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 200), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
|
/freebsd/crypto/openssh/ |
H A D | sshbuf.h | 86 int sshbuf_set_max_size(struct sshbuf *buf, size_t max_size);
|
H A D | sshbuf.c | 243 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) in sshbuf_set_max_size() function
|
H A D | ssh_namespace.h | 823 #define sshbuf_set_max_size Fssh_sshbuf_set_max_size macro
|
H A D | channels.c | 529 if ((r = sshbuf_set_max_size(c->input, CHAN_INPUT_MAX)) != 0) in channel_new()
|