MCPcopy Create free account
hub / github.com/XTLS/REALITY / HandshakeSecret

Struct HandshakeSecret

tls13/tls13.go:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92type HandshakeSecret struct {
93 secret []byte
94 hash func() hash.Hash
95}
96
97func (s *EarlySecret) HandshakeSecret(sharedSecret []byte) *HandshakeSecret {
98 derived := deriveSecret(s.hash, s.secret, "derived", nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected