Searched refs:sshbuf_peek_u16 (Results 1 – 3 of 3) sorted by relevance
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_getput_basic.c | 521 ASSERT_INT_EQ(sshbuf_peek_u16(p1, 0, &v16), 0); in sshbuf_getput_basic_tests() 523 ASSERT_INT_EQ(sshbuf_peek_u16(p1, 8, &v16), 0); in sshbuf_getput_basic_tests() 525 ASSERT_INT_EQ(sshbuf_peek_u16(p1, 9, &v16), SSH_ERR_MESSAGE_INCOMPLETE); in sshbuf_getput_basic_tests() 526 ASSERT_INT_EQ(sshbuf_peek_u16(p1, sizeof(x), &v16), in sshbuf_getput_basic_tests() 528 ASSERT_INT_EQ(sshbuf_peek_u16(p1, 1000, &v16), in sshbuf_getput_basic_tests()
|
/external/openssh/ |
D | sshbuf.h | 184 int sshbuf_peek_u16(const struct sshbuf *buf, size_t offset,
|
D | sshbuf-getput-basic.c | 157 sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, u_int16_t *valp) in sshbuf_peek_u16() function
|