Lines Matching refs:kexhashbuf
420 ses.kexhashbuf = buf_new(kexhashbuf_len); in recv_msg_kexinit()
428 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit()
431 buf_putstring(ses.kexhashbuf, ses.remoteident, remote_ident_len); in recv_msg_kexinit()
434 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit()
438 buf_putstring(ses.kexhashbuf, ses.payload->data, ses.payload->len); in recv_msg_kexinit()
446 buf_putstring(ses.kexhashbuf, ses.remoteident, remote_ident_len); in recv_msg_kexinit()
448 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit()
453 buf_putstring(ses.kexhashbuf, ses.payload->data, ses.payload->len); in recv_msg_kexinit()
456 buf_putstring(ses.kexhashbuf, in recv_msg_kexinit()
553 buf_put_pub_key(ses.kexhashbuf, hostkey, ses.newkeys->algo_hostkey); in kexdh_comb_key()
555 buf_putmpint(ses.kexhashbuf, dh_e); in kexdh_comb_key()
557 buf_putmpint(ses.kexhashbuf, dh_f); in kexdh_comb_key()
559 buf_putmpint(ses.kexhashbuf, ses.dh_K); in kexdh_comb_key()
563 buf_setpos(ses.kexhashbuf, 0); in kexdh_comb_key()
564 sha1_process(&hs, buf_getptr(ses.kexhashbuf, ses.kexhashbuf->len), in kexdh_comb_key()
565 ses.kexhashbuf->len); in kexdh_comb_key()
568 buf_burn(ses.kexhashbuf); in kexdh_comb_key()
569 buf_free(ses.kexhashbuf); in kexdh_comb_key()
570 ses.kexhashbuf = NULL; in kexdh_comb_key()