Home | History | Annotate | Download | only in dropbear

Lines Matching full:hash

216 /* Helper function for gen_new_keys, creates a hash. It makes a copy of the
218 * the dh_K and hash, since these are common. X is the letter 'A', 'B' etc.
266 /* the dh_K and hash are the start of all hashes, we make use of that */
272 sha1_process(&hs, ses.hash, SHA1_HASH_SIZE);
273 m_burn(ses.hash, SHA1_HASH_SIZE);
391 * and we calculate the first portion of the key-exchange-hash for used
412 /* start the kex hash */
551 /* Create the remainder of the hash buffer, to generate the exchange hash */
561 /* calculate the hash H to sign */
566 sha1_done(&hs, ses.hash);
576 memcpy(ses.session_id, ses.hash, SHA1_HASH_SIZE);
647 TRACE(("hash c2s is %s", c2s_hash_algo->name))
655 TRACE(("hash s2c is %s", s2c_hash_algo->name))
663 TRACE(("hash c2s is %s", c2s_comp_algo->name))
671 TRACE(("hash s2c is %s", s2c_comp_algo->name))