• Home
  • Raw
  • Download

Lines Matching refs:keys

102 	blocksize = ses.keys->recv_algo_crypt->blocksize;  in read_packet()
159 blocksize = ses.keys->recv_algo_crypt->blocksize; in read_packet_init()
160 macsize = ses.keys->recv_algo_mac->hashsize; in read_packet_init()
195 if (ses.keys->recv_algo_crypt->cipherdesc == NULL) { in read_packet_init()
205 &ses.keys->recv_symmetric_struct) != CRYPT_OK) { in read_packet_init()
235 blocksize = ses.keys->recv_algo_crypt->blocksize; in decrypt_packet()
236 macsize = ses.keys->recv_algo_mac->hashsize; in decrypt_packet()
248 if (ses.keys->recv_algo_crypt->cipherdesc == NULL) { in decrypt_packet()
259 &ses.keys->recv_symmetric_struct) != CRYPT_OK) { in decrypt_packet()
291 if (ses.keys->recv_algo_comp == DROPBEAR_COMP_ZLIB) { in decrypt_packet()
323 macsize = ses.keys->recv_algo_mac->hashsize; in checkmac()
330 find_hash(ses.keys->recv_algo_mac->hashdesc->name), in checkmac()
331 ses.keys->recvmackey, in checkmac()
332 ses.keys->recv_algo_mac->keysize) in checkmac()
370 zstream = ses.keys->recv_zstream; in buf_decompress()
419 blocksize = ses.keys->trans_algo_crypt->blocksize; in encrypt_packet()
420 macsize = ses.keys->trans_algo_mac->hashsize; in encrypt_packet()
437 if (ses.keys->trans_algo_comp == DROPBEAR_COMP_ZLIB) { in encrypt_packet()
480 if (ses.keys->trans_algo_crypt->cipherdesc == NULL) { in encrypt_packet()
492 &ses.keys->trans_symmetric_struct) != CRYPT_OK) { in encrypt_packet()
530 macsize = ses.keys->trans_algo_mac->hashsize; in writemac()
534 find_hash(ses.keys->trans_algo_mac->hashdesc->name), in writemac()
535 ses.keys->transmackey, in writemac()
536 ses.keys->trans_algo_mac->keysize) != CRYPT_OK) { in writemac()
577 ses.keys->trans_zstream->avail_in = endpos - src->pos; in buf_compress()
578 ses.keys->trans_zstream->next_in = in buf_compress()
579 buf_getptr(src, ses.keys->trans_zstream->avail_in); in buf_compress()
581 ses.keys->trans_zstream->avail_out = dest->size - dest->pos; in buf_compress()
582 ses.keys->trans_zstream->next_out = in buf_compress()
583 buf_getwriteptr(dest, ses.keys->trans_zstream->avail_out); in buf_compress()
585 result = deflate(ses.keys->trans_zstream, Z_SYNC_FLUSH); in buf_compress()
587 buf_setpos(src, endpos - ses.keys->trans_zstream->avail_in); in buf_compress()
588 buf_setlen(dest, dest->size - ses.keys->trans_zstream->avail_out); in buf_compress()
595 if (ses.keys->trans_zstream->avail_in == 0) { in buf_compress()
599 dropbear_assert(ses.keys->trans_zstream->avail_out == 0); in buf_compress()