Searched refs:sshbuf_set_max_size (Results 1 – 8 of 8) sorted by relevance
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf.c | 54 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 65536), 0); in sshbuf_tests() 166 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 1223), 0); in sshbuf_tests() 200 r = sshbuf_set_max_size(p1, 1000); in sshbuf_tests() 203 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sz), 0); in sshbuf_tests() 227 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 1223), 0); in sshbuf_tests()
|
D | test_sshbuf_getput_basic.c | 106 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 4), 0); in sshbuf_getput_basic_tests() 212 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 8), 0); in sshbuf_getput_basic_tests() 222 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 7), 0); in sshbuf_getput_basic_tests() 241 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 4), 0); in sshbuf_getput_basic_tests() 251 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 3), 0); in sshbuf_getput_basic_tests() 270 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 2), 0); in sshbuf_getput_basic_tests() 280 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 1), 0); in sshbuf_getput_basic_tests() 305 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(x) + 4), 0); in sshbuf_getput_basic_tests() 392 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(x) + 4 - 1), 0); in sshbuf_getput_basic_tests()
|
D | test_sshbuf_fuzz.c | 40 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 16 * 1024), 0); in sshbuf_fuzz_tests() 95 if (sshbuf_set_max_size(p1, r) < 0) in sshbuf_fuzz_tests() 107 ASSERT_INT_EQ(sshbuf_set_max_size(p1, in sshbuf_fuzz_tests()
|
D | test_sshbuf_getput_crypto.c | 96 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn1) + 1), 0); in sshbuf_getput_crypto_tests() 120 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn1) + 1), 0); in sshbuf_getput_crypto_tests() 144 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn1) + 3), 0); in sshbuf_getput_crypto_tests() 169 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn2) + 3), 0); in sshbuf_getput_crypto_tests()
|
D | test_sshbuf_fixed.c | 44 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 200), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
|
/external/openssh/ |
D | sshbuf.h | 110 int sshbuf_set_max_size(struct sshbuf *buf, size_t max_size);
|
D | sshbuf.c | 232 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) in sshbuf_set_max_size() function
|
D | authfile.c | 120 (dontmax && (r = sshbuf_set_max_size(blob, st.st_size)) != 0)) in sshkey_load_file()
|