Lines Matching refs:New
25 h := hmac.New(hash, secret)
50 hashSHA1 := sha1.New
51 hashMD5 := md5.New
81 hashSHA1 := sha1.New()
82 hashMD5 := md5.New()
133 return prf12(suite.hash().New)
194 ret.client = ret.hash.New()
195 ret.server = ret.hash.New()
198 ret.prf = prf12(ret.hash.New)
205 ret.client = sha1.New()
206 ret.server = sha1.New()
207 ret.clientMD5 = md5.New()
208 ret.serverMD5 = md5.New()
248 h.client = h.hash.New()
249 h.server = h.hash.New()
332 finishedHMAC := hmac.New(h.hash.New, clientFinishedKey)
351 finishedHMAC := hmac.New(h.hash.New, serverFinishedKey)
359 md5Hash := md5.New()
361 sha1Hash := sha1.New()
370 hash := sha256.New()
394 h.secret = hkdfExtract(h.hash.New, h.secret, ikm)
398 …h.secret = hkdfExpandLabel(h.hash, h.secret, []byte("derived"), h.hash.New().Sum(nil), h.hash.Size…
421 return hkdfExpand(hash.New, secret, hkdfLabel, length)