Searched refs:sshbuf_find (Results 1 - 5 of 5) sorted by relevance

/freebsd-current/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_misc.c187 TEST_START("sshbuf_find");
190 ASSERT_INT_EQ(sshbuf_find(p1, 0, "i", 1, &sz), 0);
192 ASSERT_INT_EQ(sshbuf_find(p1, 0, "j", 1, &sz), SSH_ERR_INVALID_FORMAT);
193 ASSERT_INT_EQ(sshbuf_find(p1, 0, "imploring", 9, &sz), 0);
195 ASSERT_INT_EQ(sshbuf_find(p1, 0, "implored", 9, &sz),
197 ASSERT_INT_EQ(sshbuf_find(p1, 3, "ping", 4, &sz), 0);
199 ASSERT_INT_EQ(sshbuf_find(p1, 11, "ping", 4, &sz), 0);
201 ASSERT_INT_EQ(sshbuf_find(p1, 20, "over", 4, &sz), 0);
203 ASSERT_INT_EQ(sshbuf_find(p1, 28, "over", 4, &sz), 0);
205 ASSERT_INT_EQ(sshbuf_find(p
[all...]
/freebsd-current/crypto/openssh/
H A Dsshbuf-misc.c253 sshbuf_find(const struct sshbuf *b, size_t start_offset, function
H A Dsshbuf.h265 * the start of the buffer. Otherwise sshbuf_find will return a ssherr.h
271 sshbuf_find(const struct sshbuf *b, size_t start_offset,
H A Dssh_namespace.h767 #define sshbuf_find Fssh_sshbuf_find macro
H A Dsshsig.c125 if ((r = sshbuf_find(sbuf, 0, "\n" END_SIGNATURE,

Completed in 101 milliseconds