Home
last modified time | relevance | path

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

/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_crypto.c40 u_char expbn1[] = { in sshbuf_getput_crypto_tests() local
85 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn1) + 2); in sshbuf_getput_crypto_tests()
87 ASSERT_MEM_EQ(sshbuf_ptr(p1) + 2, expbn1, sizeof(expbn1)); in sshbuf_getput_crypto_tests()
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()
133 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn1) + 4); in sshbuf_getput_crypto_tests()
135 ASSERT_MEM_EQ(sshbuf_ptr(p1) + 4, expbn1, sizeof(expbn1)); in sshbuf_getput_crypto_tests()
144 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn1) + 3), 0); in sshbuf_getput_crypto_tests()
182 ASSERT_INT_EQ(sshbuf_put(p1, expbn1, sizeof(expbn1)), 0); in sshbuf_getput_crypto_tests()
183 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2 + sizeof(expbn1)); in sshbuf_getput_crypto_tests()
[all …]