lowRISC / lowRISC/opentitan

[dice,ot_certs] add unittests for CWT DICE certificates

Open
#25,104 1 comment 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.