Commit 5cd4da1
committed
noise: hybrid X25519+ML-KEM-768 handshake, negotiated alongside /noise
Adds an additive, off-by-default 'mlkem-hfs' feature advertising
Noise_XXhfs_25519+ML-KEM-768_ChaChaPoly_SHA256 under a new protocol id,
falling back to classical /noise for older peers. Ports the crate to
snow 0.10 (patched to our fork carrying the ML-KEM KEM) and widens the
handshake scratch buffer for the KEM material.1 parent 6a6814b commit 5cd4da1
8 files changed
Lines changed: 287 additions & 72 deletions
File tree
- transports/noise
- src
- io
- tests
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
0 commit comments