Closed mamonet closed 11 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/Hacl_SHA3_Scalar.c | 1986 | 2304 | 86.2% | ||
src/Hacl_SHA3_Vec256.c | 7856 | 9966 | 78.83% | ||
<!-- | Total: | 9842 | 12270 | 80.21% | --> |
Totals | |
---|---|
Change from base Build 7058563693: | 5.0% |
Covered Lines: | 37671 |
Relevant Lines: | 63753 |
I fixed the examples on main, please cherry pick that commit or do another PR to merge main into dev first to fix that here.
Does this ever test the vec256 version with 4 different inputs? If not, would be worth adding such a test , or trying with 4 different kats, 4 at a time.
I used 4 different inputs for one shake128 vec256 test.
This patch imports
Hacl_SHA3_Scalar
andHacl_SHA3_Vec256
modules from hacl-starsha3-mb
branch and addssha3-mb.cc
test file to test SHA-3 modes for single-lane and 4-lanes.