lowRISC / lowRISC/opentitan

[keymgr_dpe, dv] fix `check_invalid_key` function

Open
#31,223 0 comments 0 reactions 1 assignee Claimed by @rroth-lowrisc View on GitHub
Component:DV IP:keymgr_dpe
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

In **keymgr_dpe_if.sv**:
`keys_a_array` stored keys truncated to `KeyWidth`, but OTBN sideloads
the full `WideHwKeyWidth` digest, so its invalid-key check ignored the
upper bits.

See [here](https://github.com/lowRISC/opentitan/blob/119f86a224419c5317ef7158da5bd89a3631f772/hw/ip/keymgr_dpe/dv/env/keymgr_dpe_if.sv#L585).

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.