Trait ark_poly_commit::data_structures::PCPreparedCommitment[][src]

pub trait PCPreparedCommitment<UNPREPARED: PCCommitment>: Clone {
    fn prepare(comm: &UNPREPARED) -> Self;
}

Defines the minimal interface of prepared commitments for any polynomial commitment scheme.

Required methods

fn prepare(comm: &UNPREPARED) -> Self[src]

prepare

Loading content...

Implementors

impl<E: PairingEngine> PCPreparedCommitment<Commitment<E>> for ark_poly_commit::sonic_pc::PreparedCommitment<E>[src]

fn prepare(comm: &Commitment<E>) -> Self[src]

prepare PreparedCommitment from Commitment

impl<E: PairingEngine> PCPreparedCommitment<Commitment<E>> for ark_poly_commit::marlin::marlin_pc::PreparedCommitment<E>[src]

fn prepare(comm: &Commitment<E>) -> Self[src]

Prepare commitment to a polynomial that optionally enforces a degree bound.

impl<G: AffineCurve> PCPreparedCommitment<Commitment<G>> for ark_poly_commit::ipa_pc::PreparedCommitment<G>[src]

fn prepare(vk: &Commitment<G>) -> Self[src]

prepare PreparedCommitment from Commitment

Loading content...