Home
last modified time | relevance | path

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

/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_crypto.c44 u_char expbn2[] = { in sshbuf_getput_crypto_tests() local
109 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn2) + 2); in sshbuf_getput_crypto_tests()
111 ASSERT_MEM_EQ(sshbuf_ptr(p1) + 2, expbn2, sizeof(expbn2)); in sshbuf_getput_crypto_tests()
157 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn2) + 4 + 1); /* MSB */ in sshbuf_getput_crypto_tests()
160 ASSERT_MEM_EQ(sshbuf_ptr(p1) + 5, expbn2, sizeof(expbn2)); in sshbuf_getput_crypto_tests()
169 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn2) + 3), 0); in sshbuf_getput_crypto_tests()
231 ASSERT_INT_EQ(sshbuf_put(p1, expbn2, sizeof(expbn2)), 0); in sshbuf_getput_crypto_tests()
232 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2 + sizeof(expbn2)); in sshbuf_getput_crypto_tests()
248 ASSERT_INT_EQ(sshbuf_put(p1, expbn2, sizeof(expbn2) - 1), 0); in sshbuf_getput_crypto_tests()
249 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2 + sizeof(expbn2) - 1); in sshbuf_getput_crypto_tests()
[all …]