Lines Matching refs:sha1
52 hashSHA1 := sha1.New
83 hashSHA1 := sha1.New()
218 return finishedHash{sha1.New(), sha1.New(), md5.New(), md5.New(), []byte{}, version, prf10}
260 out := make([]byte, 0, md5.Size+sha1.Size)
268 func finishedSum30(md5, sha1 hash.Hash, masterSecret []byte, magic []byte) []byte {
280 sha1.Write(magic)
281 sha1.Write(masterSecret)
282 sha1.Write(ssl30Pad1[:40])
283 sha1Digest := sha1.Sum(nil)
285 sha1.Reset()
286 sha1.Write(masterSecret)
287 sha1.Write(ssl30Pad2[:40])
288 sha1.Write(sha1Digest)
289 sha1Digest = sha1.Sum(nil)
350 sha1Hash := sha1.New()