MCPcopy
hub / github.com/XTLS/REALITY / Sum

Method Sum

prf.go:203–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201}
202
203func (h finishedHash) Sum() []byte {
204 if h.version >= VersionTLS12 {
205 return h.client.Sum(nil)
206 }
207
208 out := make([]byte, 0, md5.Size+sha1.Size)
209 out = h.clientMD5.Sum(out)
210 return h.client.Sum(out)
211}
212
213// clientSum returns the contents of the verify_data member of a client's
214// Finished message.

Callers 15

clientSumMethod · 0.95
serverSumMethod · 0.95
sha1HashFunction · 0.45
md5SHA1HashFunction · 0.45
hashForServerKeyExchangeFunction · 0.45
doFullHandshakeMethod · 0.45
signedMessageFunction · 0.45
handshakeMethod · 0.45
handshakeMethod · 0.45
doHelloRetryRequestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected