Searched refs:sshbuf_cmp (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_misc.c | 171 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, "i", 1), 0); in sshbuf_misc_tests() 172 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, "j", 1), SSH_ERR_INVALID_FORMAT); in sshbuf_misc_tests() 173 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, "imploring", 9), 0); in sshbuf_misc_tests() 175 ASSERT_INT_EQ(sshbuf_cmp(p1, 10, "ping", 4), 0); in sshbuf_misc_tests() 176 ASSERT_INT_EQ(sshbuf_cmp(p1, 10, "ring", 4), SSH_ERR_INVALID_FORMAT); in sshbuf_misc_tests() 177 ASSERT_INT_EQ(sshbuf_cmp(p1, 28, "over", 4), 0); in sshbuf_misc_tests() 178 ASSERT_INT_EQ(sshbuf_cmp(p1, 28, "rove", 4), SSH_ERR_INVALID_FORMAT); in sshbuf_misc_tests() 179 ASSERT_INT_EQ(sshbuf_cmp(p1, 28, "overt", 5), in sshbuf_misc_tests() 181 ASSERT_INT_EQ(sshbuf_cmp(p1, 32, "ping", 4), in sshbuf_misc_tests() 183 ASSERT_INT_EQ(sshbuf_cmp(p1, 1000, "silence", 7), in sshbuf_misc_tests() [all …]
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | sshbuf-misc.c | 237 sshbuf_cmp(const struct sshbuf *b, size_t offset, in sshbuf_cmp() function
|
| H A D | ssh-ecdsa-sk.c | 124 if ((r = sshbuf_cmp(wrapper, 0, sshbuf_ptr(m), sshbuf_len(m))) != 0) in webauthn_check_prepare_hash()
|
| H A D | sshbuf.h | 274 int sshbuf_cmp(const struct sshbuf *b, size_t offset,
|
| H A D | sshsig.c | 102 if ((r = sshbuf_cmp(sbuf, 0, in sshsig_dearmor() 231 if ((r = sshbuf_cmp(buf, 0, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || in sshsig_parse_preamble()
|
| H A D | ssh_namespace.h | 687 #define sshbuf_cmp Fssh_sshbuf_cmp macro
|
| H A D | ssh-agent.c | 402 if ((r = sshbuf_cmp(b, 0, "SSHSIG", 6)) != 0 || in parse_sshsig_request()
|