MCPcopy Index your code
hub / github.com/XTLS/Go / Sum

Method Sum

prf.go:190–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190func (h finishedHash) Sum() []byte {
191 if h.version >= VersionTLS12 {
192 return h.client.Sum(nil)
193 }
194
195 out := make([]byte, 0, md5.Size+sha1.Size)
196 out = h.clientMD5.Sum(out)
197 return h.client.Sum(out)
198}
199
200// clientSum returns the contents of the verify_data member of a client's
201// Finished message.

Callers 15

clientSumMethod · 0.95
serverSumMethod · 0.95
sha1HashFunction · 0.45
md5SHA1HashFunction · 0.45
hashForServerKeyExchangeFunction · 0.45
signedMessageFunction · 0.45
doHelloRetryRequestMethod · 0.45
encryptTicketMethod · 0.45
decryptTicketMethod · 0.45
pHashFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected