Searched refs:finishedHash (Results 1 – 3 of 3) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | prf.go | 157 …reMasterSecret(version uint16, suite *cipherSuite, preMasterSecret []byte, h finishedHash) []byte { argument 209 func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedHash { 216 return finishedHash{newHash(), newHash(), nil, nil, []byte{}, version, prf12(newHash)} 218 return finishedHash{sha1.New(), sha1.New(), md5.New(), md5.New(), []byte{}, version, prf10} 223 type finishedHash struct { struct 239 func (h *finishedHash) Write(msg []byte) (n int, err error) { argument 255 func (h finishedHash) Sum() []byte { argument 302 func (h finishedHash) clientSum(masterSecret []byte) []byte { argument 314 func (h finishedHash) serverSum(masterSecret []byte) []byte { argument 326 func (h finishedHash) selectClientCertSignatureAlgorithm(serverList, clientList []signatureAndHash,… argument [all …]
|
D | handshake_client.go | 28 finishedHash finishedHash member 290 finishedHash: newFinishedHash(c.vers, suite), 571 …asterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finishedHash) 600 …certVerify.signatureAndHash, err = hs.finishedHash.selectClientCertSignatureAlgorithm(certReq.sign… 605 …digest, hashFunc, err := hs.finishedHash.hashForClientCertificate(certVerify.signatureAndHash, hs.… 634 hs.finishedHash.discardHandshakeBuffer() 737 hs.finishedHash.discardHandshakeBuffer() 762 verify := hs.finishedHash.serverSum(hs.masterSecret) 784 handshakeHash: hs.finishedHash.server.Sum(nil), 841 …r, s, err := ecdsa.Sign(c.config.rand(), c.config.ChannelID, hs.finishedHash.hashForChannelID(resu… [all …]
|
D | handshake_server.go | 32 finishedHash finishedHash member 463 hs.finishedHash = newFinishedHash(c.vers, hs.suite) 464 hs.finishedHash.discardHandshakeBuffer() 511 hs.finishedHash = newFinishedHash(c.vers, hs.suite) 639 …asterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finishedHash) 698 digest, _, err = hs.finishedHash.hashForClientCertificate(signatureAndHash, hs.masterSecret) 713 …digest, hashFunc, err = hs.finishedHash.hashForClientCertificate(signatureAndHash, hs.masterSecret) 727 hs.finishedHash.discardHandshakeBuffer() 801 if !ecdsa.Verify(channelID, hs.finishedHash.hashForChannelID(resumeHash), r, s) { 819 verify := hs.finishedHash.clientSum(hs.masterSecret) [all …]
|