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

fix: avoid overflow when counting scalars (PROOF-906) #38

Merged
merged 4 commits into from
Sep 12, 2024
Merged

Conversation

rnburn
Copy link
Contributor

@rnburn rnburn commented Sep 11, 2024

Rationale for this change

Refactors the code so that the code will still work if the number of bits used per multi-exponentiation output can't fit into a 32-bit integer.

What changes are included in this PR?

  • Minor adjustments to code that counts the number of scalars per output.

Are these changes tested?

Yes. I added test cases.

@rnburn rnburn merged commit 05db1e4 into main Sep 12, 2024
7 checks passed
@rnburn rnburn deleted the of-PROOF-906 branch September 12, 2024 16:07
@SxT-Release
Copy link

🎉 This PR is included in version 3.2.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants