Lines Matching refs:finishedHash
152 …reMasterSecret(version uint16, suite *cipherSuite, preMasterSecret []byte, h finishedHash) []byte { argument
183 func newFinishedHash(wireVersion uint16, isDTLS bool, cipherSuite *cipherSuite) finishedHash {
184 var ret finishedHash
221 type finishedHash struct { struct
243 func (h *finishedHash) UpdateForHelloRetryRequest() (err error) { argument
257 func (h *finishedHash) Write(msg []byte) (n int, err error) { argument
273 func (h finishedHash) Sum() []byte { argument
320 func (h finishedHash) clientSum(baseKey []byte) []byte { argument
339 func (h finishedHash) serverSum(baseKey []byte) []byte { argument
358 func (h finishedHash) hashForClientCertificateSSL3(masterSecret []byte) []byte { argument
369 func (h finishedHash) hashForChannelID(resumeHash []byte) []byte { argument
382 func (h *finishedHash) discardHandshakeBuffer() { argument
388 func (h *finishedHash) zeroSecret() []byte { argument
393 func (h *finishedHash) addEntropy(ikm []byte) { argument
397 func (h *finishedHash) nextSecret() { argument
426 func (h *finishedHash) appendContextHashes(b []byte) []byte { argument
450 func (h *finishedHash) deriveSecret(label []byte) []byte { argument
463 func (h *finishedHash) certificateVerifyInput(context []byte) []byte { argument
501 finishedHash := newFinishedHash(version, false, cipherSuite)
502 finishedHash.addEntropy(psk)
503 binderKey := finishedHash.deriveSecret(label)
504 finishedHash.Write(clientHello)
506 finishedHash.UpdateForHelloRetryRequest()
508 finishedHash.Write(helloRetryRequest)
509 finishedHash.Write(truncatedHello)
510 return finishedHash.clientSum(binderKey)