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

faster GT membership #55

Merged
merged 3 commits into from
Jun 1, 2021
Merged

faster GT membership #55

merged 3 commits into from
Jun 1, 2021

Conversation

yelhousni
Copy link
Collaborator

@yelhousni yelhousni commented May 27, 2021

  • BN:
    g^(6*u^2) == g^p
  • BLS12:
    g^(p^4+1) == g^(p^2) && g^p == g^u
  • BW6:
    g^(p^2+1) == g^p && g^(3p) == g^(13u^6 − 23u^5 − 9u^4 + 35u^3 + 10u + 19)

Using Granger-Scott CyclotomicSquare, and Conjugate for inverse once the first check is verified (g in the cyclotomic subgroup).

@gbotrel
Copy link
Collaborator

gbotrel commented Jun 1, 2021

lgtm, just need to add GT subgroup check when deserializing on GT objects at the curve level.

@gbotrel gbotrel merged commit 2b4a06b into develop Jun 1, 2021
@gbotrel gbotrel deleted the feat/GT-membership branch June 1, 2021 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants