Home
last modified time | relevance | path

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

/openbsd/regress/usr.bin/ssh/unittests/sshbuf/
H A Dtest_sshbuf.c74 ASSERT_INT_EQ(sshbuf_consume_end(p1, 0), 0); in sshbuf_tests()
75 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), SSH_ERR_MESSAGE_INCOMPLETE); in sshbuf_tests()
145 r = sshbuf_consume_end(p1, 5); in sshbuf_tests()
148 ASSERT_INT_EQ(sshbuf_consume_end(p1, 3), 0); in sshbuf_tests()
153 r = sshbuf_consume_end(p1, 2); in sshbuf_tests()
155 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), 0); in sshbuf_tests()
H A Dtest_sshbuf_fuzz.c77 sshbuf_consume : sshbuf_consume_end)(p1, r); in sshbuf_fuzz_tests()
H A Dtest_sshbuf_fixed.c116 ASSERT_INT_EQ(sshbuf_consume_end(p2, 1), 0); in sshbuf_fixed()
H A Dtest_sshbuf_getput_basic.c318 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), 0); in sshbuf_getput_basic_tests()
/openbsd/usr.bin/ssh/
H A Dsshbuf-misc.c189 if ((r = sshbuf_consume_end(b, 1)) != 0) in sshbuf_dtourlb64()
287 if ((r = sshbuf_consume_end(buf, adjust)) != 0) { in sshbuf_read()
H A Dsshbuf.h149 int sshbuf_consume_end(struct sshbuf *buf, size_t len);
H A Dsshbuf.c410 sshbuf_consume_end(struct sshbuf *buf, size_t len) in sshbuf_consume_end() function
H A Dsshbuf-getput-basic.c379 if ((r = sshbuf_consume_end(buf, 1)) != 0) in sshbuf_putfv()
H A Dssh_api.c429 if ((r = sshbuf_consume_end(banner, 2)) != 0) in _ssh_send_banner()
H A Dsshsig.c128 if ((r = sshbuf_consume_end(sbuf, sshbuf_len(sbuf)-eoffset)) != 0) { in sshsig_dearmor()
H A Dpacket.c1713 ((r = sshbuf_consume_end(state->incoming_packet, padlen)) != 0)) in ssh_packet_read_poll2()
1896 if ((r = sshbuf_consume_end(state->input, rlen)) != 0) in ssh_packet_process_read()
H A Dkex.c1263 if ((r = sshbuf_consume_end(our_version, 2)) != 0) { /* trim \r\n */ in kex_exchange_identification()
/openbsd/regress/usr.bin/ssh/unittests/sshkey/
H A Dcommon.c54 ASSERT_INT_EQ(sshbuf_consume_end(ret, 1), 0); in load_text_file()