Home
last modified time | relevance | path

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

/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_basic.c521 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/
Dsshbuf.h184 int sshbuf_peek_u16(const struct sshbuf *buf, size_t offset,
Dsshbuf-getput-basic.c157 sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, u_int16_t *valp) in sshbuf_peek_u16() function