Home
last modified time | relevance | path

Searched refs:sshbuf_consume_end (Results 1 – 14 of 14) sorted by relevance

/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf.c80 ASSERT_INT_EQ(sshbuf_consume_end(p1, 0), 0); in sshbuf_tests()
81 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), SSH_ERR_MESSAGE_INCOMPLETE); in sshbuf_tests()
151 r = sshbuf_consume_end(p1, 5); in sshbuf_tests()
154 ASSERT_INT_EQ(sshbuf_consume_end(p1, 3), 0); in sshbuf_tests()
159 r = sshbuf_consume_end(p1, 2); in sshbuf_tests()
161 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), 0); in sshbuf_tests()
H A Dtest_sshbuf_fuzz.c81 sshbuf_consume : sshbuf_consume_end)(p1, r); in sshbuf_fuzz_tests()
H A Dtest_sshbuf_fixed.c120 ASSERT_INT_EQ(sshbuf_consume_end(p2, 1), 0); in sshbuf_fixed()
H A Dtest_sshbuf_getput_basic.c322 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), 0); in sshbuf_getput_basic_tests()
/freebsd/crypto/openssh/
H A Dsshbuf-misc.c193 if ((r = sshbuf_consume_end(b, 1)) != 0) in sshbuf_dtourlb64()
291 if ((r = sshbuf_consume_end(buf, adjust)) != 0) { in sshbuf_read()
H A Dsshbuf.h142 int sshbuf_consume_end(struct sshbuf *buf, size_t len);
H A Dsshbuf.c412 sshbuf_consume_end(struct sshbuf *buf, size_t len) in sshbuf_consume_end() function
H A Dsshbuf-getput-basic.c383 if ((r = sshbuf_consume_end(buf, 1)) != 0) in sshbuf_putfv()
H A Dssh_api.c428 if ((r = sshbuf_consume_end(banner, 2)) != 0) in _ssh_send_banner()
H A Dsshsig.c130 if ((r = sshbuf_consume_end(sbuf, sshbuf_len(sbuf)-eoffset)) != 0) { in sshsig_dearmor()
H A Dpacket.c1648 ((r = sshbuf_consume_end(state->incoming_packet, padlen)) != 0)) in ssh_packet_read_poll2()
1831 if ((r = sshbuf_consume_end(state->input, rlen)) != 0) in ssh_packet_process_read()
H A Dssh_namespace.h759 #define sshbuf_consume_end Fssh_sshbuf_consume_end macro
H A Dkex.c1522 if ((r = sshbuf_consume_end(our_version, 2)) != 0) { /* trim \r\n */ in kex_exchange_identification()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.c64 ASSERT_INT_EQ(sshbuf_consume_end(ret, 1), 0); in load_text_file()