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:])
286 func finishedSum30(md5, sha1 hash.Hash, masterSecret []byte, magic []byte) []byte {
288 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.go32 masterSecret []byte member
434 …generatePSKBinders(version, hello, pskCipherSuite, session.masterSecret, []byte{}, []byte{}, c.con…
473 finishedHash.addEntropy(session.masterSecret)
608 …generatePSKBinders(c.wireVersion, hello, pskCipherSuite, session.masterSecret, helloBytes, helloRe…
784 c.exporterSecret = hs.masterSecret
823 hs.finishedHash.addEntropy(hs.session.masterSecret)
1321 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished…
1327 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.hello.random, hs…
1358 digest := hs.finishedHash.hashForClientCertificateSSL3(hs.masterSecret)
1502 …keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random, hs…
[all …]
Dhandshake_server.go35 masterSecret []byte member
128 c.exporterSecret = hs.masterSecret
535 hs.finishedHash.addEntropy(hs.sessionState.masterSecret)
1569 hs.masterSecret = hs.sessionState.masterSecret
1770 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished…
1775 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.clientHello.rand…
1811 digest := hs.finishedHash.hashForClientCertificateSSL3(hs.masterSecret)
1832 …keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs…
1908 verify := hs.finishedHash.clientSum(hs.masterSecret)
1926 masterSecret: hs.masterSecret,
[all …]
Dconn.go1586 masterSecret: c.resumptionSecret,
1597 …session.masterSecret = deriveSessionPSK(cipherSuite, c.wireVersion, c.resumptionSecret, newSession…
1992 masterSecret: deriveSessionPSK(c.cipherSuite, c.wireVersion, c.resumptionSecret, nonce),
Dcommon.go284 masterSecret []byte // MasterSecret generated by client on a full handshake member