/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf.c | 85 r = sshbuf_reserve(p1, 1, &dp); in sshbuf_tests() 89 r = sshbuf_reserve(p1, 3, &dp); in sshbuf_tests() 140 r = sshbuf_reserve(p1, 4, &dp); in sshbuf_tests() 169 r = sshbuf_reserve(p1, 1223, &dp); in sshbuf_tests() 175 r = sshbuf_reserve(p1, 1, &dp); in sshbuf_tests() 184 r = sshbuf_reserve(p1, 224, &dp); in sshbuf_tests() 189 r = sshbuf_reserve(p1, 223, &dp); in sshbuf_tests() 211 r = sshbuf_reserve(p1, 1, &dp); in sshbuf_tests() 229 r = sshbuf_reserve(p1, 1223, &dp); in sshbuf_tests()
|
D | test_sshbuf_fuzz.c | 52 ret = sshbuf_reserve(p1, r, &dp); in sshbuf_fuzz_tests()
|
D | test_sshbuf_fixed.c | 43 ASSERT_INT_EQ(sshbuf_reserve(p1, 1, NULL), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
|
D | test_sshbuf_misc.c | 102 ASSERT_INT_EQ(sshbuf_reserve(p1, 8192, NULL), 0); in sshbuf_misc_tests()
|
D | test_sshbuf_getput_crypto.c | 215 ASSERT_INT_EQ(sshbuf_reserve(p1, (0xffff + 7) / 8, NULL), 0); in sshbuf_getput_crypto_tests() 296 ASSERT_INT_EQ(sshbuf_reserve(p1, 65536, NULL), 0); in sshbuf_getput_crypto_tests()
|
/external/openssh/ |
D | sshbuf-getput-basic.c | 229 (r = sshbuf_reserve(v, len, &p)) != 0 || in sshbuf_get_stringb() 241 if ((r = sshbuf_reserve(buf, len, &p)) < 0) in sshbuf_put() 284 if ((r = sshbuf_reserve(buf, (size_t)len + 1, &p)) < 0) in sshbuf_putfv() 305 if ((r = sshbuf_reserve(buf, 8, &p)) < 0) in sshbuf_put_u64() 317 if ((r = sshbuf_reserve(buf, 4, &p)) < 0) in sshbuf_put_u32() 329 if ((r = sshbuf_reserve(buf, 2, &p)) < 0) in sshbuf_put_u16() 341 if ((r = sshbuf_reserve(buf, 1, &p)) < 0) in sshbuf_put_u8() 357 if ((r = sshbuf_reserve(buf, len + 4, &d)) < 0) in sshbuf_put_string() 420 if ((r = sshbuf_reserve(buf, len + 4 + prepend, &d)) < 0) in sshbuf_put_bignum2_bytes()
|
D | msg.c | 85 if ((r = sshbuf_reserve(m, msg_len, &p)) != 0) { in ssh_msg_recv()
|
D | buffer.c | 44 if ((ret = sshbuf_reserve(buffer, len, &p)) != 0) in buffer_append_space()
|
D | packet.c | 910 if ((r = sshbuf_reserve(state->output, in ssh_packet_send1() 1226 if ((r = sshbuf_reserve(state->outgoing_packet, padlen, &cp)) != 0) in ssh_packet_send2_wrapped() 1257 if ((r = sshbuf_reserve(state->output, in ssh_packet_send2_wrapped() 1604 if ((r = sshbuf_reserve(state->incoming_packet, padded_len, &p)) != 0) in ssh_packet_read_poll1() 1768 if ((r = sshbuf_reserve(state->incoming_packet, block_size, in ssh_packet_read_poll2() 1836 if ((r = sshbuf_reserve(state->incoming_packet, aadlen + need, in ssh_packet_read_poll2() 2571 (r = sshbuf_reserve(m, slen, &p)) != 0 || in ssh_packet_get_state() 2574 (r = sshbuf_reserve(m, rlen, &p)) != 0 || in ssh_packet_get_state() 2597 (r = sshbuf_reserve(m, slen, &p)) != 0) in ssh_packet_get_state() 2602 (r = sshbuf_reserve(m, rlen, &p)) != 0) in ssh_packet_get_state()
|
D | sshbuf-getput-crypto.c | 179 if ((r = sshbuf_reserve(buf, len_bytes + 2, &dp)) < 0) { in sshbuf_put_bignum1()
|
D | sshbuf.h | 154 int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
|
D | sshbuf.c | 362 sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp) in sshbuf_reserve() function
|
D | sshkey.c | 3136 if ((r = sshbuf_reserve(encoded, in sshkey_private_to_blob2() 3329 if ((r = sshbuf_reserve(decrypted, encrypted_len, &dp)) != 0 || in sshkey_parse_private2() 3439 if ((r = sshbuf_reserve(buffer, 4, &cp)) != 0) in sshkey_private_rsa1_to_blob() 3485 if ((r = sshbuf_reserve(encrypted, sshbuf_len(buffer), &cp)) != 0) in sshkey_private_rsa1_to_blob() 3719 if ((r = sshbuf_reserve(decrypted, sshbuf_len(copy), &cp)) != 0) in sshkey_parse_private_rsa1()
|
D | sftp-client.c | 139 if ((r = sshbuf_reserve(m, 4, &p)) != 0) in get_msg() 154 if ((r = sshbuf_reserve(m, msg_len, &p)) != 0) in get_msg()
|
D | ChangeLog | 1626 split allocation out of sshbuf_reserve() into a separate
|