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

Refactor Scalar::pow method to not use BigUints #7

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

jtraglia
Copy link
Contributor

Kev pointed out that we can use Arkwork's pow method for this. It took me a little while to figure out how to use this.

Got the idea from Arkworks' code here:

https://github.com/arkworks-rs/algebra/blob/b33df5cce2d54cf4c9248e4b229c7d6708fa9375/ec/src/pairing.rs#L330

@kevaundray kevaundray merged commit 0a0f979 into crate-crypto:master Aug 30, 2024
51 checks passed
@jtraglia jtraglia deleted the a-better-pow branch August 30, 2024 17:58
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