Searched refs:sshbuf_get_u16 (Results 1 - 7 of 7) sorted by relevance

/freebsd-10-stable/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_basic.c152 TEST_START("sshbuf_get_u16");
157 ASSERT_INT_EQ(sshbuf_get_u16(p1, &v16), 0);
160 ASSERT_INT_EQ(sshbuf_get_u16(p1, &v16), 0);
163 ASSERT_INT_EQ(sshbuf_get_u16(p1, &v16), 0);
166 ASSERT_INT_EQ(sshbuf_get_u16(p1, &v16), 0);
171 TEST_START("sshbuf_get_u16 truncated");
173 r = sshbuf_get_u16(p1, &v16);
H A Dtest_sshbuf_getput_fuzz.c50 sshbuf_get_u16(p1, &u16);
/freebsd-10-stable/crypto/openssh/
H A Dbufaux.c33 if ((ret = sshbuf_get_u16(buffer, v)) != 0) {
H A Dsshbuf.h173 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp);
H A Dsshbuf-getput-basic.c71 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) function
H A Dssh_namespace.h757 #define sshbuf_get_u16 Fssh_sshbuf_get_u16 macro
H A Dsshkey.c3723 if ((r = sshbuf_get_u16(decrypted, &check1)) != 0 ||
3724 (r = sshbuf_get_u16(decrypted, &check2)) != 0)

Completed in 181 milliseconds