Searched refs:expbn2 (Results 1 – 1 of 1) sorted by relevance
| /src/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_getput_crypto.c | 44 u_char expbn2[] = { in sshbuf_getput_crypto_tests() local 109 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn2) + 4 + 1); /* MSB */ in sshbuf_getput_crypto_tests() 112 ASSERT_MEM_EQ(sshbuf_ptr(p1) + 5, expbn2, sizeof(expbn2)); in sshbuf_getput_crypto_tests() 121 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sizeof(expbn2) + 3), 0); in sshbuf_getput_crypto_tests() 182 ASSERT_INT_EQ(sshbuf_put(p1, expbn2, sizeof(expbn2)), 0); in sshbuf_getput_crypto_tests() 183 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 4 + 1 + sizeof(expbn2)); in sshbuf_getput_crypto_tests() 200 ASSERT_INT_EQ(sshbuf_put(p1, expbn2, sizeof(expbn2) - 1), 0); in sshbuf_getput_crypto_tests() 204 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn2) + 1 + 4 - 1); in sshbuf_getput_crypto_tests() 215 ASSERT_INT_EQ(sshbuf_put(p1, expbn2, sizeof(expbn2)), 0); in sshbuf_getput_crypto_tests() 219 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn2) + 4); in sshbuf_getput_crypto_tests()
|