Skip to content

feat: bn254 maptocurve #972

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 9 commits into
base: master
Choose a base branch
from
Open

Conversation

emberian
Copy link
Contributor

@emberian emberian commented Apr 8, 2025

Description

allows bn254 to support hashing to curve.

the RFC does not have test vectors for bn254,
so the tests are somewhat impoverished, but
the functionality does work according to tests.

closes: #855

some progress towards #815, however the present implementation does not support "all" curves. I am not sure the trait setup is amenable to that. this PR makes it easy to extend support to any particular curve, however. I do not think this closes that issue.

emberian added 2 commits April 8, 2025 12:13
allows bn254 to support hashing to curve.

the RFC does not have test vectors for bn254,
so the tests are somewhat impoverished, but
the functionality does work.
@emberian emberian requested review from a team as code owners April 8, 2025 16:19
@emberian emberian requested review from z-tech, mmagician and weikengchen and removed request for a team April 8, 2025 16:19
@emberian
Copy link
Contributor Author

emberian commented May 5, 2025

@Pratyush can you help me move this forward? I see @burdges and @mmagician in previous PR for elligator.

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.

SWUConfig for bn254
1 participant