Home | History | Annotate | Download | only in dropbear

Lines Matching full:keys

129 /* Bring new keys into use after a key exchange, and let the client know*/
157 /* Bring the new keys into use after a key exchange */
164 * switch to the new keys */
243 /* Generate the actual encryption/integrity keys, using the results of the
247 * ses.newkeys is the new set of keys which are generated, these are only
319 /* MAC keys */
329 /* Switch over to the new keys */
330 m_burn(ses.keys, sizeof(struct key_context));
331 m_free(ses.keys);
332 ses.keys = ses.newkeys;
369 /* clean up old keys */
370 if (ses.keys->recv_zstream != NULL) {
371 if (inflateEnd(ses.keys->recv_zstream) == Z_STREAM_ERROR) {
375 m_free(ses.keys->recv_zstream);
377 if (ses.keys->trans_zstream != NULL) {
378 if (deflateEnd(ses.keys->trans_zstream) == Z_STREAM_ERROR) {
382 m_free(ses.keys->trans_zstream);