mirror of
https://github.com/arnaucube/sonobe.git
synced 2026-02-05 10:46:41 +01:00
Add CommitmentProver trait, and add KZG prover to it (#62)
* Add KZG commitment scheme adapted to vector commitment Add KZG commitment scheme adapted to vector commitment Also move the `src/pedersen.rs` into `src/commitment/pedersen.rs` where it will coexist with `kzg.rs` and the trait defined in `src/commitment/mod.rs`. * Adapt Pedersen into the new CommitmentProver trait * add CommitmentProver (Pedersen&KZG) homomorphic property test * polishing * Use divide_with_q_and_r, rename skip_first_zero_coeffs Co-authored-by: han0110 <tinghan0110@gmail.com> --------- Co-authored-by: han0110 <tinghan0110@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ ark-ff = "^0.4.0"
|
||||
ark-poly = "^0.4.0"
|
||||
ark-std = "^0.4.0"
|
||||
ark-crypto-primitives = { version = "^0.4.0", default-features = false, features = ["r1cs", "sponge", "crh"] }
|
||||
ark-poly-commit = "^0.4.0"
|
||||
ark-relations = { version = "^0.4.0", default-features = false }
|
||||
ark-r1cs-std = { default-features = false } # use latest version from the patch
|
||||
ark-serialize = "^0.4.0"
|
||||
|
||||
Reference in New Issue
Block a user