Commit 3c3e4a1
authored
Add support for HMAC-SHA3 to ACVP tool (#2866)
### Description of changes:
Recent ACVP testing has uncovered that we don't support HMAC-SHA3
through our ACVP harness. One thing to note is that HMAC-SHA3 does not
support precomputed keys as seen in 80f986b.
I've added additional logic to work around this.
### Call-outs:
This will be cherry-picked over to FIPS branch once in main.
### Testing:
Took new HMAC-SHA3 vectors from demo vectors and ran
`trim_vectors.go` on them.
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 5188ef8 commit 3c3e4a1
File tree
9 files changed
+62
-14
lines changed- util/fipstools/acvp
- acvptool/test
- expected
- vectors
- modulewrapper
9 files changed
+62
-14
lines changedBinary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
495 | 535 | | |
496 | 536 | | |
497 | 537 | | |
| |||
2275 | 2315 | | |
2276 | 2316 | | |
2277 | 2317 | | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | | - | |
2285 | | - | |
2286 | | - | |
2287 | | - | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
2288 | 2331 | | |
2289 | | - | |
2290 | | - | |
2291 | | - | |
2292 | | - | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
2293 | 2337 | | |
2294 | 2338 | | |
2295 | 2339 | | |
| |||
3462 | 3506 | | |
3463 | 3507 | | |
3464 | 3508 | | |
| 3509 | + | |
| 3510 | + | |
| 3511 | + | |
| 3512 | + | |
3465 | 3513 | | |
3466 | 3514 | | |
3467 | 3515 | | |
| |||
0 commit comments