Skip to content

Commit

Permalink
feat: Add co-zeromorph to co-ultrahonk (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
rw0x0 authored and dkales committed Oct 3, 2024
1 parent be44986 commit e7df56e
Show file tree
Hide file tree
Showing 9 changed files with 899 additions and 97 deletions.
19 changes: 19 additions & 0 deletions co-noir/co-ultrahonk/src/co_decider/co_zeromorph/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
pub(crate) mod prover;
pub(crate) mod types;

use super::polynomial::SharedPolynomial;
use ark_ec::pairing::Pairing;
use ark_ff::PrimeField;
use mpc_core::traits::PrimeFieldMpcProtocol;

pub(crate) struct ZeroMorphOpeningClaim<T, P: Pairing>
where
T: PrimeFieldMpcProtocol<P::ScalarField>,
{
pub(crate) polynomial: SharedPolynomial<T, P>,
pub(crate) opening_pair: OpeningPair<P::ScalarField>,
}

pub(crate) struct OpeningPair<F: PrimeField> {
pub(crate) challenge: F,
pub(crate) evaluation: F,
}
Loading

0 comments on commit e7df56e

Please sign in to comment.