Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sival,hmac,kmac] Update test plan and add SHA3-224 test vectors #25256

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

milesdai
Copy link
Contributor

This PR updates some of the HMAC and KMAC test points and adds missing SHA3-224 test vectors.

CC @nmoroze

@milesdai milesdai added the CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0 label Nov 19, 2024
- Remove KMAC test target
- Specify testing all HMAC-SHA2 modes
- Add test targets that exercise the SHA2 mode

Signed-off-by: Miles Dai <[email protected]>
- Add cSHAKE KAT tests
- Remove mentions of XOF from KMAC testpoint. These are covered by the
  SHAKE and cSHAKE testpoints.
- Add hardcoded KMAC test vectors

Signed-off-by: Miles Dai <[email protected]>
@engdoreis engdoreis merged commit c26e56b into lowRISC:master Nov 21, 2024
43 checks passed
Copy link

Backport failed for earlgrey_1.0.0, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin earlgrey_1.0.0
git worktree add -d .worktree/backport-25256-to-earlgrey_1.0.0 origin/earlgrey_1.0.0
cd .worktree/backport-25256-to-earlgrey_1.0.0
git switch --create backport-25256-to-earlgrey_1.0.0
git cherry-pick -x fa9dd46f3f826cab33f05431b3b3f8fdf1e8f957 f93282060517eef710a363bab59d302bb92b5617 a4159c8311068054b3ac19e94e3f60c2ec8435b9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0 Manually CherryPick This PR should be manually cherry picked.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants