Skip to content

crypto: rfc9001-tests, RFC 9001 Appendix A as interop tests (design and rulings) - #39

Merged
pinhopro merged 2 commits into
mainfrom
crypto/rfc9001-tests
Dec 4, 2026
Merged

pinhopro merged 2 commits into
mainfrom
crypto/rfc9001-tests

Conversation

@pinhopro

@pinhopro pinhopro commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

The design of crypto's change rfc9001-tests: RFC 9001 (QUIC-TLS) Appendix A as interop tests. This is the owner's 2026-12-01 decision to shrink the "crypto aes128-gcm" item. AES-128-GCM already exists, so what remains is the evidence. Implementation: webcpporg/crypto#24.

The stream's rulings (design.md):

  • R1. Tests only. There is no QUIC or TLS API and no public function; HKDF-Expand-Label is written in the test, over hash::hkdf_expand's pieces.
  • R2. A single public AES block already exists, aes128<B>::encrypt, so no new API. BearSSL has no block cipher, so its program uses ctaes for header protection.
  • R3. Three programs: OpenSSL, BearSSL with ctaes, and the defaults. Each also builds without exceptions.
  • R4. HKDF runs on hash's default backend.
  • R5. Both directions are checked, plus one tampered packet.
  • R6. The Retry integrity tag is checked both ways.
  • R7. A.5 is left out. Raw ChaCha20 is not public; it joins with the change primitives.
  • R8. The capability table names the tests as evidence. No changelog line, since no API changes.
  • R9. Provenance: the RFC Editor's text, with a section per value.

The README table is regenerated. tools/proposals.py check reports 0 problems, and OpenSpec 1.10.0 validate --all --strict passes in libraries/crypto (11 items).

🤖 Generated with Claude Code

R added 2 commits December 4, 2026 00:21
…on every AES-GCM backend with no QUIC API, A.5 waiting for raw ChaCha20 (design, rulings R1 to R9, plan)
@pinhopro
pinhopro merged commit 8a7b41f into main Dec 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant