Home
last modified time | relevance | path

Searched refs:buffer_append (Results 1 – 25 of 35) sorted by relevance

12

/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dradix.c49 buffer_append(&b, creds->service, strlen(creds->service)); in creds_to_radix()
51 buffer_append(&b, creds->instance, strlen(creds->instance)); in creds_to_radix()
53 buffer_append(&b, creds->realm, strlen(creds->realm)); in creds_to_radix()
55 buffer_append(&b, creds->pname, strlen(creds->pname)); in creds_to_radix()
57 buffer_append(&b, creds->pinst, strlen(creds->pinst)); in creds_to_radix()
66 buffer_append(&b, creds->session, sizeof(creds->session)); in creds_to_radix()
H A Dbufaux.c78 buffer_append(buffer, msg, 2); in buffer_put_bignum_ret()
80 buffer_append(buffer, (char *)buf, oi); in buffer_put_bignum_ret()
299 buffer_append(buffer, buf, 2); in buffer_put_short()
308 buffer_append(buffer, buf, 4); in buffer_put_int()
318 buffer_append(buffer, buf, 8); in buffer_put_int64()
399 buffer_append(buffer, buf, len); in buffer_put_string()
468 buffer_append(buffer, &ch, 1); in buffer_put_char()
H A Dpacket.c175 buffer_append(&buf, data, len); in data_dump()
419 buffer_append(&outgoing_packet, buf, len); in packet_start()
428 buffer_append(&outgoing_packet, &ch, 1); in packet_put_char()
470 buffer_append(&outgoing_packet, buf, len); in packet_put_raw()
507 buffer_append(&compression_buffer, "\0\0\0\0\0\0\0\0", 8); in packet_send1()
510 buffer_append(&outgoing_packet, buffer_ptr(&compression_buffer), in packet_send1()
533 buffer_append(&outgoing_packet, buf, 4); in packet_send1()
542 buffer_append(&output, buf, 4); in packet_send1()
760 buffer_append(&outgoing_packet, "\0\0\0\0\0", 5); in packet_send2_wrapped()
761 buffer_append(&outgoing_packet, buffer_ptr(&compression_buffer), in packet_send2_wrapped()
[all …]
H A Dkexdh.c66 buffer_append(&b, ckexinit, ckexinitlen); in kex_dh_hash()
69 buffer_append(&b, skexinit, skexinitlen); in kex_dh_hash()
H A Dcompat.c246 buffer_append(&b, ",", 1); in compat_cipher_proposal()
247 buffer_append(&b, cp, strlen(cp)); in compat_cipher_proposal()
250 buffer_append(&b, "\0", 1); in compat_cipher_proposal()
H A Dkexgex.c68 buffer_append(&b, ckexinit, ckexinitlen); in kexgex_hash()
71 buffer_append(&b, skexinit, skexinitlen); in kexgex_hash()
H A Dcompress.c109 buffer_append(output_buffer, buf, in buffer_compress()
146 buffer_append(output_buffer, buf, in buffer_uncompress()
H A Dssh-gss.c131 buffer_append(&buf, (*p)->encoded, strlen((*p)->encoded)); in ssh_gssapi_mech_oids_to_kexnames()
229 buffer_append(&buf, oid->elements, oidlen); in ssh_gssapi_encode_oid_for_kex()
242 buffer_append(&buf, KEX_GSS_SHA1, sizeof (KEX_GSS_SHA1) - 1); in ssh_gssapi_encode_oid_for_kex()
243 buffer_append(&buf, encoded, enclen); in ssh_gssapi_encode_oid_for_kex()
581 buffer_append(&b, msg.value, msg.length); in ssh_gssapi_last_error()
596 buffer_append(&b, msg.value, msg.length); in ssh_gssapi_last_error()
H A Dchannels.c538 buffer_append(&buffer, buf, strlen(buf)); in channel_open_message()
565 buffer_append(&buffer, buf, strlen(buf)); in channel_open_message()
572 buffer_append(&buffer, "\0", 1); in channel_open_message()
959 buffer_append(&c->output, (char *)&s4_rsp, sizeof(s4_rsp)); in channel_decode_socks4()
1079 buffer_append(&c->output, &s5_rsp, sizeof(s5_rsp)); in channel_decode_socks5()
1080 buffer_append(&c->output, &bnd_addr, sizeof(struct in_addr)); in channel_decode_socks5()
1081 buffer_append(&c->output, &dest_port, sizeof(dest_port)); in channel_decode_socks5()
1408 buffer_append(&c->input, buf, len); in channel_handle_rfd()
1506 buffer_append(&c->extended, buf, len); in channel_handle_efd()
1873 buffer_append(&c->output, data, data_len); in channel_input_data()
[all …]
H A Dbuffer.c71 buffer_append(Buffer *buffer, const void *data, u_int len) in buffer_append() function
H A Dssh-dss.c131 buffer_append(&b, signature, signaturelen); in ssh_dss_verify()
H A Dauthfd.c165 buffer_append(reply, buf, l); in ssh_request_reply()
385 buffer_append(&buffer, session_id, 16); in ssh_decrypt_challenge()
/titanic_44/usr/src/cmd/ssh/ssh/
H A Dclientloop.c360 buffer_append(&stdin_buffer, buf, 1); in client_check_initial_eof_on_stdin()
555 buffer_append(&stderr_buffer, buf, strlen(buf)); in client_wait_until_can_do_something()
623 buffer_append(&stderr_buffer, buf, strlen(buf)); in client_process_net_input()
640 buffer_append(&stderr_buffer, buf, strlen(buf)); in client_process_net_input()
791 buffer_append(berr, string, strlen(string)); in process_escapes()
802 buffer_append(berr, string, strlen(string)); in process_escapes()
815 buffer_append(berr, string, in process_escapes()
847 buffer_append(berr, string, strlen(string)); in process_escapes()
853 buffer_append(bin, "\004", 1); in process_escapes()
891 buffer_append(berr, string, strlen(string)); in process_escapes()
[all …]
H A Dsshconnect.c93 buffer_append(&command, "exec ", EXECLEN + 1); in ssh_proxy_connect()
98 buffer_append(&command, "%", 1); in ssh_proxy_connect()
103 buffer_append(&command, host, strlen(host)); in ssh_proxy_connect()
108 buffer_append(&command, strport, strlen(strport)); in ssh_proxy_connect()
112 buffer_append(&command, cp, 1); in ssh_proxy_connect()
114 buffer_append(&command, "\0", 1); in ssh_proxy_connect()
H A Dsshconnect2.c486 buffer_append(&b, pkblob, blen); in input_userauth_pk_ok()
1070 buffer_append(&b, session_id2, session_id2_len); in sign_and_send_pubkey()
1104 buffer_append(&b, session_id2, session_id2_len); in sign_and_send_pubkey()
1677 buffer_append(&b, ",", 1); in authmethods_get()
1678 buffer_append(&b, method->name, strlen(method->name)); in authmethods_get()
1681 buffer_append(&b, "\0", 1); in authmethods_get()
H A Dssh.c572 buffer_append(&command, " ", 1);
573 buffer_append(&command, av[i], strlen(av[i]));
1230 buffer_append(command, "\0", 1);
/titanic_44/usr/src/cmd/ssh/sshd/
H A Dauth2.c627 buffer_append(&b, ",", 1); in authmethods_get()
628 buffer_append(&b, authmethods[i]->name, in authmethods_get()
642 buffer_append(&b, ",", 1); in authmethods_get()
643 buffer_append(&b, authmethods[i]->name, in authmethods_get()
647 buffer_append(&b, "\0", 1); in authmethods_get()
H A Dauth.c403 buffer_append(&buffer, "%", 1); in expand_filename()
408 buffer_append(&buffer, pw->pw_dir, strlen(pw->pw_dir)); in expand_filename()
413 buffer_append(&buffer, pw->pw_name, in expand_filename()
418 buffer_append(&buffer, cp, 1); in expand_filename()
420 buffer_append(&buffer, "\0", 1); in expand_filename()
H A Dauth2-chall.c87 buffer_append(&b, ",", 1); in kbdint_alloc()
88 buffer_append(&b, devices[i]->name, in kbdint_alloc()
91 buffer_append(&b, "\0", 1); in kbdint_alloc()
H A Dauth2-pubkey.c77 buffer_append(&b, pkblob, blen); in userauth_pubkey()
132 buffer_append(&b, session_id2, session_id2_len); in userauth_pubkey()
H A Dserverloop.c402 buffer_append(&stdout_buffer, buf, len); in process_input()
414 buffer_append(&stderr_buffer, buf, len); in process_input()
636 buffer_append(&stderr_buffer, s, strlen(s)); in server_loop()
640 buffer_append(&stderr_buffer, cp, strlen(cp)); in server_loop()
1018 buffer_append(&stdin_buffer, data, data_len); in server_input_stdin_data()
H A Dauth2-hostbased.c82 buffer_append(&b, sig, slen); in userauth_hostbased()
/titanic_44/usr/src/cmd/ssh/include/
H A Dbuffer.h40 void buffer_append(Buffer *, const void *, u_int);
/titanic_44/usr/src/cmd/ssh/ssh-agent/
H A Dssh-agent.c217 buffer_append(&e->output, buffer_ptr(&msg), buffer_len(&msg)); in process_request_identities()
284 buffer_append(&e->output, buffer_ptr(&msg), buffer_len(&msg)); in process_authentication_challenge1()
327 buffer_append(&e->output, buffer_ptr(&msg), in process_sign_request2()
590 buffer_append(&e->output, buffer_ptr(&msg), buffer_len(&msg)); in no_identities()
616 buffer_append(&e->request, buffer_ptr(&e->input), msg_len); in process_message()
856 buffer_append(&sockets[i].input, buf, len); in after_select()
/titanic_44/usr/src/cmd/ssh/ssh-keysign/
H A Dssh-keysign.c77 buffer_append(&b, data, datalen); in valid_request()

12