#100·go

crypto/tls: Unit tests for ECH edge caes

Author: cjpattonCreated Aug 19, 2021Updated Apr 19, 2026

@Lekensteyn suggested we add a unit test for asserting that the client-facing server rejects if the client sends GREASE ECH with a config id that matches a known config but which uses a different KEM algorithm: https://github.com/cloudflare/go/pull/95#issuecomment-882700600

We might also want to check that it rejects when the KDF/AEAD algorithm pair isn't supported.