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 BLS12-381 scalar and base field params + define BLS12-377 scalar and base field params #275

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

luksgrin
Copy link
Contributor

The constants defining the base field and the scalar parameters for the BLS12-381 were the ones corresponding to the curve BLS12-377 instead. This PR renames the parameters so that they correspond to the correct curve and furthermore adds the parameters corresponding to BLS12-381. The parameters were extracted from the standard curve database:

Copy link
Member

@Trivo25 Trivo25 left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks for the PR!

@Trivo25 Trivo25 merged commit 981047d into o1-labs:main Oct 21, 2024
1 check 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.

2 participants