Commit Graph

797 Commits

Author SHA1 Message Date
str4d df67e299e6
Merge pull request #80 from zcash/rfc-process
Point to the RFC process
2023-12-20 16:30:51 +00:00
Jack Grigg 43598cf303 Point to the RFC process 2023-12-19 15:36:50 +00:00
str4d a586b8c2db
Merge pull request #68 from zcash/msrv-1.60
Bump MSRV to 1.60
2023-07-30 10:36:55 +01:00
Jack Grigg cb43e87faf `criterion 0.4` 2023-03-02 17:23:42 +00:00
Jack Grigg ef9cc828f9 Bump MSRV to 1.60.0 2023-03-02 17:09:58 +00:00
str4d 7e3fc6a491
Merge pull request #69 from zcash/release-0.5.1
`pasta_curves 0.5.1`
2023-03-02 17:07:23 +00:00
Jack Grigg d43a16f8b2 `pasta_curves 0.5.1` 2023-03-02 16:47:32 +00:00
str4d 64b9d2476d
Merge pull request #58 from xxuejie/use_no_std_lazy_static
Configure lazy_static to use no_std setup
2023-03-02 16:44:49 +00:00
str4d ddae289d5b
Merge pull request #63 from daira/sqrt-overflow
Fix an overflow bug in the square root implementation on 32-bit platforms
2023-03-02 16:37:05 +00:00
str4d 91da3b09b6
Merge pull request #67 from zcash/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2023-03-02 16:26:18 +00:00
Daira Hopwood 0009d0b444 Fix an overflow bug in the square root implementation on 32-bit platforms.
Co-authored-by: Greg Pfeil <greg@electriccoin.co>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-03-02 16:20:45 +00:00
dependabot[bot] 4aa3ea163d
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 16:19:33 +00:00
str4d 2b3623018f
Merge pull request #65 from zcash/ci-updates
CI updates
2023-03-02 16:19:13 +00:00
Jack Grigg 61c287a8d6 Run tests on 32-bit target 2023-03-02 16:09:03 +00:00
Jack Grigg 93b9fa2351 Run tests with both `--all-features` and `--no-default-features` 2023-03-02 14:57:19 +00:00
Jack Grigg 437d471b4d Restrict dev-dependencies to `csv < 1.2`
We only have this dependency for `criterion`, so it doesn't need to
affect the crate MSRV.
2023-03-02 14:29:36 +00:00
Jack Grigg 374f52d55c Add Dependabot config 2023-03-02 14:28:15 +00:00
Jack Grigg 9479ce6116 Update CI 2023-03-02 14:28:15 +00:00
Xuejie Xiao 2ec5d9a9a3 Configure lazy_static to use no_std setup 2023-01-11 07:08:59 +00:00
str4d 4c94f3974e
Merge pull request #57 from zcash/release-0.5.0
Release 0.5.0
2022-12-06 04:40:58 +00:00
Jack Grigg 78be37163b `pasta_curves 0.5.0` 2022-12-06 02:32:40 +00:00
str4d 85e2664209
Merge pull request #55 from zcash/fieldext-finale
Remove `FieldExt` and `Group` traits
2022-12-05 18:53:55 +00:00
str4d f80525dc24
Merge pull request #56 from filecoin-project/improve-limb-conversion
Improve 64-bit to 32-bit limb conversion
2022-11-25 20:53:15 +00:00
Volker Mische 67e5595702 Improve 64-bit to 32-bit limb conversion
The code base is now on Rust 1.56 and Rust edition 2021. As per
https://github.com/zcash/pasta_curves/pull/31#discussion_r824826344
the code can now be simplified. This commit is also adding a test
for the u64_to_u32 function.
2022-11-25 11:17:37 +01:00
Jack Grigg 825cb944de Remove `FieldExt` trait
One, two! One, two! And through and through
    The vorpal blade went snicker-snack!
He left it dead, and with its head
    He went galumphing back.

