Lines Matching refs:SHA1_HASH_SIZE
228 unsigned char k2[SHA1_HASH_SIZE]; /* used to extending */ in hashkeys()
232 sha1_process(&hs2, ses.session_id, SHA1_HASH_SIZE); in hashkeys()
234 if (SHA1_HASH_SIZE < outlen) { in hashkeys()
237 sha1_process(&hs2, out, SHA1_HASH_SIZE); in hashkeys()
239 memcpy(&out[SHA1_HASH_SIZE], k2, outlen - SHA1_HASH_SIZE); in hashkeys()
272 sha1_process(&hs, ses.hash, SHA1_HASH_SIZE); in gen_new_keys()
273 m_burn(ses.hash, SHA1_HASH_SIZE); in gen_new_keys()
295 hashkeys(C2S_IV, SHA1_HASH_SIZE, &hs, 'A'); in gen_new_keys()
296 hashkeys(S2C_IV, SHA1_HASH_SIZE, &hs, 'B'); in gen_new_keys()
575 ses.session_id = (unsigned char*)m_malloc(SHA1_HASH_SIZE); in kexdh_comb_key()
576 memcpy(ses.session_id, ses.hash, SHA1_HASH_SIZE); in kexdh_comb_key()