Home
last modified time | relevance | path

Searched refs:finishedHash (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dprf.go152 …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
[all …]
Dhandshake_client.go30 finishedHash finishedHash member
472 finishedHash := newFinishedHash(session.wireVersion, c.isDTLS, pskCipherSuite)
473 finishedHash.addEntropy(session.masterSecret)
474 finishedHash.Write(helloBytes)
484 earlyTrafficSecret := finishedHash.deriveSecret(earlyTrafficLabel)
485 c.earlyExporterSecret = finishedHash.deriveSecret(earlyExporterLabel)
689 finishedHash: newFinishedHash(c.wireVersion, c.isDTLS, suite),
696 err = hs.finishedHash.UpdateForHelloRetryRequest()
804 hs.finishedHash.discardHandshakeBuffer()
806 zeroSecret := hs.finishedHash.zeroSecret()
[all …]
Dhandshake_server.go34 finishedHash finishedHash member
444 hs.finishedHash = newFinishedHash(c.wireVersion, c.isDTLS, hs.suite)
445 hs.finishedHash.discardHandshakeBuffer()
535 hs.finishedHash.addEntropy(hs.sessionState.masterSecret)
537 hs.finishedHash.addEntropy(hs.finishedHash.zeroSecret())
610 if err := hs.finishedHash.UpdateForHelloRetryRequest(); err != nil {
717 earlyTrafficSecret := hs.finishedHash.deriveSecret(earlyTrafficLabel)
718 c.earlyExporterSecret = hs.finishedHash.deriveSecret(earlyExporterLabel)
784 hs.finishedHash.nextSecret()
785 hs.finishedHash.addEntropy(ecdheSecret)
[all …]