Home
last modified time | relevance | path

Searched refs:buf_new (Results 1 – 18 of 18) sorted by relevance

/external/dropbear/
Dpacket.c164 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()
Ddropbearkey.c235 buf = buf_new(MAX_PRIVKEY_SIZE);
260 buf = buf_new(MAX_PRIVKEY_SIZE);
306 buf = buf_new(MAX_PUBKEY_SIZE);
Dcli-authpubkey.c77 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()
Dsignkey.c198 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()
Dcommon-runopts.c41 buf = buf_new(MAX_PRIVKEY_SIZE); in readhostkey()
Dbignum.c68 buf = buf_new(512 + 20); /* max buffer is a 4096 bit key, in sha1_process_mp()
Dbuffer.c41 buffer* buf_new(unsigned int size) { in buf_new() function
100 ret = buf_new(buf->len); in buf_newcopy()
Dsvr-authpubkey.c97 signbuf = buf_new(ses.payload->pos + 4 + SHA1_HASH_SIZE); in svr_auth_pubkey()
195 line = buf_new(MAX_AUTHKEYS_LINE); in checkpubkey()
Dbuffer.h42 buffer * buf_new(unsigned int size);
Dcommon-algo.c218 algolist = buf_new(100); in buf_put_algolist()
Dkeyimport.c114 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()
Dsvr-runopts.c259 svr_opts.banner = buf_new(buf.st_size); in svr_getopts()
Dcommon-session.c72 ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN); in common_session_init()
Dsvr-auth.c302 typebuf = buf_new(30); /* long enough for PUBKEY and PASSWORD */ in send_msg_userauth_failure()
Dcli-kex.c227 line = buf_new(MAX_KNOWNHOSTS_LINE); in checkhostkey()
Drsa.c397 rsa_EM = buf_new(nsize-1); in rsa_pad_em()
Dcommon-kex.c420 ses.kexhashbuf = buf_new(kexhashbuf_len); in recv_msg_kexinit()
Dsvr-chansession.c805 motdbuf = buf_new(80 * 25); in ptycommand()