Skip to content

Reuse Edwards windowed scalar multiplication for Decaf #1303

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

daxpedda
Copy link
Contributor

Decaf was using a simple double-and-add scalar multiplication algorithm.
However, we already have a improved windowed scalar multiplication algorithm used for Edwards.

This PR re-uses the same algorithm from Edwards in Decaf.

@daxpedda daxpedda force-pushed the decaf-scalar-mul-opt branch from 98a0c59 to 3928221 Compare July 18, 2025 14:20
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.

1 participant