Searched refs:buf_getwriteptr (Results 1 – 10 of 10) sorted by relevance
/external/dropbear/ |
D | packet.c | 172 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()
|
D | buffer.c | 195 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()
|
D | rsa.c | 353 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()
|
D | buffer.h | 56 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len);
|
D | dss.c | 393 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()
|
D | cli-kex.c | 315 base64_encode(keyblob, keybloblen, buf_getwriteptr(line, len), &len); in checkhostkey()
|
D | signkey.c | 453 buf_getwriteptr(decodekey, decodekey->size), in cmp_base64_key()
|
D | dbutil.c | 543 len = read(fd, buf_getwriteptr(buf, maxlen), maxlen); in buf_readfile()
|
D | common-kex.c | 72 genrandom(buf_getwriteptr(ses.writepayload, 16), 16); in send_msg_kexinit()
|
D | common-channel.c | 619 len = read(fd, buf_getwriteptr(ses.writepayload, maxlen), maxlen); in send_msg_channel_data()
|