lowRISC / lowRISC/opentitan

[tests, crypto] Enable KMAC tests on CW340.

Open
#27,463 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component:Software IP:kmac
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

Currently crypto tests use the `CRYPTOTEST_EXEC_ENVS` environments, which includes the CW310, simulation, and silicon owner targets. However, the CW310 does not support KMAC masking and this means that tests which do not handle KMAC masking appropriately will pass on CW310 but will not necessarily pass in other environments.

If we add support to run (at least) KMAC crypto tests on CW340, we can have CI runs that catch potential issues or regressions caused by KMAC masking.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the definition and uses of CRYPTOTEST_EXEC_ENVS and the existing KMAC crypto tests. Update the test environment selection so CI exercises KMAC tests on CW340, then verify that the relevant crypto test runs complete there and cover KMAC masking behavior.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, cryptography, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.