Searched refs:sshbuf_consume_end (Results 1 – 14 of 14) sorted by relevance
/freebsd/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf.c | 80 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 D | test_sshbuf_fuzz.c | 81 sshbuf_consume : sshbuf_consume_end)(p1, r); in sshbuf_fuzz_tests()
|
H A D | test_sshbuf_fixed.c | 120 ASSERT_INT_EQ(sshbuf_consume_end(p2, 1), 0); in sshbuf_fixed()
|
H A D | test_sshbuf_getput_basic.c | 322 ASSERT_INT_EQ(sshbuf_consume_end(p1, 1), 0); in sshbuf_getput_basic_tests()
|
/freebsd/crypto/openssh/ |
H A D | sshbuf-misc.c | 193 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 D | sshbuf.h | 142 int sshbuf_consume_end(struct sshbuf *buf, size_t len);
|
H A D | sshbuf.c | 412 sshbuf_consume_end(struct sshbuf *buf, size_t len) in sshbuf_consume_end() function
|
H A D | sshbuf-getput-basic.c | 383 if ((r = sshbuf_consume_end(buf, 1)) != 0) in sshbuf_putfv()
|
H A D | ssh_api.c | 428 if ((r = sshbuf_consume_end(banner, 2)) != 0) in _ssh_send_banner()
|
H A D | sshsig.c | 130 if ((r = sshbuf_consume_end(sbuf, sshbuf_len(sbuf)-eoffset)) != 0) { in sshsig_dearmor()
|
H A D | packet.c | 1648 ((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 D | ssh_namespace.h | 759 #define sshbuf_consume_end Fssh_sshbuf_consume_end macro
|
H A D | kex.c | 1522 if ((r = sshbuf_consume_end(our_version, 2)) != 0) { /* trim \r\n */ in kex_exchange_identification()
|
/freebsd/crypto/openssh/regress/unittests/sshkey/ |
H A D | common.c | 64 ASSERT_INT_EQ(sshbuf_consume_end(ret, 1), 0); in load_text_file()
|