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

Add a curve defined on 1-limb #176

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2170486
feat: adding support for 1-limb modulus in field generator
gbotrel Apr 18, 2022
49a4efe
fix: x86 1-limb multiplication OK
gbotrel Apr 18, 2022
d81868c
fix: handle 1-liimb without no_carry set
gbotrel Apr 18, 2022
5e8e234
test: field generator test 1-limb modulus
gbotrel Apr 18, 2022
56bcfd4
fix: staticcheck unused warning
gbotrel Apr 18, 2022
91b0404
ci: remove use of self-hosted runner
gbotrel Apr 22, 2022
d2c2ebe
build: update template not to use break (go1.18)
gbotrel Apr 22, 2022
637d12b
feat: add a new bls12 toy curve defined on 1-limb
yelhousni Apr 25, 2022
1b934db
fix(toy-bls12): code generation
yelhousni Apr 25, 2022
af52d6d
perf(toy-bls12): frobenius maps coeffs
yelhousni Apr 25, 2022
0f0d677
fix(toy-bls12): add FFT params
yelhousni Apr 25, 2022
3908d8e
fix: handle hex modulus in code generator
gbotrel Apr 25, 2022
7694b72
fix: handle hex modulus in code generator
gbotrel Apr 25, 2022
39aa1a4
feat: add (unoptimized) goldilock field
gbotrel Apr 25, 2022
000790f
feat: add (unoptimized) goldilock field
gbotrel Apr 25, 2022
db14d1d
fix(toy-bls12): MiMC parameters
yelhousni Apr 25, 2022
ee813d7
feat: faster 1-limb mul without assembly
gbotrel Apr 27, 2022
739f641
feat: 1-limb fast path SetBytes, mulByConstant calls Mul
gbotrel Apr 27, 2022
e2619ce
feat: restored inverse for 1 limb modulus
gbotrel Apr 27, 2022
20093ae
feat: use addchain for faster sqrt
gbotrel Apr 27, 2022
f51cacd
feat: 1-limb Halve() with no spare bit
gbotrel Apr 28, 2022
c048c24
style: code cleaning
gbotrel Apr 28, 2022
f5632d5
feat: efficient double with 1-limb
gbotrel Apr 28, 2022
d5e3f60
style: 1-limb cosmetics for reduction
gbotrel Apr 28, 2022
f502919
fix: re-ran go generate
gbotrel Apr 28, 2022
f108fad
fix: fix previous commit
gbotrel Apr 28, 2022
b65553d
build: make staticcheck happier
gbotrel Apr 29, 2022
6b6be29
build: more code cleaning to make staticcheck happier
gbotrel Apr 29, 2022
d4039df
test: added BatchInvert test
gbotrel Apr 29, 2022
d056456
style: remove global variable for qMinusTwo
gbotrel Apr 29, 2022
de75846
fix: handle negative exponent for field.Exp
gbotrel Apr 30, 2022
d938643
Merge branch 'feat/goldilocks' into 1-limb/toy-curve
gbotrel May 3, 2022
8153960
Merge branch 'clean/field' into 1-limb/toy-curve
gbotrel May 3, 2022
5c2e31e
build: ran go-generate
gbotrel May 3, 2022
5547d88
style: code cleaning
gbotrel May 3, 2022
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: 118 additions & 113 deletions ecc/bls12-377/fp/element.go

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

1 change: 0 additions & 1 deletion ecc/bls12-377/fp/element_ops_noasm.go

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

Loading