| 90 | } |
| 91 | |
| 92 | type HandshakeSecret struct { |
| 93 | secret []byte |
| 94 | hash func() hash.Hash |
| 95 | } |
| 96 | |
| 97 | func (s *EarlySecret) HandshakeSecret(sharedSecret []byte) *HandshakeSecret { |
| 98 | derived := deriveSecret(s.hash, s.secret, "derived", nil) |
nothing calls this directly
no outgoing calls
no test coverage detected