arnaucube
arnaucube/ark-curves-cherry-pickedPublic Self-hosted repository

Commit history

e2d16a27e2cfa9f972ae9772df827a22730011b4
M
Update README.md (#189)
Michele Orrù committed on Dec 18, 2023
e2d16a2
P
Add archival notice to README (#188)
Pratyush Mishra committed on Dec 18, 2023
7854883
D
Expose Bandersnatch generators (#184)
Davide Galassi committed on Oct 14, 2023
ccf8392
m
Bw6-761 optimized Miller loop (#155)
mmagician committed on Sep 3, 2023
1ce1fcf
s
Add BW6-767 curve and update BW6-761 to use the new bw6 model (#156) * Rework bw6-761 to bw6-767 use bls12-381 instead of 377 for test imports fix the inline comments with correct name and params Set the right base field Equation for base curve is y2 = x3 + 1 fill in pairing params adapt sage scripts with correct moduli calculate the correct cubic non residue correct the parameter B in the curve equation remove the specialized method for mult by nonresidue nonresidue is two, so default will be doubling calculate more correct parameters for fq3 `TRACE_MINUS_ONE_DIV_TWO` and `QUADRATIC_NONRESIDUE_TO_T` compute the right fq3 & fp6 frobenious coefficients calculate the cofactor for g1 use the g1 generator from gnark's fork use the right g2 equation g2 cofactor is slightly smaller than g1 cofactor get the g2 generators from gnark's fork update g1 and g2 curve info in the comments fill in `COFACTOR_INV` value for g1 fill in `COFACTOR_INV` value for g2 * update module description author information 2-adicity of the scalar field * update changelog * remove trailing comma * remove todo * 2nd loop count is x^3 - x^2 - x * Revert "2nd loop count is x^3 - x^2 - x" This reverts commit 2b323db3baff06a6077fd7505ff489fa31be7282. * fix comment regarding non-residue * first loop count should be X * 1. Generic BW6 params added to BW6-761 2. Curve specific hard part of the final exp moved from algebra * 1. Generic BW6 params added to BW6-767 2. Miller loop params changed to the "unoptimized" version * cargo fmt * changelog updated * X_MINUS_1_DIV_3 added to BW6Config * imports fixed --------- Co-authored-by: mmagician <marcin.gorny.94@protonmail.com>
swasilyev committed on Sep 1, 2023
7e58260
M
Add benchmarks for curve25519.
Michele Orrù committed on Jan 29, 2023
ab9be6d
M
Add benchmarks for secp256k1
Michele Orrù committed on Jan 28, 2023
d5447de
d
Implement WB hash2curve for BLS12-377 and BLS12-381 (#138) * include the coefficients of bls12-377 G1 and G2 isogenies for wb hash2curve * replacing the ark-ec dependency to w3f/arkworks-algebra * added parameters for isogenous curve to bls12-377 g1 curve for swu map * fix dependency inconsistency problem * implement WBParams and its isogenous curve for BLS12-377 G1 * implement the SWUParameters for isogenous curve to BLS12-377 g2 curve. * implement WBParams for BLS12-377 G2 curve * replacing const generic arrays with const slice in g1 and g2 iso coefficients * - Implement WB hash to curve for BLS12-381 G1 - Improvement to WB hash to curve code for BLS12-377 - Update sage code for generating isogeny coefficients for arkworks. * Implement WB hash to curve for BLS12-381 G2 * - fix the bug with base order for field_new for Fq2 - fix the polynomial coeffcient order for bls12-381 g1 and g2 isogenies. - fix the polynomial coeffcient order for bls12-377 g1. 377-g2 needs to be fixed still. * fix bls12-377 wb hash to curve isogeny coeffcients * fixed sage code for generating the isogeny coefficients * use patch.crates-io hack to resolve dependancy issues on w3f fork * Rename `Parameters` to `Config` for all fields * Rename `field_new` to `MontFp` * Rename `field_new` to `QuadExt` and `CubicExt` * Refactor bls12_381 crate based on update-ff branch. Close #9 * adapt bls12 wb hashing to new changes in algebra * update bls12-381 dependancies and g1, g2 definition to pass tests * adapt bls12-377 hash to curve to algebar updates * depend on upstream for pull request * cargo fmt * - move the isogeny finder script from sage to script folder - delete auxiliary isogeny coeff file * add unit tests for wb hashing to bls12-377 g1 and g2 * - Use IsogenyMap struct to specify WB Isogeny for bls12-381 and bls12-377 - Do not use auxiliary constants to define generators of g2_swu_iso curve. - Update change log * Bump the Algebra dependencies of bls12_381 and bls12_377 to 0.4.0-alpha.4 so they could use the IsogenyMap struct. * Add h2c tests for BLS12-381 curve * Drop alpha sub-version in dependancies because it takes the lastest sub version * Parameters → Config for bls12-377/381 curves * do cargo fmt * do SwuIsoParameters → SwuIsoConfig for bls12-377/381 * Adapt to new macro * Fix macro invocation should be semicolon not comma * curves master should use algebra/r1cs default branch * Add h2c test invocation for bls12-377 curve no actual test vectors yet * add faster cofactor clearing and tests for g1 * add faster cofactor clearing and tests for g2 parameters of endomorphisms are wrong for now * add test vectors for bls12-377 * add h_eff to g2 tests for correctness test * improve cofactor tests g2 * add a test for psi(psi(P)) == psi2(P) * fix bls12-377 psi & psi2 computation parameters * rename const to DOUBLE_P_POWER_ENDOMORPHISM_COEFF_0 and make private * fix clippy warnings in changed code * use the same zeta as test suites * update code comments, make methods private * update changelog Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu> Co-authored-by: mmagician <marcin.gorny.94@protonmail.com>
drskalman committed on Jan 10, 2023
bf8c488
P
Add `frobenius_map_in_place` (#140)
Pratyush Mishra committed on Dec 28, 2022
cba0c7e
m
Prepare release 0.4 (#133)
mmagician committed on Nov 29, 2022
cdf4d18
m
Update changelog (#131)
mmagician committed on Oct 19, 2022
df39c78
P
Fix mul-by-non-residue for bw6::fq3
Pratyush Mishra committed on Sep 28, 2022
efefa20
P
Tweaks
Pratyush Mishra committed on Sep 22, 2022
1833cbf
P
Rename
Pratyush Mishra committed on Sep 14, 2022
f43d59c
P
Optimizations to field and curve arithmetic
Pratyush Mishra committed on Sep 12, 2022
68f500d
P
Update to new benchmarking framework (#126)
Pratyush Mishra committed on Sep 9, 2022
363426c
P
`is_identity` -> `is_zero` (#125)
Pratyush Mishra committed on Sep 9, 2022
55a092a
W
Fix a typo in the Jubjub curve comment (#114)
Weikeng Chen committed on Aug 27, 2022
b433045
W
Last PR to get the curve tests to work (#113)
Weikeng Chen committed on Aug 21, 2022
52577f9
M
Pull ark-std from latest master (#100)
Marcin committed on Apr 12, 2022
9a89ea8
P
Fix benchmark imports (#99)
Pratyush Mishra committed on Mar 7, 2022
5a1e16e
W
Revise the version number of Bandersnatch (#80)
Weikeng Chen committed on Nov 10, 2021
3a0f858
P
Reduce CI time by parallelizing per-curve tests (#52)
Pratyush Mishra committed on Apr 12, 2021
880a010
D
Release v0.2 (#51)
Dev Ojha committed on Mar 24, 2021
269fe97
P
Fix links in curve documentation (#49)
Pratyush Mishra committed on Mar 24, 2021
5c0dcd5
D
Linkify changelog (#46)
Dev Ojha committed on Mar 23, 2021
fea21d9
D
Add benchmark for sub_assign (#41)
Dev Ojha committed on Feb 4, 2021
6849699
P
More comprehensive scalar multiplication tests (#37)
Pratyush Mishra committed on Jan 15, 2021
6ed2450
P
Add MSM benchmark (#24)
Pratyush Mishra committed on Dec 16, 2020
e7d7d01
P
Handle `Fp64` related issue (#32)
Pratyush Mishra committed on Dec 15, 2020
ae06af2
P
Better inversion in tests (#30)
Pratyush Mishra committed on Dec 15, 2020
72b04db
P
Fix rng in constraint tests
Pratyush Mishra committed on Dec 15, 2020
9654fb6
V
Add missed import
ValarDragon committed on Dec 15, 2020
145a573
V
Fix doctests
ValarDragon committed on Dec 12, 2020
b7d6d11
V
undo patch.crates.io
ValarDragon committed on Dec 11, 2020
9c8d0fb
V
fix lint
ValarDragon committed on Dec 11, 2020
febd204
V
UniformRand updates
ValarDragon committed on Dec 11, 2020
2d081cd
V
Change test_rng import to ark-std
ValarDragon committed on Dec 11, 2020
530d618
A
Fixed broken links (#28)
Antoine Rondelet committed on Dec 14, 2020
b17b17e
P
Format
Pratyush Mishra committed on Dec 10, 2020
7f1fcd6
P
Improvements
Pratyush Mishra committed on Dec 10, 2020
3198749
P
Work
Pratyush Mishra committed on Dec 10, 2020
ac0dcc7
P
Change benchmark order
Pratyush Mishra committed on Dec 10, 2020
76cc7aa
P
Move to `bencher`
Pratyush Mishra committed on Dec 10, 2020
c6a51ad
P
Reduce number of samples
Pratyush Mishra committed on Dec 10, 2020
4ab7431
P
Move to criterion
Pratyush Mishra committed on Dec 10, 2020
651f772
P
Fix MNT4-753 Fq4 Frobenius coefficient
Pratyush Mishra committed on Dec 10, 2020
98717da
P
Format
Pratyush Mishra committed on Dec 9, 2020
0486c30
P
Fixes
Pratyush Mishra committed on Dec 9, 2020
4e45f92
P
Update `ed_on_cp6`
Pratyush Mishra committed on Dec 9, 2020
a1ce329
P
Update `MNT6-298`
Pratyush Mishra committed on Dec 9, 2020
1534bbb
P
Update `MNT4-298`
Pratyush Mishra committed on Dec 9, 2020
6f7235d
P
Update `MNT4-753`
Pratyush Mishra committed on Dec 9, 2020
4b050b1
P
Update `MNT6-753`
Pratyush Mishra committed on Dec 8, 2020
5f62fab
P
Update edwards curves constants
Pratyush Mishra committed on Dec 8, 2020
9a97d75
P
Update `ed_on_bn254`
Pratyush Mishra committed on Nov 29, 2020
7f6ff28
P
Update `ed_on_bls12_381`
Pratyush Mishra committed on Nov 29, 2020
128f0f5
P
Update `ed_on_bls12_377`
Pratyush Mishra committed on Nov 29, 2020
23a25fa
P
Update CP6-782
Pratyush Mishra committed on Nov 29, 2020
abdaafd
P
Update BW6-761
Pratyush Mishra committed on Nov 29, 2020
6a6b371
P
Update BN254
Pratyush Mishra committed on Nov 29, 2020
31664a0
P
Update BLS12-381
Pratyush Mishra committed on Nov 28, 2020
b0565ad
P
Update BLS12-377
Pratyush Mishra committed on Nov 28, 2020
0445d45
P
Add constraints for relevant curves (#3)
Pratyush Mishra committed on Oct 19, 2020
66a1fc9
P
`default-features = false` for `curve-benches` (#2)
Pratyush Mishra committed on Oct 11, 2020
f6132a4
P
Update documentation for BLS12 fields (#1)
Pratyush Mishra committed on Oct 11, 2020
33261b4
P
Initial commit
Pratyush Mishra committed on Oct 11, 2020
43ca213