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

Elements of G2 in D curves should have order r. #2

Open
blynn opened this issue Apr 25, 2011 · 0 comments
Open

Elements of G2 in D curves should have order r. #2

blynn opened this issue Apr 25, 2011 · 0 comments

Comments

@blynn
Copy link
Owner

blynn commented Apr 25, 2011

In D curves, we save a little time when generating points in G2 by avoiding an exponentiation to make them order r.

Unfortunately this breaks element_is1 and element_cmp in G2, which are needed in cryptosystems such as ZK protocols.

To fix this, when generating an element of G2, we should ensure it has order r even for type D curves.

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