| 245 | } |
| 246 | |
| 247 | type echClientContext struct { |
| 248 | config *EchConfig |
| 249 | hpkeContext *hpke.Sender |
| 250 | encapsulatedKey []byte |
| 251 | innerHello *clientHelloMsg |
| 252 | innerTranscript hash.Hash |
| 253 | kdfID uint16 |
| 254 | aeadID uint16 |
| 255 | echRejected bool |
| 256 | retryConfigs []byte |
| 257 | } |
| 258 | |
| 259 | func (c *Conn) clientHandshake(ctx context.Context) (err error) { |
| 260 | if c.config == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected