Files
amethyst/quic
Claude 0cfbdf5589 test(quic): RFC 7541 Huffman + RFC 9001 §A.5 ChaCha20 interop vectors
Add canonical interop fixtures from the IETF RFCs:

- RFC 7541 Appendix C — 8 HPACK / QPACK Huffman decode vectors covering
  short tokens ("www.example.com", "no-cache", "custom-key", "custom-value",
  "302", "private"), the long date-string ("Mon, 21 Oct 2013 20:13:21 GMT"),
  and the URL ("https://www.example.com"). Every byte of the 256-symbol
  Huffman table is exercised across the corpus.
- RFC 9001 §A.5 — ChaCha20-Poly1305 short-header decrypt. The protected
  packet 4cfe4189655e5cd55c41f69080575d7999c25a5bfb decodes byte-for-byte
  to a single PING frame (0x01) with packet number 654_360_564 using the
  RFC's published key, iv, and hp_key.
- AEAD nonce derivation against the same vector — verifies our iv XOR
  direction matches the canonical e0459b3474bdd0e46d417eb0.

These two suites are the single most diagnostic cross-implementation
checks for the QPACK Huffman path and the ChaCha20 packet protection
path. They complement the existing RFC 9000 §A.1 varint, RFC 9001 §A.1
Initial-secret, and RFC 8448 §3 TLS-derived-secret vectors.

https://claude.ai/code/session_01EC1tfXfap8k8GyKvrxkxZx
2026-04-25 21:22:49 +00:00
..