feat: implement QUIC packet and header protection - #291
Draft
stevefan1999-personal wants to merge 2 commits into
Draft
feat: implement QUIC packet and header protection#291stevefan1999-personal wants to merge 2 commits into
stevefan1999-personal wants to merge 2 commits into
Conversation
stevefan1999-personal
force-pushed
the
stack/05-quic
branch
from
August 5, 2026 12:17
29e36ba to
24d7625
Compare
2 tasks
Replace the stub QUIC module with RFC 9001 header protection (AES-ECB and ChaCha20) and AEAD packet keys for AES-128/256-GCM and ChaCha20-Poly1305, using enum + trait dispatch via match. Wire those algorithms into the TLS 1.3 AES-GCM and ChaCha suites. Named static suite/KeyBuilder values keep borrows 'static on MSRV 1.85. AES-CCM QUIC support is intentionally omitted so this change applies cleanly on master without the CCM feature branch.
stevefan1999-personal
force-pushed
the
stack/05-quic
branch
from
August 5, 2026 12:28
24d7625 to
0c2c7fa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Independent PR based on
master(not stacked).MaskSampleenum + trait)PacketOpsenum + trait)KeyBuildervalues for'staticon MSRV 1.85AES-CCM QUIC is out of scope here so this PR does not depend on #289. A small follow-up can wire CCM once #289 lands.
Test plan
cargo test --lib(QUIC tests) / clippy / no_std (1.85)