Repository navigation
Commit aa65855
committed
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 cf123ae commit aa65855
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
245 | 256 | | |
246 | 257 | | |
247 | 258 | | |
248 | 259 | | |
249 | | - | |
| 260 | + | |
250 | 261 | | |
251 | 262 | | |
252 | 263 | | |
253 | 264 | | |
254 | | - | |
| 265 | + | |
255 | 266 | | |
256 | 267 | | |
257 | 268 | | |
| |||
0 commit comments