Commit Graph

40 Commits

Author SHA1 Message Date
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
Daira Hopwood 329f59493c Add benchmarks for point operations.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-11 15:09:34 +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 084d57ab10 Release 0.1.0 2021-06-01 23:40:45 +01:00
Jack Grigg 17b2e5275b Exclude contributor agreement from published crate
Can't contribute to hash-pinned binaries! This file is only needed in
the repo itself.
2021-06-01 23:38:30 +01:00
Jack Grigg bc20c5826b Migrate to ff 0.10.0 2021-06-01 23:31:00 +01:00
Steven 376ba4eeca
Merge pull request #9 from steven-ecc/change-tgppl-to-bosl
Adding BOSL and changing TGPPL references to BOSL
2021-04-26 16:43:21 -07:00
Steven e6a7d68a3e
Update Cargo.toml
Co-authored-by: ebfull <ewillbefull@gmail.com>
2021-04-26 16:43:07 -07:00
Steven Smith 82ddc0ebee Changing TGPPL references to BOSL 2021-04-16 09:50:44 -07:00
dignifiedquire 9e65e3a67d bench: add baseline benches for Fp and Fq 2021-03-10 14:46:28 +01:00
Jack Grigg b36356667f Rename crate to pasta_curves and remove halo2 code 2021-03-03 21:59:08 +00:00
Jack Grigg b4ed5295fe Migrate to group traits
The `Curve` trait is now `CurveExt: group::prime::PrimeCurve`, and
`CurveAffine` is now `CurveAffine: group::prime::PrimeCurveAffine`.

There is no `CurveAffine` trait in `group`, and it's a widely-used
trait in this crate, so we don't rename it to `CurveAffineExt`.
2021-02-22 20:20:23 +00:00
Daira Hopwood 704a6c3637 Remove unneeded sha3 dependency.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-02-21 00:45:33 +00:00
Sean Bowe c48229ce0f Remove dependency on byteorder crate 2021-02-19 15:52:11 +00:00
Daira Hopwood fa3afc29bb Add an implementation of simplified SWU hash-to-curve.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-02-19 15:52:11 +00:00
Jack Grigg 776016fe53 crossbeam-utils 0.8 2021-02-17 20:43:36 +00:00
Jack Grigg 0c4f779993 ff 0.9 2021-02-17 20:42:27 +00:00
Jack Grigg 2c77eccf01 metrics 0.14.2 2021-02-17 20:40:12 +00:00
Sean Bowe 4747112118
Downgrade to funty 1.1.0 to fix CI. 2021-02-14 09:24:15 -07:00
Jack Grigg 3c1132ec59 Add halo2::dev::circuit_layout behind dev-graph feature flag
This method renders circuits as tables, showing how the various regions
within them have been layed out.
2021-02-01 18:38:20 +00:00
Jack Grigg 7dd6e65a5f Add halo2::dev::circuit_dot_graph behind dev-graph feature flag
This method renders circuits as dot graphs, to help circuit developers
understand their structure.
2021-02-01 18:38:16 +00:00
Jack Grigg bf771a7446 Add namespacing and gadget name collection to Layouter 2021-02-01 18:38:04 +00:00
Daira Hopwood e13ee2c8ff Add sqrt_ratio implementation.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-01-14 02:34:43 +00:00
Sean Bowe dff5a3a692
Generate the URS using a homebrew mixture of blake2b and try-and-increment. 2021-01-06 10:45:11 -07:00
Jack Grigg c8e6fd9dfd Pin all metrics crate dependencies
We depend on the alpha version, where breaking changes are occurring
regularly. However, the metrics crate does not pin exact versions of
its dependencies, which can break our CI if a new alpha dependency is
released with breaking changes. Fortunately the metrics crate only has
a single metrics-* dependency, so we can just pin that as well.
2020-12-22 12:28:31 +00:00
Jack Grigg 8389389d37 model: metrics 0.13.0-alpha.13 2020-12-22 12:27:36 +00:00
therealyingtong 39df4954b5 Add Committed::construct() to lookup::prover 2020-12-03 10:50:20 +08:00
Sean Bowe a5d04725bd
We depend on subtle 2.3 for `Option<T>: From<CtOption<T>>`. 2020-12-02 09:50:43 -07:00
Jack Grigg cdbc41148a Migrate to ff traits
The `Field` trait in this crate is now `FieldExt: ff::PrimeField`.
2020-12-01 20:55:03 +00:00
Jack Grigg e5e6700e10 Pin most recent metrics alpha 2020-11-25 19:56:52 +00:00
Jack Grigg 61cddec3b8 Update crate authors 2020-11-24 18:25:56 +00:00
Jack Grigg fb8f67dfe5 Add a simple metrics Recorder for counting things in models 2020-11-23 12:47:42 +00:00
Sean Bowe 1f3fc875ab PLONK benchmarks. 2020-11-23 12:47:42 +00:00
therealyingtong ad781356c2 Update authors in Cargo.toml 2020-11-07 14:27:46 +08:00
therealyingtong 7710b73bff
Rename 'plonk' benchmark to 'arithmetic' 2020-09-16 08:55:39 +08:00
therealyingtong d70c8cc0d7
Add benchmarks for shared double-and-add 2020-09-16 00:44:56 +08:00
Sean Bowe dd1ad9f114
Initial commit 2020-08-22 14:15:39 -06:00