Commit Graph

35 Commits

Author SHA1 Message Date
Jack Grigg ef9cc828f9 Bump MSRV to 1.60.0 2023-03-02 17:09:58 +00:00
Jack Grigg d43a16f8b2 `pasta_curves 0.5.1` 2023-03-02 16:47:32 +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
Jack Grigg 78be37163b `pasta_curves 0.5.0` 2022-12-06 02:32:40 +00: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 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 6921efd8fd Migrate to `ff` revision with square root backports 2022-11-19 12:03:54 +00:00
Sean Bowe e48f641f76
Release 0.4.1 2022-10-13 14:58:44 -06:00
Tomas Krnak 378f5cfd08 Add `uninline-portable` feature 2022-08-17 17:39:04 +02:00
Jack Grigg 94a5039b13 `pasta_curves 0.4.0` 2022-05-04 23:22:15 +00:00
Jack Grigg 3329b4de85 Migrate to `ff 0.12`, `group 0.12`
MSRV is now 1.56.0.
2022-05-04 23:22:15 +00:00
Jack Grigg 94d6a8be03 `pasta_curves 0.3.1` 2022-04-20 11:15:43 +00:00
Andy Polyakov 1bee4d2989 fixup! Document recent changes in CHANGELOG.md. 2022-04-19 08:13:51 +02:00
Andy Polyakov 73eb83d52d Document recent changes in CHANGELOG.md. 2022-04-19 00:12:55 +02:00
Jack Grigg 6b2090ff2c `pasta_curves 0.3.0` 2022-01-03 13:57:42 +00:00
Jack Grigg 53f65f7e6d Changelog and comment cleanups 2022-01-03 13:56:07 +00:00
Jack Grigg 69cf8f5f77 Remove `CurveAffine::{read, write}`
This removes the last dependency on `std::io`.
2021-12-22 05:22:56 +00:00
Jack Grigg f874d29238 Remove `FieldExt::rand`
This removes a dependency on the `getrandom` crate in no-std mode, which
doesn't work on some no-std targets that `getrandom` doesn't support.
2021-12-22 05:15:06 +00:00
Jack Grigg 32cc10db46 Move `FieldExt::get_lower_32` to `SqrtRatio` trait
It is only used internally by the table-based square root impl, and we
should probably refactor this further, but for now it can live in the
sqrt extension trait.
2021-09-30 13:57:59 +01:00
Jack Grigg 3a6f71d2f0 Remove `FieldExt::{from_bytes, read, to_bytes, write}`
- `ff::PrimeField::{from_repr, to_repr}` are direct replacements for
  `FieldExt::{from_bytes, to_bytes}`.
- `FieldExt::{read, write}` were added for reading and writing `halo2`
  proofs, but `halo2::transcript` now handles this internally.
2021-09-23 14:45:02 +01:00
Jack Grigg ad0360bc1c Remove `FieldExt::from_u64` 2021-09-23 14:45:02 +01:00
Jack Grigg 11c5ddbc02 Remove `FieldExt::{RESCUE_ALPHA, RESCUE_INVALPHA}` 2021-09-23 14:45:02 +01:00
Jack Grigg 1b2f581ac1 Move square-root operations from `FieldExt` into a separate trait 2021-09-23 14:45:02 +01:00
Jack Grigg 0c58a40a98 Remove `pasta_curves::arithmetic::Field` 2021-09-23 14:44:10 +01:00
Jack Grigg aeda766c34 Remove `FieldExt::ROOT_OF_UNITY`
We can use the `ff::PrimeField::root_of_unity` method everywhere we
currently use this associated constant. If there is a more general
need for accessing this as an associated constant, we should consider
that for `ff::PrimeField`.
2021-09-23 14:44:10 +01:00
Jack Grigg bb2564d586 pasta_curves 0.2.1 2021-09-17 16:37:00 +01:00
Jack Grigg f747efc6ff Relicense `pasta_curves` as MIT OR Apache-2.0 2021-09-17 16:32:36 +01:00
Jack Grigg 6a28a85d8b pasta_curves 0.2.0 2021-09-02 18:37:13 +01:00
Jack Grigg fd7a6edbb1 ff 0.11, group 0.11 2021-09-02 18:10:05 +01:00
Jack Grigg 1bac885af5 Release 0.1.2 2021-08-06 13:29:03 +01:00
Jack Grigg 15e16839b3 Release 0.1.1 2021-06-04 18:54:09 +01:00
Jack Grigg a6b018fb0e impl CofactorCurve for Pallas and Vesta
They already implement CofactorGroup (trivially, with the prime-order
subgroup being Self); this just enables Pallas and Vesta to be used in
cofactor-aware protocols that also want to leverage the affine point
representation.
2021-06-04 00:54:39 +01:00
Jack Grigg 084d57ab10 Release 0.1.0 2021-06-01 23:40:45 +01:00
Jack Grigg d4a76edee5 Initialize the changelog 2021-01-22 23:54:31 +00:00
Sean Bowe dd1ad9f114
Initial commit 2020-08-22 14:15:39 -06:00