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.go33 masterSecret []byte member
377 generatePSKBinders(hello, pskCipherSuite, session.masterSecret, []byte{}, c.config)
409 finishedHash.addEntropy(session.masterSecret)
519 …generatePSKBinders(hello, pskCipherSuite, session.masterSecret, append(helloBytes, helloRetryReque…
673 c.exporterSecret = hs.masterSecret
708 hs.finishedHash.addEntropy(hs.session.masterSecret)
1147 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished…
1153 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.hello.random, hs…
1184 digest := hs.finishedHash.hashForClientCertificateSSL3(hs.masterSecret)
1263 …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
506 hs.finishedHash.addEntropy(hs.sessionState.masterSecret)
1417 hs.masterSecret = hs.sessionState.masterSecret
1614 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished…
1619 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.clientHello.rand…
1655 digest := hs.finishedHash.hashForClientCertificateSSL3(hs.masterSecret)
1676 …keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs…
1752 verify := hs.finishedHash.clientSum(hs.masterSecret)
1770 masterSecret: hs.masterSecret,
[all …]
Dcommon.go278 masterSecret []byte // MasterSecret generated by client on a full handshake member
Dconn.go1451 masterSecret: c.resumptionSecret,
1821 masterSecret: c.resumptionSecret,