Searched refs:sshbuf_consume_end (Results 1 – 13 of 13) sorted by relevance
/openbsd/regress/usr.bin/ssh/unittests/sshbuf/ |
H A D | test_sshbuf.c | 74 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 D | test_sshbuf_fuzz.c | 77 sshbuf_consume : sshbuf_consume_end)(p1, r); in sshbuf_fuzz_tests()
|
H A D | test_sshbuf_fixed.c | 116 ASSERT_INT_EQ(sshbuf_consume_end(p2, 1), 0); in sshbuf_fixed()
|
H A D | test_sshbuf_getput_basic.c | 318 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), 0); in sshbuf_getput_basic_tests()
|
/openbsd/usr.bin/ssh/ |
H A D | sshbuf-misc.c | 189 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 D | sshbuf.h | 149 int sshbuf_consume_end(struct sshbuf *buf, size_t len);
|
H A D | sshbuf.c | 410 sshbuf_consume_end(struct sshbuf *buf, size_t len) in sshbuf_consume_end() function
|
H A D | sshbuf-getput-basic.c | 379 if ((r = sshbuf_consume_end(buf, 1)) != 0) in sshbuf_putfv()
|
H A D | ssh_api.c | 429 if ((r = sshbuf_consume_end(banner, 2)) != 0) in _ssh_send_banner()
|
H A D | sshsig.c | 128 if ((r = sshbuf_consume_end(sbuf, sshbuf_len(sbuf)-eoffset)) != 0) { in sshsig_dearmor()
|
H A D | packet.c | 1713 ((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 D | kex.c | 1263 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 D | common.c | 54 ASSERT_INT_EQ(sshbuf_consume_end(ret, 1), 0); in load_text_file()
|