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

Clean up MulByXXX methods, hard-coded non-residue constants in the template generator #10

Merged
merged 23 commits into from
Jul 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
874c8b0
refactor-constants: collapste template fpMulByNonResidueBody into tem…
ggutoski Jun 22, 2020
b05bbe5
refactor-constants: collapste template fpMulByNonResidueInvBody into …
ggutoski Jun 22, 2020
5b7287d
refactor-constants: collapse template fp2MulByNonResidueBody into tem…
ggutoski Jun 22, 2020
51af765
refactor-constants: collapse template fp2MulByNonResidueBodyInv into …
ggutoski Jun 22, 2020
ae84086
refactor-constants: collapse template fp6MulByNonResidueBody into tem…
ggutoski Jun 22, 2020
20bd4b6
refactor-constants: fix bug in MulByNonResidueInv for bls381, bn256; …
ggutoski Jun 22, 2020
c4f76c1
refactor-constants: bls377: move MulByVW, MulByV, MulByV2W from e12.g…
ggutoski Jul 6, 2020
937b8c0
refactor-constants: same as above for bls381, bn256
ggutoski Jul 6, 2020
6fd64e1
refactor-constants: port the above changes into the template generato…
ggutoski Jul 6, 2020
81a3498
refactor-constants: bls377: regenerate tests for e12 by tweaking gnar…
ggutoski Jul 6, 2020
dcd856e
refactor-constants: same as above for bls381, bn256
ggutoski Jul 6, 2020
7bb0b2e
refactor-constants: bw761: replace fourinv string conversion with har…
ggutoski Jul 7, 2020
237f5ed
refactor-constants: bw761: remove MulByXXX, embed their bodies direct…
ggutoski Jul 7, 2020
8fb84dd
refactor-constants: comment out MulByNotv2 from the template generator
ggutoski Jul 8, 2020
caeff3f
refactor-constants: e2 template: remove MulByNonResidue, MulByNonResi…
ggutoski Jul 9, 2020
43ed0ea
refactor-constants: e6 template: remove MulByNonResidue, MulByNonResi…
ggutoski Jul 9, 2020
76bb417
refactor-constants: e2 template: comment out fpInlineMulByNonResidueI…
ggutoski Jul 9, 2020
63bc76d
refactor-constants: e2 template: switch comment with panic() for easy…
ggutoski Jul 9, 2020
dac7e42
refactor-constants: e12 template: comment out MulByNonResidue method
ggutoski Jul 9, 2020
dcad61c
refactor-constants: template generator: delete TwoInv code
ggutoski Jul 9, 2020
115c81d
refactor-constants: template generator: delete commented-out template…
ggutoski Jul 9, 2020
70e1668
refactor-constants: bls381/pairing.go: refactor twoInv into a new mul…
ggutoski Jul 9, 2020
0e856c4
refactor-constants: replace E12, E2 with PairingResult, G2CoordType
ggutoski Jul 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 18 additions & 213 deletions bls377/e12.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading