(configs []EncryptedClientHelloKey)
| 570 | } |
| 571 | |
| 572 | func marshalEncryptedClientHelloConfigList(configs []EncryptedClientHelloKey) ([]byte, error) { |
| 573 | builder := cryptobyte.NewBuilder(nil) |
| 574 | builder.AddUint16LengthPrefixed(func(builder *cryptobyte.Builder) { |
| 575 | for _, c := range configs { |
| 576 | builder.AddBytes(c.Config) |
| 577 | } |
| 578 | }) |
| 579 | return builder.Bytes() |
| 580 | } |
| 581 | |
| 582 | func (c *Conn) processECHClientHello(outer *clientHelloMsg, echKeys []EncryptedClientHelloKey) (*clientHelloMsg, *echServerContext, error) { |
| 583 | echType, echCiphersuite, configID, encap, payload, err := parseECHExt(outer.encryptedClientHello) |
nothing calls this directly
no test coverage detected
searching dependent graphs…