Skip to content

perf(bw6-756): optimize GT subgroup membership#351

Merged
yelhousni merged 1 commit intodevelopfrom
perf/bw6-756/GT-subgroup-check
Mar 6, 2023
Merged

perf(bw6-756): optimize GT subgroup membership#351
yelhousni merged 1 commit intodevelopfrom
perf/bw6-756/GT-subgroup-check

Conversation

@yelhousni
Copy link
Copy Markdown
Collaborator

Instead of checking z^r==1 in GT (where r is 378 bit), we do the following sequential check:

  • z^(Phi_k(p)) == 1 (where Phi_k(p) is the kth-cyclotomic polynomial) and
  • z^(p+1-t) == 1 where t, the Frobenius trace, happens to be defined by the polynomial t(x) = (-x⁶ + 5x⁵ - 9x⁴ + 7x³ - 4x + 5)/3 + 1 in the case of the BW6-756 curve

@yelhousni yelhousni merged commit f9b8d37 into develop Mar 6, 2023
@yelhousni yelhousni deleted the perf/bw6-756/GT-subgroup-check branch March 6, 2023 19:31
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