Lines Matching refs:sha1
50 hashSHA1 := sha1.New
81 hashSHA1 := sha1.New()
205 ret.client = sha1.New()
206 ret.server = sha1.New()
278 out := make([]byte, 0, md5.Size+sha1.Size)
286 func finishedSum30(md5, sha1 hash.Hash, masterSecret []byte, magic []byte) []byte {
298 sha1.Write(magic)
299 sha1.Write(masterSecret)
300 sha1.Write(ssl30Pad1[:40])
301 sha1Digest := sha1.Sum(nil)
303 sha1.Reset()
304 sha1.Write(masterSecret)
305 sha1.Write(ssl30Pad2[:40])
306 sha1.Write(sha1Digest)
307 sha1Digest = sha1.Sum(nil)
361 sha1Hash := sha1.New()