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

Properly generalize across curve groups #134

Open
AaronFeickert opened this issue Apr 1, 2024 · 0 comments
Open

Properly generalize across curve groups #134

AaronFeickert opened this issue Apr 1, 2024 · 0 comments

Comments

@AaronFeickert
Copy link
Contributor

AaronFeickert commented Apr 1, 2024

The library currently generalizes its operations over groups, but not completely. Specifically, it generalizes group elements, but always assumes a scalar field compatible with Ristretto. This is very limiting and not a consistent abstraction.

There are a few options on how to proceed:

  • Remove the abstraction, and limit the library to use of the Ristretto group
  • Update the abstraction to handle a group's scalar field
  • Overhaul the abstraction to use the group and ff traits, which are supported by the Ristretto library implementation

I favor the third option, as using the existing traits seems like the cleanest and most idiomatic approach.

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