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

add examples for libra & hyrax #40

Merged
merged 8 commits into from Dec 16, 2020
Merged

add examples for libra & hyrax #40

merged 8 commits into from Dec 16, 2020

Conversation

10to4
Copy link
Member

@10to4 10to4 commented Dec 10, 2020

No description provided.

@10to4 10to4 requested review from aphasiayc and p0n1 December 10, 2020 10:35
@p0n1 p0n1 merged commit 0547b1a into sec-bit:master Dec 16, 2020
use scheme::libra::circuit::Circuit;
use scheme::libra::libra_linear_gkr::LinearGKRProof;

fn prepare_constrcut_circuit<G: Curve>() -> (Vec<G::Fr>, Vec<G::Fr>, Vec<Vec<(u8, usize, usize)>>) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: construct?

use scheme::libra::libra_zk_linear_gkr::ZKLinearGKRProof;
use scheme::libra::params::Parameters;

fn prepare_constrcut_circuit<G: Curve>() -> (Vec<G::Fr>, Vec<G::Fr>, Vec<Vec<(u8, usize, usize)>>) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

constrcut

use scheme::hyrax::hyrax_proof::HyraxProof;
use scheme::hyrax::params::Parameters;

fn hyrax_zk_parallel_gkr() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you briefly explain the form of the circuit and what the circuit describes?

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