/external/dropbear/ |
D | cli-authinteract.c | 127 buf_putstring(ses.writepayload, response, response_len); in recv_msg_userauth_info_request() 146 buf_putstring(ses.writepayload, cli_opts.username, in cli_auth_interactive() 150 buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION, in cli_auth_interactive() 154 buf_putstring(ses.writepayload, AUTH_METHOD_INTERACT, in cli_auth_interactive() 158 buf_putstring(ses.writepayload, "", 0); in cli_auth_interactive() 161 buf_putstring(ses.writepayload, "", 0); in cli_auth_interactive()
|
D | cli-authpubkey.c | 141 buf_putstring(ses.writepayload, cli_opts.username, in send_msg_userauth_pubkey() 144 buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION, in send_msg_userauth_pubkey() 147 buf_putstring(ses.writepayload, AUTH_METHOD_PUBKEY, in send_msg_userauth_pubkey() 154 buf_putstring(ses.writepayload, algoname, algolen); in send_msg_userauth_pubkey() 162 buf_putstring(sigbuf, ses.session_id, SHA1_HASH_SIZE); in send_msg_userauth_pubkey()
|
D | cli-authpasswd.c | 135 buf_putstring(ses.writepayload, cli_opts.username, in cli_auth_password() 138 buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION, in cli_auth_password() 141 buf_putstring(ses.writepayload, AUTH_METHOD_PASSWORD, in cli_auth_password() 146 buf_putstring(ses.writepayload, password, strlen(password)); in cli_auth_password()
|
D | common-kex.c | 100 buf_putstring(ses.writepayload, "", 0); in send_msg_kexinit() 103 buf_putstring(ses.writepayload, "", 0); in send_msg_kexinit() 428 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit() 431 buf_putstring(ses.kexhashbuf, ses.remoteident, remote_ident_len); in recv_msg_kexinit() 434 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit() 438 buf_putstring(ses.kexhashbuf, ses.payload->data, ses.payload->len); in recv_msg_kexinit() 446 buf_putstring(ses.kexhashbuf, ses.remoteident, remote_ident_len); in recv_msg_kexinit() 448 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit() 453 buf_putstring(ses.kexhashbuf, ses.payload->data, ses.payload->len); in recv_msg_kexinit() 456 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit()
|
D | cli-auth.c | 49 buf_putstring(ses.writepayload, cli_opts.username, in cli_auth_getmethods() 51 buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION, in cli_auth_getmethods() 53 buf_putstring(ses.writepayload, "none", 4); /* 'none' method */ in cli_auth_getmethods()
|
D | cli-chansession.c | 102 buf_putstring(ses.writepayload, type, strlen(type)); in start_channel_request() 275 buf_putstring(ses.writepayload, "window-change", 13); in cli_chansess_winchange() 300 buf_putstring(ses.writepayload, term, strlen(term)); in send_chansess_pty_req() 334 buf_putstring(ses.writepayload, cli_opts.cmd, strlen(cli_opts.cmd)); in send_chansess_shell_req()
|
D | tcp-accept.c | 84 buf_putstring(ses.writepayload, addr, strlen(addr)); in tcp_acceptor() 88 buf_putstring(ses.writepayload, ipstring, strlen(ipstring)); in tcp_acceptor()
|
D | svr-authpubkey.c | 98 buf_putstring(signbuf, ses.session_id, SHA1_HASH_SIZE); in svr_auth_pubkey() 143 buf_putstring(ses.writepayload, algo, algolen); in send_msg_userauth_pk_ok() 144 buf_putstring(ses.writepayload, keyblob, keybloblen); in send_msg_userauth_pk_ok()
|
D | svr-auth.c | 79 buf_putstring(ses.writepayload, buf_getptr(svr_opts.banner, in send_msg_userauth_banner() 81 buf_putstring(ses.writepayload, "en", 2); in send_msg_userauth_banner() 316 buf_putstring(ses.writepayload, buf_getptr(typebuf, typebuf->len), in send_msg_userauth_failure()
|
D | cli-tcpfwd.c | 130 buf_putstring(ses.writepayload, "tcpip-forward", 13); in send_msg_global_request_remotetcp() 138 buf_putstring(ses.writepayload, listenspec, strlen(listenspec)); in send_msg_global_request_remotetcp()
|
D | svr-service.c | 83 buf_putstring(ses.writepayload, name, len); in send_msg_service_accept()
|
D | cli-service.c | 41 buf_putstring(ses.writepayload, servicename, strlen(servicename)); in send_msg_service_request()
|
D | svr-chansession.c | 169 buf_putstring(ses.writepayload, "exit-status", 11); in send_msg_chansess_exitstatus() 205 buf_putstring(ses.writepayload, "exit-signal", 11); in send_msg_chansess_exitsignal() 207 buf_putstring(ses.writepayload, signame, strlen(signame)); in send_msg_chansess_exitsignal() 209 buf_putstring(ses.writepayload, "", 0); /* error msg */ in send_msg_chansess_exitsignal() 210 buf_putstring(ses.writepayload, "", 0); /* lang */ in send_msg_chansess_exitsignal()
|
D | buffer.h | 60 void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len);
|
D | signkey.c | 215 buf_putstring(buf, buf_getptr(pubkeys, pubkeys->len), in buf_put_pub_key() 379 buf_putstring(buf, buf_getptr(sigblob, sigblob->len), in buf_put_sign()
|
D | rsa.c | 183 buf_putstring(buf, SSH_SIGNKEY_RSA, SSH_SIGNKEY_RSA_LEN); in buf_put_rsa_pub_key() 340 buf_putstring(buf, SSH_SIGNKEY_RSA, SSH_SIGNKEY_RSA_LEN); in buf_put_rsa_sign()
|
D | dss.c | 144 buf_putstring(buf, SSH_SIGNKEY_DSS, SSH_SIGNKEY_DSS_LEN); in buf_put_dss_pub_key() 384 buf_putstring(buf, SSH_SIGNKEY_DSS, SSH_SIGNKEY_DSS_LEN); in buf_put_dss_sign()
|
D | common-algo.c | 228 buf_putstring(buf, algolist->data, algolist->len); in buf_put_algolist()
|
D | svr-x11fwd.c | 196 buf_putstring(ses.writepayload, ipstring, strlen(ipstring)); in send_msg_channel_open_x11()
|
D | common-channel.c | 873 buf_putstring(ses.writepayload, text, strlen((char*)text)); in send_msg_channel_open_failure() 874 buf_putstring(ses.writepayload, lang, strlen((char*)lang)); in send_msg_channel_open_failure() 971 buf_putstring(ses.writepayload, type->name, strlen(type->name)); in send_msg_channel_open_init()
|
D | keyimport.c | 607 buf_putstring(blobbuf, "ssh-dss", 7); in openssh_read() 609 buf_putstring(blobbuf, "ssh-rsa", 7); in openssh_read() 641 buf_putstring(blobbuf, p, len); in openssh_read() 643 buf_putstring(blobbuf, modptr, modlen); in openssh_read() 651 buf_putstring(blobbuf, p, len); in openssh_read()
|
D | buffer.c | 251 void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len) { in buf_putstring() function
|