You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge remote-tracking branch 'upstream/master' into vec-allocator
* upstream/master: (29 commits)
Fix some clippy lints (arkworks-rs#570)
Correct tag name & complete command suggestion (arkworks-rs#569)
Open a "release-PR" against a `releases` branch (arkworks-rs#566)
Allow to overwrite default impl of `msm` in TwistedEdwards form (arkworks-rs#567)
Remove poly-benches. (arkworks-rs#558)
DO NOT MERGE YET. Release 0.4 (arkworks-rs#512)
otherwise downstream users that have not migrated will not see warning (arkworks-rs#563)
use `into_bigint()` in `Debug` for `Fp<P, N>` (arkworks-rs#562)
Add `frobenius_map_in_place` (arkworks-rs#557)
Fix test_sw_properties for some cofactor groups (arkworks-rs#555)
Move h2c tests to test-templates (arkworks-rs#554)
impl `CanonicalSerialize/Deserialize` for `BigUint` (arkworks-rs#551)
Fix MontFp issue in fields with 64 * k bits (arkworks-rs#550)
Fix tests for Modulus plus one div four (arkworks-rs#552)
fix (arkworks-rs#547)
Rename all `*Parameters` to `*Config` (arkworks-rs#545)
Fix doc-comment on `SWUMap` and CamelCase `(CO)DOMAIN`
Small cleanups in hash-to-curve (arkworks-rs#544)
Allow to overwrite the default implementation of `msm` (arkworks-rs#528)
Move `multi_miller_loop` and `final_exponentiation` into `BW6Config` (arkworks-rs#542)
...
Copy file name to clipboardExpand all lines: CHANGELOG.md
+32-2Lines changed: 32 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,16 @@
4
4
5
5
### Breaking changes
6
6
7
+
### Features
8
+
9
+
### Improvements
10
+
11
+
### Bugfixes
12
+
13
+
## v0.4.0
14
+
15
+
### Breaking changes
16
+
7
17
-[\#300](https://github.com/arkworks-rs/algebra/pull/300) (`ark-ec`) Change the implementation of `Hash` trait of `GroupProjective` to use the affine coordinates.
8
18
-[\#302](https://github.com/arkworks-rs/algebra/pull/302) (`ark-ff`) Rename `find_wnaf` to `find_naf`.
-[\#386](https://github.com/arkworks-rs/algebra/pull/386) (`ark-ff`) Remove `PrimeField::GENERATOR`, since it already exists on `FftField`.
32
42
-[\#393](https://github.com/arkworks-rs/algebra/pull/393) (`ark-ec`, `ark-ff`) Rename `FpXParams` to `FpXConfig` and `FpXParamsWrapper` to `FpXConfigWrapper`.
33
43
-[\#396](https://github.com/arkworks-rs/algebra/pull/396) (`ark-ec`) Remove `mul_bits` feature, and remove default implementations of `mul` and `mul_by_cofactor_to_projective`.
34
-
-[\#408](https://github.com/arkworks-rs/algebra/pull/408) (`ark-ff`) Change the output of `Display` formatting for BigInt & Fp from hex to decimal.
44
+
-[\#408](https://github.com/arkworks-rs/algebra/pull/408) (`ark-ff`) Change the output of `Display` formatting for `BigInt` and `Fp` from hex to decimal.
35
45
-[\#412](https://github.com/arkworks-rs/algebra/pull/412) (`ark-poly`) Rename UV/MVPolynomial to DenseUV/MVPolynomial.
36
46
-[\#417](https://github.com/arkworks-rs/algebra/pull/417) (`ark-ff`) Remove `ToBytes` and `FromBytes`.
37
47
-[\#418](https://github.com/arkworks-rs/algebra/pull/418) (`ark-ff`) Add `sums_of_products` to `Field` and `Fp`
@@ -90,7 +100,7 @@
90
100
-`miller_loop` → `multi_miller_loop`
91
101
-`pairing` → `multi_pairing`
92
102
- Change method signatures:
93
-
-`product_of_pairings`->`multi_pairing`
103
+
-`product_of_pairings`→`multi_pairing`
94
104
- take two references to element iterators instead of an iterator of tuples.
95
105
-`miller_loop` and `multi_miller_loop` now
96
106
- take two iterators over `impl Into<G1Prepared>` and `impl Into<G2Prepared>` as input, and
@@ -136,6 +146,20 @@
136
146
- Splits the contents of `ff/src/fields/mod.rs` into smaller files for easier management.
137
147
- Moves `BitIterator` out of `ark_ff::fields` and into `ark_ff` directly.
138
148
- Adds `impl<'a, 'b> Add/Sub/Mul/Div<&'a F> for &'b F`
149
+
-[\#517](https://github.com/arkworks-rs/algebra/pull/517) (`ark-ec`) Move the definition of the isogeny map of WB hash-to-curve to a separate struct
150
+
-[\#519](https://github.com/arkworks-rs/algebra/pull/519) (`ark-ec`) Refactor variable-base MSM to be checked by default, returning a `Result` if the lengths of the bases and scalars do not match.
151
+
-[\#545](https://github.com/arkworks-rs/algebra/pull/545) (`ark-ec`, `ark-ff`) Rename all `*Parameters` or `*Params` to `*Config`, including:
152
+
-`SWUParams` → `SWUConfig`
153
+
-`WBParams` → `WBConfig`
154
+
-`Bls12Parameters` → `Bls12Config`
155
+
-`G1Parameters` → `G1Config`
156
+
-`G2Parameters` → `G2Config`
157
+
-`BnParameters` → `BnConfig`
158
+
-`BW6Parameters` → `BW6Config`
159
+
-`MNT4Parameters` → `MNT4Config`
160
+
-`MNT6Parameters` → `MNT6Config`
161
+
-`GLVParameters` → `GLVConfig`
162
+
-[\#557](https://github.com/arkworks-rs/algebra/pull/557) (`ark-ff`) Change `frobenius_map` to return the result, instead of mutating the input. Add `frobenius_map_in_place` for the old behavior.
139
163
140
164
### Features
141
165
@@ -160,6 +184,8 @@
160
184
- Add constructor `new_coset`.
161
185
- Add convenience method `get_coset`.
162
186
- Add methods `coset_offset`, `coset_offset_inv` and `coset_offset_pow_size`.
187
+
-[\#539](https://github.com/arkworks-rs/algebra/pull/539) (`ark-ec`) Implement wNAF-based MSM, resulting in 5-10% speedups.
188
+
-[\#528](https://github.com/arkworks-rs/algebra/pull/528) (`ark-ec`) Allow to overwrite the default implementation of the `msm` function provided by the `VariableBaseMSM` trait by a specialized version in `SWCurveConfig`.
163
189
164
190
### Improvements
165
191
@@ -169,6 +195,8 @@
169
195
-[\#352](https://github.com/arkworks-rs/algebra/pull/352) (`ark-ff`) Update `QuadExtField::sqrt` for better performance.
170
196
-[\#357](https://github.com/arkworks-rs/algebra/pull/357) (`ark-poly`) Speedup division by vanishing polynomials for dense polynomials.
171
197
-[\#445](https://github.com/arkworks-rs/algebra/pull/445) (`ark-ec`) Use 2-NAF for ate pairing in MNT4/6 curves.
198
+
-[\#509](https://github.com/arkworks-rs/algebra/pull/509) (`ark-ff`, `ark-ff-macros`) Support prime fields with (64 * k)-bit modulus.
199
+
-[\#567](https://github.com/arkworks-rs/algebra/pull/567) (`ark-ec`) Allow to overwrite the default implementation of the `msm` function for TwistedEdwards form provided by the `VariableBaseMSM` trait by a specialized version in `TECurveConfig`.
172
200
173
201
### Bugfixes
174
202
@@ -178,6 +206,8 @@
178
206
-[\#394](https://github.com/arkworks-rs/algebra/pull/394) (`ark-ff`, `ark-serialize`) Remove `EmptyFlags` construction checks.
179
207
-[\#442](https://github.com/arkworks-rs/algebra/pull/442) (`ark-ff`) Fix deserialization for modulo with 64 shaving bits.
180
208
-[\#460](https://github.com/arkworks-rs/algebra/pull/460) (`ark-ec`) Fix a corner case for ate pairing in BLS12 and BW6 models.
209
+
-[\#521](https://github.com/arkworks-rs/algebra/pull/521) (`ark-poly`) Change `DensePolynomial::evaluate_over_domain` to not truncate terms higher than the size of the domain.
210
+
-[\#526](https://github.com/arkworks-rs/algebra/pull/526) (`ark-ff`) Fix squaring for `Fp128`.
0 commit comments