add aPlonK (!163)
this adds the aPlonK cryptographic method alongside Semi-AVID and KZG+. ## changelog - new feature `aplonk`: - the `algebra` module is compiled when either `kzg` or `aplonk` features are enabled - `algebra::scalar_product_polynomial` compiles only with `kzg` - the other `algebra::*` functions compile with `aplonk` - `u32_to_u8_vec` has been moved to new `conversions` module which compiles when either `kzg` or `aplonk` features are enabled - new `aplonk` module which compiles only when the `aplonk` feature is enabled - public structures - `Block` - `Commitment` - `SetupParams` - `VerifierKey` - public functions - `setup` - `commit` - `prove` - `verify` - internals - `ipa::Params` - `ipa::Proof` - `ipa::prove` - `ipa::verify` - `polynomial::compute_g` - `transcript::initialize` - `transcript::reset` - `transcript::hash`
Showing
- Cargo.toml 1 addition, 0 deletionsCargo.toml
- src/algebra.rs 92 additions, 2 deletionssrc/algebra.rs
- src/aplonk/ipa.rs 428 additions, 0 deletionssrc/aplonk/ipa.rs
- src/aplonk/mod.rs 565 additions, 0 deletionssrc/aplonk/mod.rs
- src/aplonk/polynomial.rs 195 additions, 0 deletionssrc/aplonk/polynomial.rs
- src/aplonk/transcript.rs 64 additions, 0 deletionssrc/aplonk/transcript.rs
- src/conversions.rs 21 additions, 0 deletionssrc/conversions.rs
- src/kzg.rs 1 addition, 19 deletionssrc/kzg.rs
- src/lib.rs 5 additions, 1 deletionsrc/lib.rs
src/aplonk/ipa.rs
0 → 100644
src/aplonk/mod.rs
0 → 100644
src/aplonk/polynomial.rs
0 → 100644
src/aplonk/transcript.rs
0 → 100644
src/conversions.rs
0 → 100644
Please register or sign in to comment