Searched refs:sshbuf_cmp (Results 1 – 8 of 8) sorted by relevance
| /freebsd/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_misc.c | 202 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, "i", 1), 0); in test_sshbuf_cmp() 203 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, "j", 1), SSH_ERR_INVALID_FORMAT); in test_sshbuf_cmp() 204 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, "imploring", 9), 0); in test_sshbuf_cmp() 205 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, "implored", 9), SSH_ERR_INVALID_FORMAT); in test_sshbuf_cmp() 206 ASSERT_INT_EQ(sshbuf_cmp(p1, 10, "ping", 4), 0); in test_sshbuf_cmp() 207 ASSERT_INT_EQ(sshbuf_cmp(p1, 10, "ring", 4), SSH_ERR_INVALID_FORMAT); in test_sshbuf_cmp() 208 ASSERT_INT_EQ(sshbuf_cmp(p1, 28, "over", 4), 0); in test_sshbuf_cmp() 209 ASSERT_INT_EQ(sshbuf_cmp(p1, 28, "rove", 4), SSH_ERR_INVALID_FORMAT); in test_sshbuf_cmp() 210 ASSERT_INT_EQ(sshbuf_cmp(p1, 28, "overt", 5), in test_sshbuf_cmp() 212 ASSERT_INT_EQ(sshbuf_cmp(p1, 32, "ping", 4), in test_sshbuf_cmp() [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | sshsig.c | 102 if ((r = sshbuf_cmp(sbuf, 0, in sshsig_dearmor() 111 if ((r = sshbuf_cmp(sbuf, 0, "\r\n", 2)) == 0) in sshsig_dearmor() 113 else if ((r = sshbuf_cmp(sbuf, 0, "\n", 1)) == 0) in sshsig_dearmor() 247 if ((r = sshbuf_cmp(buf, 0, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || in sshsig_parse_preamble()
|
| H A D | sshbuf-misc.c | 275 sshbuf_cmp(const struct sshbuf *b, size_t offset, in sshbuf_cmp() function
|
| H A D | sshbuf.h | 287 int sshbuf_cmp(const struct sshbuf *b, size_t offset,
|
| H A D | ssh-ecdsa-sk.c | 217 if ((r = sshbuf_cmp(wrapper, 0, sshbuf_ptr(m), sshbuf_len(m))) != 0) in webauthn_check_prepare_hash()
|
| H A D | ssh_namespace.h | 772 #define sshbuf_cmp Fssh_sshbuf_cmp macro
|
| H A D | krl.c | 1057 if ((r = sshbuf_cmp(buf, 0, KRL_MAGIC, sizeof(KRL_MAGIC) - 1)) != 0) { in ssh_krl_from_blob()
|
| H A D | ssh-agent.c | 798 if ((r = sshbuf_cmp(b, 0, "SSHSIG", 6)) != 0 || in parse_sshsig_request()
|