Repository navigation
Commit 84bc8a4
internal.h: gate hybrid KEXes on ML-KEM sets
wolfSSL can build ML-KEM without one of its parameter sets, or without
FIPS 203 ML-KEM at all. The hybrid KEX gates now follow the set each
one needs, so a missing set is neither advertised nor negotiated.
- add WOLFSSH_NO_MLKEM768 and WOLFSSH_NO_MLKEM1024 from
WOLFSSL_NO_ML_KEM, WOLFSSL_NO_ML_KEM_768 and WOLFSSL_NO_ML_KEM_1024
- derive the three hybrid KEX gates from them1 parent e0e8e45 commit 84bc8a4
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
251 | 262 | | |
252 | 263 | | |
253 | 264 | | |
254 | 265 | | |
255 | | - | |
| 266 | + | |
256 | 267 | | |
257 | 268 | | |
258 | 269 | | |
259 | 270 | | |
260 | | - | |
| 271 | + | |
261 | 272 | | |
262 | 273 | | |
263 | 274 | | |
| |||
0 commit comments