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

Shared prime group trait for projective and affine points #43

Open
daxpedda opened this issue Dec 24, 2022 · 0 comments
Open

Shared prime group trait for projective and affine points #43

daxpedda opened this issue Dec 24, 2022 · 0 comments

Comments

@daxpedda
Copy link

It would be nice to have a shared trait over projective and affine points that signifies if they belong to a prime group or not.
Currently the prime group traits are split in PrimeCurve, PrimeCurveAffine and PrimeGroup, my understanding is that affine points can only implement PrimeCurveAffine, therefore having no shared trait between the too.

Therefor I would like to propose a marker trait that can be implemented for both.
Happy to make a PR if somebody can suggest me a name, IANA cryptographer and don't feel 100% comfortable with all the terminology used here.

Cc RustCrypto/traits#1170.

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