Closes zcash/pasta_curves#42.
2022-11-25 05:05:54 +00:00
Jack Grigg 56b73e32ce Move `Ord` bound from `FieldExt` to `CurveAffine::{Base, Scalar}`
This helps with the `FieldExt` removal while deferring the decision on
whether to add an `Ord` bound to `ff::PrimeField`.
2022-11-25 05:05:54 +00:00
Jack Grigg 9862b247d2 Migrate remaining `FieldExt` constants and methods into `ff` 2022-11-25 05:05:54 +00:00
Jack Grigg bedaa0055c Remove unnecessary `FieldExt` bounds in `crate::hashtocurve` 2022-11-24 20:48:23 +00:00
Jack Grigg fbce21598d Remove `crate::arithmetic::Group` trait
It was only present to enable an FFT implementation in `halo2_proofs`
that is generic over fields and groups, but we can replace it with an
equivalent trait in `halo2_proofs` that can have a blanket impl.
2022-11-24 20:48:23 +00:00
Jack Grigg 4c86de5e10 Remove `FieldExt` bound from `SqrtHasher` generic argument 2022-11-24 11:37:41 +00:00
Jack Grigg 0559163953 Remove unused bounds and methods from `FieldExt` 2022-11-24 11:37:41 +00:00
str4d 1bd803d57b
Merge pull request #53 from lurk-lang/serde-ep-eq
Implement serde for Ep, Eq
2022-11-23 08:57:08 +00:00
str4d a5ac51d64e
Merge pull request #52 from zcash/field-trait-changes
Migrate to `ff` revision with square root backports
2022-11-21 17:45:49 +00:00
Samuel Burnham 5e7d16b811 Implement serde for Ep, Eq 2022-11-20 14:17:08 -05:00
Jack Grigg 1c21a8944c Migrate to `ff` revision with trait constants 2022-11-19 12:16:10 +00:00
Jack Grigg 6921efd8fd Migrate to `ff` revision with square root backports 2022-11-19 12:03:54 +00:00
str4d f8ba48de4e
Merge pull request #48 from filecoin-project/impl-serde
Implement Serde for fields and curves
2022-11-19 12:02:52 +00:00
str4d 191c416a76
Merge pull request #45 from filecoin-project/ec-gpu-020
Update to ec-gpu 0.2 release
2022-11-19 11:58:45 +00:00
Volker Mische 025362ad5a Address code review 2022-10-17 10:18:09 +02:00
Volker Mische 52902e6fdf Implement Serde for fields and curves
Currently Serde is only implemented for `Fp`, `Fq`, `EpAffine` and `EqAffine`.
Support can be enabled with the `serde` feature.
2022-10-14 15:32:57 +02:00
str4d db8305723d
Merge pull request #51 from zcash/release-0.4.1
Release 0.4.1
2022-10-13 22:07:04 +01:00
Sean Bowe e48f641f76
Release 0.4.1 2022-10-13 14:58:44 -06:00
str4d ede7f88784
Merge pull request #47 from jarys/uninline-portable
Add `uninline-portable` feature
2022-10-13 21:47:44 +01:00
Tomas Krnak b889295e31 fixup! Add `uninline-portable` feature 2022-10-13 11:07:19 +02:00
Tomas Krnak 52af8293a8 fixup! Add `uninline-portable` feature 2022-10-13 10:54:30 +02:00
Volker Mische fb04f7ad99 Update to ec-gpu 0.2 release
The traits of ec-gpu changed a bit, there's now also a `GpuName`
trait that needs to be implemented.

BREAKING CHANGE: `ec-gpu` v0.2 traits are not compatible with v0.1

All dependencies that use `ec-gpu` need to be on v0.2.
2022-09-07 15:44:48 +02:00
Tomas Krnak 378f5cfd08 Add `uninline-portable` feature 2022-08-17 17:39:04 +02:00
str4d 682a0e65b8
Merge pull request #40 from zcash/release-0.4.0
Release 0.4.0
2022-05-05 00:26:41 +01:00
Jack Grigg 94a5039b13 `pasta_curves 0.4.0` 2022-05-04 23:22:15 +00:00
Jack Grigg 0b8ed00c84 Migrate to Rust 2021 2022-05-04 23:22:15 +00:00