Commit 745d009
authored
Route ML-DSA ACVP to the right APIs (#2884)
### Description of changes:
The previous ML-DSA change weren't routing against the right APIs. This
fixes that.
Issues were mainly:
1. `extmu` is exclusive to `signatureInterface=internal`, but we were
passing in false for `signatureInterface=external`.
2. `ml_dsa_*_sign` APIs are non-deterministic and we weren't passing in
`rnd` as the random bytes. This routes the SignGen tests to the right
places.
### Call-outs:
N/A
### Testing:
New ACVP demo vector, verified against expected outputs and added to
this change. The new tests fail without the new changes made to ACVP.
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and the ISC license.1 parent 7c02cb3 commit 745d009
File tree
4 files changed
+39
-26
lines changed- util/fipstools/acvp
- acvptool
- subprocess
- test
- expected
- vectors
- modulewrapper
4 files changed
+39
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| |||
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
177 | | - | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3380 | 3380 | | |
3381 | 3381 | | |
3382 | 3382 | | |
3383 | | - | |
3384 | | - | |
3385 | 3383 | | |
3386 | 3384 | | |
3387 | 3385 | | |
3388 | 3386 | | |
3389 | 3387 | | |
3390 | 3388 | | |
3391 | 3389 | | |
3392 | | - | |
3393 | 3390 | | |
3394 | 3391 | | |
3395 | 3392 | | |
3396 | 3393 | | |
3397 | | - | |
| 3394 | + | |
| 3395 | + | |
3398 | 3396 | | |
3399 | 3397 | | |
3400 | | - | |
3401 | | - | |
| 3398 | + | |
| 3399 | + | |
3402 | 3400 | | |
3403 | | - | |
3404 | | - | |
| 3401 | + | |
| 3402 | + | |
3405 | 3403 | | |
3406 | | - | |
3407 | | - | |
| 3404 | + | |
| 3405 | + | |
3408 | 3406 | | |
3409 | 3407 | | |
3410 | 3408 | | |
| |||
3415 | 3413 | | |
3416 | 3414 | | |
3417 | 3415 | | |
3418 | | - | |
3419 | | - | |
3420 | | - | |
3421 | | - | |
3422 | | - | |
3423 | | - | |
| 3416 | + | |
| 3417 | + | |
3424 | 3418 | | |
3425 | 3419 | | |
3426 | 3420 | | |
| |||
3434 | 3428 | | |
3435 | 3429 | | |
3436 | 3430 | | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
3437 | 3445 | | |
3438 | 3446 | | |
3439 | 3447 | | |
| |||
3476 | 3484 | | |
3477 | 3485 | | |
3478 | 3486 | | |
3479 | | - | |
3480 | | - | |
3481 | | - | |
3482 | | - | |
3483 | | - | |
3484 | | - | |
| 3487 | + | |
| 3488 | + | |
3485 | 3489 | | |
3486 | 3490 | | |
3487 | 3491 | | |
| |||
3495 | 3499 | | |
3496 | 3500 | | |
3497 | 3501 | | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
3498 | 3508 | | |
3499 | 3509 | | |
3500 | 3510 | | |
| |||
0 commit comments