[dice,ot_certs] add unittests for CWT DICE certificates
Open
Nobody has claimed this yet.
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
This is a follow-up issue of https://github.com/lowRISC/opentitan/pull/24754.
https://github.com/lowRISC/opentitan/blob/a8c0633016e90d705338b80a938742f44d12115e/sw/host/ot_certs/src/cwt.rs#L959-L960
We need to provide the on-device unittest code to check the program vailidity.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sw/host/ot_certs/src/cwt.rs around lines 959-960 and review the linked pull request 24754 for the existing CWT DICE certificate behavior. Add on-device unit tests that check program validity, then run the relevant certificate tests to confirm the validity checks work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography, embedded-iot, security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100