Skip to content

[hw] Integrate KMAC for ROM checking#590

Open
elliotb-lowrisc wants to merge 3 commits into
lowRISC:mainfrom
elliotb-lowrisc:kmac
Open

[hw] Integrate KMAC for ROM checking#590
elliotb-lowrisc wants to merge 3 commits into
lowRISC:mainfrom
elliotb-lowrisc:kmac

Conversation

@elliotb-lowrisc
Copy link
Copy Markdown
Contributor

@elliotb-lowrisc elliotb-lowrisc commented May 29, 2026

Add KMAC to Mocha and use it to enable ROM scrambling.

See individual commits for details.

Several other blocks are needed for the types contained
in their packages that are used in KMAC interfaces.

Also, fix the ROM image scrambling script import paths for Mocha.O
Integrate KMAC hw block for use with the ROM checker only.
No other KMAC interfaces are connected.

Modify the SW build system to generate a scrambled boot-ROM image.
Attempting to run an un-scrambled image will be blocked by the
in-hardware ROM checker.

Add minimal HJSON files required for ROM image scrambling script.
These use the OT testing secrets for now.
Copy link
Copy Markdown
Collaborator

@engdoreis engdoreis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Software bits all looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants