Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_misc.c190 ASSERT_INT_EQ(sshbuf_find(p1, 0, "i", 1, &sz), 0); in sshbuf_misc_tests()
192 ASSERT_INT_EQ(sshbuf_find(p1, 0, "j", 1, &sz), SSH_ERR_INVALID_FORMAT); in sshbuf_misc_tests()
193 ASSERT_INT_EQ(sshbuf_find(p1, 0, "imploring", 9, &sz), 0); in sshbuf_misc_tests()
195 ASSERT_INT_EQ(sshbuf_find(p1, 0, "implored", 9, &sz), in sshbuf_misc_tests()
197 ASSERT_INT_EQ(sshbuf_find(p1, 3, "ping", 4, &sz), 0); in sshbuf_misc_tests()
199 ASSERT_INT_EQ(sshbuf_find(p1, 11, "ping", 4, &sz), 0); in sshbuf_misc_tests()
201 ASSERT_INT_EQ(sshbuf_find(p1, 20, "over", 4, &sz), 0); in sshbuf_misc_tests()
203 ASSERT_INT_EQ(sshbuf_find(p1, 28, "over", 4, &sz), 0); in sshbuf_misc_tests()
205 ASSERT_INT_EQ(sshbuf_find(p1, 28, "rove", 4, &sz), in sshbuf_misc_tests()
207 ASSERT_INT_EQ(sshbuf_find(p1, 28, "overt", 5, &sz), in sshbuf_misc_tests()
[all …]
/freebsd/crypto/openssh/
H A Dsshbuf-misc.c253 sshbuf_find(const struct sshbuf *b, size_t start_offset, in sshbuf_find() function
H A Dsshbuf.h271 sshbuf_find(const struct sshbuf *b, size_t start_offset,
H A Dsshsig.c125 if ((r = sshbuf_find(sbuf, 0, "\n" END_SIGNATURE, in sshsig_dearmor()
H A Dssh_namespace.h767 #define sshbuf_find Fssh_sshbuf_find macro