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

Method clientSum

prf.go:215–217  ·  view source on GitHub ↗

clientSum returns the contents of the verify_data member of a client's Finished message.

(masterSecret []byte)

Source from the content-addressed store, hash-verified

213// clientSum returns the contents of the verify_data member of a client's
214// Finished message.
215func (h finishedHash) clientSum(masterSecret []byte) []byte {
216 return h.prf(masterSecret, clientFinishedLabel, h.Sum(), finishedVerifyLength)
217}
218
219// serverSum returns the contents of the verify_data member of a server's
220// Finished message.

Callers 2

sendFinishedMethod · 0.80
readFinishedMethod · 0.80

Calls 1

SumMethod · 0.95

Tested by

no test coverage detected