Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provide a non-hiding variant of KZG #28

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

huitseeker
Copy link
Member

Drafts a non-hiding variant of the KZG PCS on univariate Dense polynomial representations

Details:

  • Changed access levels and ordering for various modules and functions like sumcheck, cpu_best_multiexp, and mod kzg;.
  • Upgraded halo2curves version and added new dependencies like pairing, anyhow, rand, and group.
  • Leveraged the UniPoly in sumcheck.rs
  • Created non_hiding_kzg.rs file, introducing new structures and functionalities like UVUniversalKZGParam, UVKZGProverKey, UVKZGPoly, and UVKZGPCS along with their implementation and tests.
  • Modified the import of Engine in kzg.rs from halo2curves::pairing::Engine to pairing::Engine (reflecting the new version of halo2curves).

@huitseeker huitseeker changed the title feat: provinde a non-hiding variant of KZG feat: provide a non-hiding variant of KZG Aug 14, 2023
Drafts a non-hiding variant of the KZG PCS on univariate Dense polynomial representations

Details:
- Changed access levels and ordering for various modules and functions like `sumcheck`, `cpu_best_multiexp`, and `mod kzg;`.
- Upgraded `halo2curves` version and added new dependencies like `pairing`, `anyhow`, `rand`, and `group`.
- Leveraged the UniPoly in sumcheck.rs
- Created `non_hiding_kzg.rs` file, introducing new structures and functionalities like `UVUniversalKZGParam`, `UVKZGProverKey`, `UVKZGPoly`, and `UVKZGPCS` along with their implementation and tests.
- Modified the import of `Engine` in `kzg.rs` from `halo2curves::pairing::Engine` to `pairing::Engine` (reflecting the new version of halo2curves).
@huitseeker huitseeker merged commit 7e210a5 into lurk-lab:zeromorph Aug 15, 2023
porcuquine pushed a commit that referenced this pull request Dec 7, 2023
)

- Modified `SuperNovaAugmentedCircuitParams` to be passed by reference in `test_recursive_circuit_with` function and associated instances in `test.rs`.
- Updated `SuperNovaAugmentedCircuit::new` method to match changes in the `test_recursive_circuit_with` function.
- Revamped arguments handling in `synthesize_non_base_case` and `synthesize` functions in `circuit.rs`, changing from owned types to references to reduce unnecessary cloning.
- Altered function body to accommodate the changes for referenced values in `circuit.rs`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants