Searched refs:masterSecret (Results 1 – 6 of 6) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | prf.go | 149 masterSecret := make([]byte, masterSecretLength) 150 prfForVersion(version, suite)(masterSecret, preMasterSecret, masterSecretLabel, seed[0:]) 151 return masterSecret 158 masterSecret := make([]byte, masterSecretLength) 159 prfForVersion(version, suite)(masterSecret, preMasterSecret, extendedMasterSecretLabel, h.Sum()) 160 return masterSecret 166 func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRan… argument 173 prfForVersion(version, suite)(keyMaterial, masterSecret, keyExpansionLabel, seed[0:]) 268 func finishedSum30(md5, sha1 hash.Hash, masterSecret []byte, magic []byte) []byte { 270 md5.Write(masterSecret) [all …]
|
D | ticket.go | 23 masterSecret []byte member 37 !bytes.Equal(s.masterSecret, s1.masterSecret) || 57 length := 2 + 2 + 2 + len(s.masterSecret) + 2 + len(s.handshakeHash) + 2 69 x[4] = byte(len(s.masterSecret) >> 8) 70 x[5] = byte(len(s.masterSecret)) 72 copy(x, s.masterSecret) 73 x = x[len(s.masterSecret):] 115 s.masterSecret = data[:masterSecretLen]
|
D | handshake_client.go | 29 masterSecret []byte member 374 copy(c.masterSecret[:], hs.masterSecret) 588 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished… 594 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.hello.random, hs… 622 …Func, err := hs.finishedHash.hashForClientCertificate(certVerify.signatureAndHash, hs.masterSecret) 663 …keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random, hs… 762 hs.masterSecret = hs.session.masterSecret 797 verify := hs.finishedHash.serverSum(hs.masterSecret) 818 masterSecret: hs.masterSecret, 908 finished.verifyData = hs.finishedHash.clientSum(hs.masterSecret)
|
D | handshake_server.go | 33 masterSecret []byte member 118 copy(c.masterSecret[:], hs.masterSecret) 504 hs.masterSecret = hs.sessionState.masterSecret 669 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished… 674 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.clientHello.rand… 729 digest, _, err = hs.finishedHash.hashForClientCertificate(signatureAndHash, hs.masterSecret) 744 …digest, hashFunc, err = hs.finishedHash.hashForClientCertificate(signatureAndHash, hs.masterSecret) 767 …keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs… 850 verify := hs.finishedHash.clientSum(hs.masterSecret) 868 masterSecret: hs.masterSecret, [all …]
|
D | common.go | 217 masterSecret []byte // MasterSecret generated by client on a full handshake member
|
D | conn.go | 60 masterSecret [48]byte member 1417 prfForVersion(c.vers, c.cipherSuite)(result, c.masterSecret[:], label, seed)
|