| /mirbsd/src/usr.bin/ssh/ |
| D | packet.c | 272 buffer_ptr(&active_state->incoming_packet), in packet_stop_discard() 671 buffer_ptr(&active_state->compression_buffer), in packet_send1() 680 cp = buffer_ptr(&active_state->outgoing_packet); in packet_send1() 691 checksum = ssh_crc32(buffer_ptr(&active_state->outgoing_packet), in packet_send1() 707 buffer_ptr(&active_state->outgoing_packet), in packet_send1() 856 cp = buffer_ptr(&active_state->outgoing_packet); in packet_send2_wrapped() 874 buffer_ptr(&active_state->compression_buffer), in packet_send2_wrapped() 911 cp = buffer_ptr(&active_state->outgoing_packet); in packet_send2_wrapped() 919 buffer_ptr(&active_state->outgoing_packet), in packet_send2_wrapped() 927 buffer_ptr(&active_state->outgoing_packet), in packet_send2_wrapped() [all …]
|
| D | msg.c | 55 if (atomicio(vwrite, fd, buffer_ptr(m), mlen) != mlen) { in ssh_msg_send() 82 if (atomicio(read, fd, buffer_ptr(m), msg_len) != msg_len) { in ssh_msg_recv()
|
| D | compress.c | 97 outgoing_stream.next_in = buffer_ptr(input_buffer); in buffer_compress() 137 incoming_stream.next_in = buffer_ptr(input_buffer); in buffer_uncompress()
|
| D | monitor_wrap.c | 100 if (atomicio(vwrite, sock, buffer_ptr(m), mlen) != mlen) in mm_request_send() 122 if (atomicio(read, sock, buffer_ptr(m), msg_len) != msg_len) in mm_request_receive() 535 memcpy(*blobp, buffer_ptr(&b), len); in mm_newkeys_to_blob() 537 memset(buffer_ptr(&b), 0, len); in mm_newkeys_to_blob() 549 buffer_put_string(m, buffer_ptr(&kex->my), buffer_len(&kex->my)); in mm_send_kex() 550 buffer_put_string(m, buffer_ptr(&kex->peer), buffer_len(&kex->peer)); in mm_send_kex() 647 buffer_put_string(&m, buffer_ptr(input), buffer_len(input)); in mm_send_keystate() 648 buffer_put_string(&m, buffer_ptr(output), buffer_len(output)); in mm_send_keystate()
|
| D | clientloop.c | 429 packet_put_string(buffer_ptr(&stdin_buffer), len); in client_make_packets_from_stdin_data() 598 atomicio(vwrite, fileno(stdout), buffer_ptr(bout), in client_suspend_self() 601 atomicio(vwrite, fileno(stderr), buffer_ptr(berr), in client_suspend_self() 1184 len = write(fileno(stdout), buffer_ptr(&stdout_buffer), in client_process_output() 1207 len = write(fileno(stderr), buffer_ptr(&stderr_buffer), in client_process_output() 1515 len = write(fileno(stdout), buffer_ptr(&stdout_buffer), in client_loop() 1526 len = write(fileno(stderr), buffer_ptr(&stderr_buffer), in client_loop() 1949 len, (u_char*)buffer_ptr(cmd)); in client_session2_setup() 1954 len, (u_char*)buffer_ptr(cmd)); in client_session2_setup() 1958 packet_put_string(buffer_ptr(cmd), buffer_len(cmd)); in client_session2_setup()
|
| D | kex.c | 89 buffer_append(&b, buffer_ptr(raw), buffer_len(raw)); in kex_buf2prop() 175 cookie = buffer_ptr(&kex->my); in kex_send_kexinit() 178 packet_put_raw(buffer_ptr(&kex->my), buffer_len(&kex->my)); in kex_send_kexinit() 442 EVP_DigestUpdate(&md, buffer_ptr(&b), buffer_len(&b)); in derive_key() 456 EVP_DigestUpdate(&md, buffer_ptr(&b), buffer_len(&b)); in derive_key()
|
| D | kexdhc.c | 129 buffer_ptr(&kex->my), buffer_len(&kex->my), in kexdh_client() 130 buffer_ptr(&kex->peer), buffer_len(&kex->peer), in kexdh_client()
|
| D | kexdhs.c | 118 buffer_ptr(&kex->peer), buffer_len(&kex->peer), in kexdh_server() 119 buffer_ptr(&kex->my), buffer_len(&kex->my), in kexdh_server()
|
| D | kexgexs.c | 158 buffer_ptr(&kex->peer), buffer_len(&kex->peer), in kexgex_server() 159 buffer_ptr(&kex->my), buffer_len(&kex->my), in kexgex_server()
|
| D | kexgexc.c | 171 buffer_ptr(&kex->my), buffer_len(&kex->my), in kexgex_client() 172 buffer_ptr(&kex->peer), buffer_len(&kex->peer), in kexgex_client()
|
| D | ttymodes.c | 310 packet_put_string(buffer_ptr(&buf), buffer_len(&buf)); in tty_make_modes() 312 packet_put_raw(buffer_ptr(&buf), buffer_len(&buf)); in tty_make_modes()
|
| D | serverloop.c | 206 packet_put_string(buffer_ptr(&stderr_buffer), len); in make_packets_from_stderr_data() 235 packet_put_string(buffer_ptr(&stdout_buffer), len); in make_packets_from_stdout_data() 444 data = buffer_ptr(&stdin_buffer); in process_output() 488 packet_put_string(buffer_ptr(&stdout_buffer), in drain_output() 497 packet_put_string(buffer_ptr(&stderr_buffer), in drain_output()
|
| D | ssh-agent.c | 223 buffer_append(&e->output, buffer_ptr(&msg), buffer_len(&msg)); in process_request_identities() 290 buffer_append(&e->output, buffer_ptr(&msg), buffer_len(&msg)); in process_authentication_challenge1() 332 buffer_append(&e->output, buffer_ptr(&msg), in process_sign_request2() 595 buffer_append(&e->output, buffer_ptr(&msg), buffer_len(&msg)); in no_identities() 714 cp = buffer_ptr(&e->input); in process_message() 726 buffer_append(&e->request, buffer_ptr(&e->input), msg_len); in process_message() 947 buffer_ptr(&sockets[i].output), in after_select()
|
| D | kexdh.c | 76 EVP_DigestUpdate(&md, buffer_ptr(&b), buffer_len(&b)); in kex_dh_hash()
|
| D | authfile.c | 147 buffer_ptr(&buffer), buffer_len(&buffer)); in key_save_private_rsa1() 161 if (atomicio(vwrite, fd, buffer_ptr(&encrypted), in key_save_private_rsa1() 418 buffer_ptr(&buffer), buffer_len(&buffer)); in key_load_private_rsa1()
|
| D | kexgex.c | 87 EVP_DigestUpdate(&md, buffer_ptr(&b), buffer_len(&b)); in kexgex_hash()
|
| D | buffer.h | 31 void *buffer_ptr(Buffer *);
|
| D | channels.c | 635 cp = xstrdup(buffer_ptr(&buffer)); in channel_open_message() 881 ucp = buffer_ptr(b); in x11_open_helper() 1001 p = buffer_ptr(&c->input); in channel_decode_socks4() 1031 p = buffer_ptr(&c->input); in channel_decode_socks4() 1050 p = buffer_ptr(&c->input); in channel_decode_socks4() 1108 p = buffer_ptr(&c->input); in channel_decode_socks5() 1235 p = buffer_ptr(&c->input); in channel_pre_dynamic() 1607 buf = data = buffer_ptr(&c->output); in channel_handle_wfd() 1677 len = write(c->efd, buffer_ptr(&c->extended), in channel_handle_efd() 1783 len = write(c->sock, buffer_ptr(&c->output), in channel_post_output_drain_13() [all …]
|
| D | sshconnect2.c | 682 buffer_ptr(&b), buffer_len(&b)); in sign_and_send_pubkey() 717 packet_put_raw(buffer_ptr(&b), buffer_len(&b)); in sign_and_send_pubkey() 1156 buffer_ptr(&b), buffer_len(&b)); in userauth_hostbased() 1159 buffer_ptr(&b), buffer_len(&b)); in userauth_hostbased() 1285 list = xstrdup(buffer_ptr(&b)); in authmethods_get()
|
| D | bufbn.c | 121 bin = buffer_ptr(buffer); in buffer_get_bignum_ret()
|
| D | bufaux.c | 210 ptr = buffer_ptr(buffer); in buffer_get_string_ptr()
|
| D | compat.c | 228 fix_ciphers = xstrdup(buffer_ptr(&b)); in compat_cipher_proposal()
|
| D | auth2-hostbased.c | 120 PRIVSEP(key_verify(key, sig, slen, buffer_ptr(&b), in userauth_hostbased()
|
| D | ssh-dss.c | 98 memcpy(*sigp, buffer_ptr(&b), len); in ssh_dss_sign()
|
| D | buffer.c | 229 buffer_ptr(Buffer *buffer) in buffer_ptr() function
|