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

Unable to Call map_to_curve Function Due to Private Fp Struct Parameter #141

Open
tomip01 opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@tomip01
Copy link

tomip01 commented Jan 17, 2025

Hi,

I’m trying to use the map_to_curve function exposed by this crate, but I encountered an issue. The function requires a parameter of type Fp. However, the Fp struct is private and cannot be constructed or accessed from outside the crate.

This makes it impossible to call map_to_curve, as there is no apparent way to create an instance of Fp from raw bytes.

Making public the Fp struct would solve this issue.

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

No branches or pull requests

1 participant