OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:clearwritebuf
(Results
1 - 1
of
1
) sorted by null
/external/dropbear/
packet.c
39
static void writemac(buffer * outputbuffer, buffer *
clearwritebuf
);
415
buffer *
clearwritebuf
; /* unencrypted, possibly compressed */
local
425
clearwritebuf
= buf_new((ses.writepayload->len+4+1) + MIN_PACKET_LEN + 3
430
buf_setlen(
clearwritebuf
, PACKET_PAYLOAD_OFF);
431
buf_setpos(
clearwritebuf
, PACKET_PAYLOAD_OFF);
438
buf_compress(
clearwritebuf
, ses.writepayload, ses.writepayload->len);
442
memcpy(buf_getwriteptr(
clearwritebuf
, ses.writepayload->len),
445
buf_incrwritepos(
clearwritebuf
, ses.writepayload->len);
454
padlen = blocksize - (
clearwritebuf
->len) % blocksize;
459
if (
clearwritebuf
->len + padlen < MIN_PACKET_LEN)
[
all
...]
Completed in 37 milliseconds