Searched refs:buf_new (Results 1 – 18 of 18) sorted by relevance
164 ses.readbuf = buf_new(INIT_READBUF); in read_packet_init()166 ses.decryptreadbuf = buf_new(blocksize); in read_packet_init()299 ses.payload = buf_new(len); in decrypt_packet()371 ret = buf_new(len); in buf_decompress()425 clearwritebuf = buf_new((ses.writepayload->len+4+1) + MIN_PACKET_LEN + 3 in encrypt_packet()478 writebuf = buf_new(clearwritebuf->len + macsize); in encrypt_packet()
235 buf = buf_new(MAX_PRIVKEY_SIZE); 260 buf = buf_new(MAX_PRIVKEY_SIZE);306 buf = buf_new(MAX_PUBKEY_SIZE);
77 keybuf = buf_new(MAX_PUBKEY_SIZE); in recv_msg_userauth_pk_ok()161 sigbuf = buf_new(4 + SHA1_HASH_SIZE + ses.writepayload->len); in send_msg_userauth_pubkey()
198 pubkeys = buf_new(MAX_PUBKEY_SIZE); in buf_put_pub_key()362 sigblob = buf_new(MAX_PUBKEY_SIZE); in buf_put_sign()450 decodekey = buf_new(decodekeylen); in cmp_base64_key()
41 buf = buf_new(MAX_PRIVKEY_SIZE); in readhostkey()
68 buf = buf_new(512 + 20); /* max buffer is a 4096 bit key, in sha1_process_mp()
41 buffer* buf_new(unsigned int size) { in buf_new() function100 ret = buf_new(buf->len); in buf_newcopy()
97 signbuf = buf_new(ses.payload->pos + 4 + SHA1_HASH_SIZE); in svr_auth_pubkey()195 line = buf_new(MAX_AUTHKEYS_LINE); in checkpubkey()
42 buffer * buf_new(unsigned int size);
218 algolist = buf_new(100); in buf_put_algolist()
114 buf = buf_new(MAX_PRIVKEY_SIZE); in dropbear_read()160 buf = buf_new(MAX_PRIVKEY_SIZE); in dropbear_write()604 blobbuf = buf_new(3000); in openssh_read()727 keyblob = buf_new(3000); in openssh_write()805 extrablob = buf_new(2000); in openssh_write()
259 svr_opts.banner = buf_new(buf.st_size); in svr_getopts()
72 ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN); in common_session_init()
302 typebuf = buf_new(30); /* long enough for PUBKEY and PASSWORD */ in send_msg_userauth_failure()
227 line = buf_new(MAX_KNOWNHOSTS_LINE); in checkhostkey()
397 rsa_EM = buf_new(nsize-1); in rsa_pad_em()
420 ses.kexhashbuf = buf_new(kexhashbuf_len); in recv_msg_kexinit()
805 motdbuf = buf_new(80 * 25); in ptycommand()