Lines Matching defs:finishedHash
157 …reMasterSecret(version uint16, suite *cipherSuite, preMasterSecret []byte, h finishedHash) []byte {
223 type finishedHash struct { struct
224 client hash.Hash
225 server hash.Hash
228 clientMD5 hash.Hash
229 serverMD5 hash.Hash
233 buffer []byte
235 version uint16
236 prf func(result, secret, label, seed []byte)
239 func (h *finishedHash) Write(msg []byte) (n int, err error) {
255 func (h finishedHash) Sum() []byte {
302 func (h finishedHash) clientSum(masterSecret []byte) []byte {
314 func (h finishedHash) serverSum(masterSecret []byte) []byte {
326 …tureAlgorithm(serverList, clientList []signatureAndHash, sigType uint8) (signatureAndHash, error) {
342 …tCertificate(signatureAndHash signatureAndHash, masterSecret []byte) ([]byte, crypto.Hash, error) {
373 func (h finishedHash) hashForChannelID(resumeHash []byte) []byte {
386 func (h *finishedHash) discardHandshakeBuffer() {