Commit d14b506
Fix Dilithium with USE_INTEL_SPEEDUP (ZD 21417)
Add check before word32 addition in dilithium_hash256() that
could wrap to zero, bypassing the size check.
Also reject absurdly large msgLen (> UINT32_MAX/2) in
wc_dilithium_verify_ctx_msg.1 parent b3278af commit d14b506
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
506 | 509 | | |
507 | 510 | | |
508 | 511 | | |
| |||
10554 | 10557 | | |
10555 | 10558 | | |
10556 | 10559 | | |
| 10560 | + | |
| 10561 | + | |
| 10562 | + | |
| 10563 | + | |
10557 | 10564 | | |
10558 | 10565 | | |
10559 | 10566 | | |
| |||
0 commit comments