MCPcopy Index your code
hub / github.com/XTLS/REALITY / ResumptionMasterSecret

Method ResumptionMasterSecret

tls13/tls13.go:144–146  ·  view source on GitHub ↗

ResumptionMasterSecret derives the resumption_master_secret from the master secret and the transcript up to the client Finished.

(transcript hash.Hash)

Source from the content-addressed store, hash-verified

142// ResumptionMasterSecret derives the resumption_master_secret from the master secret
143// and the transcript up to the client Finished.
144func (s *MasterSecret) ResumptionMasterSecret(transcript hash.Hash) []byte {
145 return deriveSecret(s.hash, s.secret, resumptionLabel, transcript)
146}
147
148type ExporterMasterSecret struct {
149 secret []byte

Callers 2

sendClientFinishedMethod · 0.80
sendSessionTicketsMethod · 0.80

Calls 1

deriveSecretFunction · 0.85

Tested by

no test coverage detected