Repository navigation
Commit 978c37f
committed
Fix ML-DSA HashML-DSA verify (ZD 21412)
Add missing hashLen validation in dilithium_verify_ctx_hash() to match
the check already present in the sign path. Without this, a caller
could pass a hashLen larger than WC_MAX_DIGEST_SIZE.1 parent 5b1d2d7 commit 978c37f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9905 | 9905 | | |
9906 | 9906 | | |
9907 | 9907 | | |
| 9908 | + | |
| 9909 | + | |
| 9910 | + | |
9908 | 9911 | | |
9909 | 9912 | | |
9910 | 9913 | | |
| |||
0 commit comments