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

[rom_ext] Perform ECDSA ans SPX verification in parallel #26160

Open
wants to merge 2 commits into
base: earlgrey_1.0.0
Choose a base branch
from

Conversation

cfrantz
Copy link
Contributor

@cfrantz cfrantz commented Feb 6, 2025

  1. Split ECDSA sigverify into start and finish operations so Ibex can perform SPX verification while OTBN is verifying the P256 signature.
  2. Update the ROM_EXT to use the split P256 operations.

By running the ECDSA and SPX operations in parallel, the 4.2ms ECDSA verification time is subsumed into the ~9ms SPX verification time.

@timothytrippel
Copy link
Contributor

You will need to update these two files as well:
sw/device/silicon_creator/rom/e2e/release/rom_e2e_self_hash_test.c
hw/top_earlgrey/dv/env/seq_lib/chip_sw_rom_e2e_self_hash_gls_vseq.sv

Split ECDSA sigverify into start and finish operations so Ibex and
execute code while OTBN is verifying the signature.

Signed-off-by: Chris Frantz <[email protected]>
@cfrantz cfrantz changed the title [rom, rom_ext] Perform ECDSA ans SPX verification in parallel [rom_ext] Perform ECDSA ans SPX verification in parallel Feb 10, 2025
@cfrantz cfrantz marked this pull request as ready for review February 10, 2025 17:29
@cfrantz cfrantz requested a review from a team as a code owner February 10, 2025 17:29
@cfrantz cfrantz removed the request for review from a team February 10, 2025 17:29
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