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

Improve secp256k1_point_unsafe using precomputed tables #280

Open
bigspider opened this issue Aug 26, 2024 · 0 comments
Open

Improve secp256k1_point_unsafe using precomputed tables #280

bigspider opened this issue Aug 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bigspider
Copy link
Collaborator

#276 introduced a faster version of secp256k1_point that is not secured against side channels, for use where that's not a concern (public data). However, there is still a vast room for improvement, as the current code use a generic elliptic curve scalar multiplication method, while secp256k1_point multiplies a fixed point (the generator) by a scalar.

Precomputed tables of multiples could still improve performance by a large margin, at the cost of an increase in binary size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant