Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick to master: [rom_ext] Enable ECDSA verify of owner code #25991

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

cfrantz
Copy link
Contributor

@cfrantz cfrantz commented Jan 23, 2025

Contains manual cherry-picks from earlgrey_es_sival branch to enable ECDSA signature verification of owner code.

Original PR: #24544.

See Commit messages for more details.

Add `prod`, `dev` and `test` ECDSA keys for testing.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 01c4d71)
(cherry picked from commit f949355)
1. Add fake ECDSA keys to the test_owner configuration.
2. Enable ECDSA sigverify in rom_ext_verify.
3. Migrate one test (`rom_ext/e2e/verified_boot:keys`) to ECDSA keys.

The following changes are new (not part of the cherry pick):

4. Migrate `rom_ext/e2e/ownership/..` tests to ECDSA keys.
5. Migrate all execution environments in hw/top_earlgrey to ECDSA keys.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 6ab3872)
Signed-off-by: Miguel Osorio <[email protected]>
(cherry picked from commit cc1a3fc)
@cfrantz cfrantz requested a review from moidx January 23, 2025 18:40
@cfrantz cfrantz requested review from a team as code owners January 23, 2025 18:40
@cfrantz cfrantz requested review from jwnrt and pamaury and removed request for a team and jwnrt January 23, 2025 18:40
@cfrantz cfrantz merged commit 05dee13 into lowRISC:master Jan 23, 2025
38 checks passed
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