Home
last modified time | relevance | path

Searched refs:buf_putstring (Results 1 – 22 of 22) sorted by relevance

/external/dropbear/
Dcli-authinteract.c127 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()
Dcli-authpubkey.c141 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()
Dcli-authpasswd.c135 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()
Dcommon-kex.c100 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()
Dcli-auth.c49 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()
Dcli-chansession.c102 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()
Dtcp-accept.c84 buf_putstring(ses.writepayload, addr, strlen(addr)); in tcp_acceptor()
88 buf_putstring(ses.writepayload, ipstring, strlen(ipstring)); in tcp_acceptor()
Dsvr-authpubkey.c98 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()
Dsvr-auth.c79 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()
Dcli-tcpfwd.c130 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()
Dsvr-service.c83 buf_putstring(ses.writepayload, name, len); in send_msg_service_accept()
Dcli-service.c41 buf_putstring(ses.writepayload, servicename, strlen(servicename)); in send_msg_service_request()
Dsvr-chansession.c169 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()
Dbuffer.h60 void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len);
Dsignkey.c215 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()
Drsa.c183 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()
Ddss.c144 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()
Dcommon-algo.c228 buf_putstring(buf, algolist->data, algolist->len); in buf_put_algolist()
Dsvr-x11fwd.c196 buf_putstring(ses.writepayload, ipstring, strlen(ipstring)); in send_msg_channel_open_x11()
Dcommon-channel.c873 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()
Dkeyimport.c607 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()
Dbuffer.c251 void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len) { in buf_putstring() function