Home
last modified time | relevance | path

Searched refs:buf_getwriteptr (Results 1 – 10 of 10) sorted by relevance

/external/dropbear/
Dpacket.c172 len = read(ses.sock, buf_getwriteptr(ses.readbuf, maxlen), in read_packet_init()
197 memcpy(buf_getwriteptr(ses.decryptreadbuf, blocksize), in read_packet_init()
203 buf_getwriteptr(ses.decryptreadbuf,blocksize), in read_packet_init()
251 memcpy(buf_getwriteptr(ses.decryptreadbuf, len), in decrypt_packet()
257 buf_getwriteptr(ses.decryptreadbuf, blocksize), in decrypt_packet()
380 zstream->next_out = buf_getwriteptr(ret, zstream->avail_out); in buf_decompress()
442 memcpy(buf_getwriteptr(clearwritebuf, ses.writepayload->len), in encrypt_packet()
482 memcpy(buf_getwriteptr(writebuf, clearwritebuf->len), in encrypt_packet()
490 buf_getwriteptr(writebuf, blocksize), in encrypt_packet()
583 buf_getwriteptr(dest, ses.keys->trans_zstream->avail_out); in buf_compress()
Dbuffer.c195 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len) { in buf_getwriteptr() function
245 STORE32H(val, buf_getwriteptr(buf, 4)); in buf_putint()
261 memcpy(buf_getwriteptr(buf, len), bytes, len); in buf_putbytes()
301 if (mp_to_unsigned_bin(mp, buf_getwriteptr(buf, len-pad)) != MP_OKAY) { in buf_putmpint()
Drsa.c353 if (mp_to_unsigned_bin(&rsa_s, buf_getwriteptr(buf, ssize)) != MP_OKAY) { in buf_put_rsa_sign()
405 memcpy(buf_getwriteptr(rsa_EM, RSA_ASN1_MAGIC_LEN), in rsa_pad_em()
412 sha1_done(&hs, buf_getwriteptr(rsa_EM, SHA1_HASH_SIZE)); in rsa_pad_em()
Dbuffer.h56 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len);
Ddss.c393 if (mp_to_unsigned_bin(&dss_r, buf_getwriteptr(buf, writelen)) in buf_put_dss_sign()
406 if (mp_to_unsigned_bin(&dss_s, buf_getwriteptr(buf, writelen)) in buf_put_dss_sign()
Dcli-kex.c315 base64_encode(keyblob, keybloblen, buf_getwriteptr(line, len), &len); in checkhostkey()
Dsignkey.c453 buf_getwriteptr(decodekey, decodekey->size), in cmp_base64_key()
Ddbutil.c543 len = read(fd, buf_getwriteptr(buf, maxlen), maxlen); in buf_readfile()
Dcommon-kex.c72 genrandom(buf_getwriteptr(ses.writepayload, 16), 16); in send_msg_kexinit()
Dcommon-channel.c619 len = read(fd, buf_getwriteptr(ses.writepayload, maxlen), maxlen); in send_msg_channel_data()