therealyingtong
|
de86391f0e
|
Update test to pass multiple ConcreteCircuits
|
2021-01-31 11:48:32 +08:00 |
|
therealyingtong
|
e0f9fe1dcf
|
Clippy fixes + address review comments
Co-authored-by: Jack Grigg <jack@electriccoin.co>
|
2021-01-24 08:07:30 +08:00 |
|
therealyingtong
|
58479fbcc3
|
Refactor keygen to generate pk from vk.
|
2021-01-24 08:07:30 +08:00 |
|
Sean Bowe
|
ba591c3b39
|
Add serialization support for PLONK verifying keys.
|
2021-01-24 08:05:58 +08:00 |
|
Kris Nuttycombe
|
74b2aa715f
|
Require Rotation instead of i32 for relative rows in circuits.
Co-authored-by: str4d <thestr4d@gmail.com>
|
2021-01-14 11:57:32 -07:00 |
|
ebfull
|
ccca639591
|
Merge pull request #111 from zcash/transcript-api-2
New Transcript API (and modified commitment scheme)
|
2021-01-13 16:50:47 -07:00 |
|
Jack Grigg
|
8590211585
|
Remove unnecessary parts from MockProver per review comments
|
2021-01-06 21:52:56 +00:00 |
|
therealyingtong
|
fb939f17a9
|
Add permutation check to MockProver
|
2021-01-06 21:52:56 +00:00 |
|
Jack Grigg
|
6eebf3994b
|
Add MockProver for developing circuits
|
2021-01-06 21:52:56 +00:00 |
|
Sean Bowe
|
c5e0364962
|
Remove the Read/Write type parameters from Transcript{Read,Write}.
|
2021-01-06 10:45:11 -07: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 |
|
Sean Bowe
|
a2999accb5
|
Rename DummyHash{Reader,Writer} to DummyHash{Read,Write}.
|
2021-01-06 10:45:11 -07:00 |
|
Sean Bowe
|
06552eec44
|
Update the PLONK implementation to adapt to the new transcript API.
|
2021-01-06 10:45:11 -07:00 |
|
Jack Grigg
|
90c50fdd11
|
Refactor permutation proofs to reflect the separate permutations
|
2020-12-22 23:51:32 +00:00 |
|
ebfull
|
7c0e56a44e
|
Merge pull request #84 from zcash/pasta-curves
Replace Tweedle curves with Pasta curves
|
2020-12-13 08:51:52 -07:00 |
|
therealyingtong
|
8360b94f89
|
Extract plonk::vanishing::{Argument, Proof} from prover and verifier
Co-authored-by: Jack Grigg <jack@electriccoin.co>
|
2020-12-08 00:57:14 +08:00 |
|
ying tong
|
30c13d5a6a
|
Further cleanups
Co-authored-by: ebfull <ewillbefull@gmail.com>
|
2020-12-05 13:14:50 +08:00 |
|
Sean Bowe
|
6c0e6f7348
|
cargo fmt
|
2020-12-03 13:59:17 -07:00 |
|
Sean Bowe
|
95e41fcfcf
|
Rename curves to Pallas/Vesta (Pasta).
|
2020-12-03 13:47:47 -07:00 |
|
therealyingtong
|
0a85e93714
|
Add lookup to circuit and test
|
2020-12-03 10:50:20 +08:00 |
|
therealyingtong
|
0c81e9adab
|
Use lookup mod in plonk::prover and plonk::verifier
|
2020-12-03 10:50:20 +08:00 |
|
therealyingtong
|
46eed7be93
|
Add commit_permuted() in lookup::prover
|
2020-12-03 10:50:20 +08:00 |
|
therealyingtong
|
02344eb711
|
Add lookup mod and structs
|
2020-12-03 10:50:20 +08:00 |
|
therealyingtong
|
2ba44cff9f
|
Add theta challenge
|
2020-12-03 10:50:20 +08:00 |
|
therealyingtong
|
5d891e029d
|
Add fixed_values to ProvingKey
|
2020-12-03 10:50:20 +08:00 |
|
Jack Grigg
|
4d4c79be58
|
Move Challenge and ChallengeScalar into the transcript module
|
2020-12-01 22:40:54 +00:00 |
|
Jack Grigg
|
a63e6e25d8
|
Restrict visibility of PLONK challenges to plonk module
|
2020-12-01 21:14:14 +00:00 |
|
Jack Grigg
|
66240800a3
|
Move permutation keygen into plonk::permutation::keygen
|
2020-12-01 21:10:31 +00:00 |
|
Jack Grigg
|
f63f3ff2af
|
Introduce typed challenge scalars
This also centralises the challenge generation logic in Challenge::get,
ensuring it is consistent across the codebase.
|
2020-12-01 21:09:03 +00:00 |
|
Jack Grigg
|
4a3b830165
|
Extract permutation argument into a submodule
|
2020-12-01 21:03:31 +00: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 |
|
therealyingtong
|
43337dea1b
|
Make Transcript generic over curve points
Co-authored-by: Jack Grigg <jack@electriccoin.co>
|
2020-11-16 21:26:46 +00:00 |
|
Jack Grigg
|
3407d13e4b
|
Move curves and fields into tweedle module
|
2020-11-12 21:36:59 +00:00 |
|
therealyingtong
|
075988ae4e
|
Introduce Column struct and ColumnType trait
|
2020-11-06 11:29:42 +08:00 |
|
therealyingtong
|
2034179d82
|
Rename wire -> column
|
2020-11-06 11:18:12 +08:00 |
|
therealyingtong
|
5181ca56f1
|
Bind &[pubinput] in plonk test_proving()
|
2020-10-14 00:35:36 +08:00 |
|
therealyingtong
|
c3d0a172a7
|
Create multiopen abstraction
|
2020-10-14 00:35:25 +08:00 |
|
Sean Bowe
|
7a3caaad59
|
Fix comments
|
2020-09-29 08:28:00 -06:00 |
|
Sean Bowe
|
c97da352ee
|
Remove SRS and replace with ProvingKey/VerifyingKey abstractions
Co-authored-by: therealyingtong <yingtong@electriccoin.co>
|
2020-09-29 08:25:04 -06:00 |
|
Sean Bowe
|
6d41693af5
|
Use Blind::default().
|
2020-09-25 10:21:15 -06:00 |
|
Sean Bowe
|
56b6d8bd03
|
Auxilary wires in PLONK are foux blinded just like fixed wires.
|
2020-09-25 10:21:15 -06:00 |
|
Sean Bowe
|
2d1f69328f
|
Rename OpeningProof to just Proof.
|
2020-09-25 09:39:32 -06:00 |
|
Sean Bowe
|
a37c926a89
|
Address clippy lints
|
2020-09-20 13:09:03 -06:00 |
|
Sean Bowe
|
73d494a72d
|
Various changes, including restoring permutation argument to advice wires only for now.
|
2020-09-19 13:31:56 -06:00 |
|
therealyingtong
|
24fe3fae29
|
Remove aux_commitments computation from Prover; remove blinding factor when accumulator aux_evals
|
2020-09-19 12:39:04 -06:00 |
|
therealyingtong
|
c772801f8f
|
Pass aux_lagrange_polys to prover as a slice
|
2020-09-19 12:39:04 -06:00 |
|
therealyingtong
|
fd094fccd8
|
Add aux_commitments and aux_evals to test_proving() example
|
2020-09-19 12:39:04 -06:00 |
|
therealyingtong
|
9482202a98
|
Update PLONK test_proving() example
|
2020-09-19 12:39:04 -06:00 |
|
therealyingtong
|
a257308ba2
|
Add aux wires to ConstraintSystem
|
2020-09-19 12:39:04 -06:00 |
|
therealyingtong
|
0caf1d2087
|
Provide aux_commitments to verifier and aux_lagrange_polys to prover
|
2020-09-19 12:39:04 -06:00 |
|