Home
last modified time | relevance | path

Searched refs:masterSecret (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dprf.go144 masterSecret := make([]byte, masterSecretLength)
145 prfForVersion(version, suite)(masterSecret, preMasterSecret, masterSecretLabel, seed[0:])
146 return masterSecret
153 masterSecret := make([]byte, masterSecretLength)
154 prfForVersion(version, suite)(masterSecret, preMasterSecret, extendedMasterSecretLabel, h.Sum())
155 return masterSecret
161 func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRan… argument
168 prfForVersion(version, suite)(keyMaterial, masterSecret, keyExpansionLabel, seed[0:])
265 func finishedSum30(md5, sha1 hash.Hash, masterSecret []byte, magic []byte) []byte {
267 md5.Write(masterSecret)
[all …]
Dticket.go24 masterSecret []byte member
39 masterSecret := msg.addU16LengthPrefixed()
40 masterSecret.addBytes(s.masterSecret)
81 s.masterSecret = data[:masterSecretLen]
Dhandshake_client.go31 masterSecret []byte member
359 generatePSKBinders(hello, pskCipherSuite, session.masterSecret, []byte{}, c.config)
391 finishedHash.addEntropy(session.masterSecret)
503 …generatePSKBinders(hello, pskCipherSuite, session.masterSecret, append(helloBytes, helloRetryReque…
657 c.exporterSecret = hs.masterSecret
692 hs.finishedHash.addEntropy(hs.session.masterSecret)
1120 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished…
1126 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.hello.random, hs…
1157 digest := hs.finishedHash.hashForClientCertificateSSL3(hs.masterSecret)
1235 …keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random, hs…
[all …]
Dhandshake_server.go33 masterSecret []byte member
126 c.exporterSecret = hs.masterSecret
509 hs.finishedHash.addEntropy(hs.sessionState.masterSecret)
1379 hs.masterSecret = hs.sessionState.masterSecret
1569 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished…
1574 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.clientHello.rand…
1610 digest := hs.finishedHash.hashForClientCertificateSSL3(hs.masterSecret)
1631 …keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs…
1707 verify := hs.finishedHash.clientSum(hs.masterSecret)
1725 masterSecret: hs.masterSecret,
[all …]
Dcommon.go246 masterSecret []byte // MasterSecret generated by client on a full handshake member
Dconn.go1449 masterSecret: c.resumptionSecret,
1792 masterSecret: c.resumptionSecret,