Skip to content

[crypto/25519] Add sideload support for x25519#30047

Merged
nasahlpa merged 1 commit into
lowRISC:earlgrey_1.0.0from
siemen11:x25519_sideload
May 11, 2026
Merged

[crypto/25519] Add sideload support for x25519#30047
nasahlpa merged 1 commit into
lowRISC:earlgrey_1.0.0from
siemen11:x25519_sideload

Conversation

@siemen11
Copy link
Copy Markdown
Contributor

@siemen11 siemen11 commented May 6, 2026

Add sideload support for the keygen and ecdh for x25519 and include a new functest for it.

@siemen11 siemen11 requested a review from a team as a code owner May 6, 2026 13:55
@siemen11 siemen11 requested review from andrea-caforio, johannheyszl, nasahlpa and timothytrippel and removed request for a team and timothytrippel May 6, 2026 13:55
@siemen11 siemen11 force-pushed the x25519_sideload branch from 0318f2a to 125a28b Compare May 6, 2026 15:06
Copy link
Copy Markdown
Contributor

@andrea-caforio andrea-caforio left a comment

Choose a reason for hiding this comment

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

Thanks @siemen11. Looks good to me.

Comment thread sw/otbn/crypto/run_curve25519.s Outdated
Comment on lines +133 to +134
bn.wsrr w7, 4
bn.wsrr w8, 6
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
bn.wsrr w7, 4
bn.wsrr w8, 6
bn.wsrr w7, KEY_S0_L
bn.wsrr w8, KEY_S1_L

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you!

@siemen11 siemen11 force-pushed the x25519_sideload branch 2 times, most recently from ccd48da to c32b284 Compare May 10, 2026 09:22
@siemen11 siemen11 added the CI:Rerun Rerun failed CI jobs label May 11, 2026
@github-actions github-actions Bot removed the CI:Rerun Rerun failed CI jobs label May 11, 2026
Add sideload support for the keygen and ecdh for x25519 and include a
new functest for it.

Switch the keymgr tests to the new 25519 apps.

Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
@nasahlpa nasahlpa merged commit e8ccf53 into lowRISC:earlgrey_1.0.0 May 11, 2026
35 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.

3 participants