ClientHandshakeTrafficSecret derives the client_handshake_traffic_secret from the handshake secret and the transcript up to the ServerHello.
(transcript hash.Hash)
| 105 | // ClientHandshakeTrafficSecret derives the client_handshake_traffic_secret from |
| 106 | // the handshake secret and the transcript up to the ServerHello. |
| 107 | func (s *HandshakeSecret) ClientHandshakeTrafficSecret(transcript hash.Hash) []byte { |
| 108 | return deriveSecret(s.hash, s.secret, clientHandshakeTrafficLabel, transcript) |
| 109 | } |
| 110 | |
| 111 | // ServerHandshakeTrafficSecret derives the server_handshake_traffic_secret from |
| 112 | // the handshake secret and the transcript up to the ServerHello. |
no test coverage detected