| 17 | ) |
| 18 | |
| 19 | type clientHandshakeStateTLS13 struct { |
| 20 | c *Conn |
| 21 | ctx context.Context |
| 22 | serverHello *serverHelloMsg |
| 23 | hello *clientHelloMsg |
| 24 | ecdheParams ecdheParameters |
| 25 | |
| 26 | session *ClientSessionState |
| 27 | earlySecret []byte |
| 28 | binderKey []byte |
| 29 | |
| 30 | certReq *certificateRequestMsgTLS13 |
| 31 | usingPSK bool |
| 32 | sentDummyCCS bool |
| 33 | suite *cipherSuiteTLS13 |
| 34 | transcript hash.Hash |
| 35 | masterSecret []byte |
| 36 | trafficSecret []byte // client_application_traffic_secret_0 |
| 37 | } |
| 38 | |
| 39 | // handshake requires hs.c, hs.hello, hs.serverHello, hs.ecdheParams, and, |
| 40 | // optionally, hs.session, hs.earlySecret and hs.binderKey to be set. |
nothing calls this directly
no outgoing calls
no test coverage detected