lowRISC / lowRISC/opentitan

[rom_ctrl] Add KAT for KMAC before ROM verification

Open
#31,110 0 comments 0 reactions 0 assignees View on GitHub
FIPS
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

For FIPS, we need to run a KAT on the KMAC app interface before staring the actual ROM verification. To keep things simple, I would suggest to bake a fixed test vector directly into the RTL and the FSM, rather than extracting the test vector and the resulting digest from the scrambled ROM.

This is also related to #30765 (we likely need to switch the algorithm).

Contributor guide

Open the contributing guide

Research direction

Start at the KMAC app interface and the ROM-verification FSM in the RTL. Read issue #30765 first to confirm which algorithm and test vector remain valid, then trace how the FSM enters ROM verification. Done means a fixed KAT runs before verification and its result controls whether verification proceeds.

Written by the indexing model from the issue text.

Assessment

Domain
cryptography, embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.