Home
last modified time | relevance | path

Searched refs:decryptreadbuf (Results 1 – 3 of 3) sorted by relevance

/external/dropbear/
Dpacket.c113 if (ses.decryptreadbuf->len == 0) { in read_packet()
165 dropbear_assert(ses.decryptreadbuf == NULL); in read_packet_init()
166 ses.decryptreadbuf = buf_new(blocksize); 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()
209 buf_setlen(ses.decryptreadbuf, blocksize); in read_packet_init()
210 len = buf_getint(ses.decryptreadbuf) + 4 + macsize; in read_packet_init()
243 buf_resize(ses.decryptreadbuf, ses.readbuf->len - macsize); in decrypt_packet()
244 buf_setlen(ses.decryptreadbuf, ses.decryptreadbuf->size); in decrypt_packet()
245 buf_setpos(ses.decryptreadbuf, blocksize); in decrypt_packet()
[all …]
Dsession.h107 buffer *decryptreadbuf; /* Post-decryption */ member
Dcommon-session.c76 ses.decryptreadbuf = NULL; in common_session_init()