lowRISC / lowRISC/opentitan

[keymgr_dpe, testenv.] Verify boot_stage_counter for DPE context

Open
#30,759 1 comment 0 reactions 1 assignee Claimed by @rroth-lowrisc View on GitHub
IP:keymgr_dpe SW:cryptolib SW:ROM SW:ROM_EXT
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

All the test under `.sw/device/tests/crypto/` verified the state of the original `keymgr` during the `test_setup()` (It was required to be inside the **OwnerRootKey** State). However the `keymgr_dpe` does not support this feature as the **FSM** and the key state (**CreatorRootKey** / **OwnerIntKey** / **OwnerKey**) for each _DPE slot_ are not coupled together anymore.

Implement the same check during secure boot and in several other tests.

In the future there will be a feature to poll the key state for each individual _DPE slot_. As soon as this feature is implemented, integrate it inside the corresponding tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.