Trait snarkvm_polycommit::data_structures::PCPreparedCommitment [−][src]
pub trait PCPreparedCommitment<Unprepared: PCCommitment>: Clone { fn prepare(commitment: &Unprepared) -> Self; }
Expand description
Defines the minimal interface of prepared commitments for any polynomial commitment scheme.
Required methods
Implementors
impl<E: PairingEngine> PCPreparedCommitment<Commitment<E>> for snarkvm_polycommit::sonic_pc::PreparedCommitment<E>
[src]
impl<E: PairingEngine> PCPreparedCommitment<Commitment<E>> for snarkvm_polycommit::sonic_pc::PreparedCommitment<E>
[src]fn prepare(comm: &Commitment<E>) -> Self
[src]
fn prepare(comm: &Commitment<E>) -> Self
[src]prepare PreparedCommitment
from Commitment
impl<E: PairingEngine> PCPreparedCommitment<Commitment<E>> for snarkvm_polycommit::marlin_pc::PreparedCommitment<E>
[src]
impl<E: PairingEngine> PCPreparedCommitment<Commitment<E>> for snarkvm_polycommit::marlin_pc::PreparedCommitment<E>
[src]fn prepare(commitment: &Commitment<E>) -> Self
[src]
fn prepare(commitment: &Commitment<E>) -> Self
[src]Prepare commitment to a polynomial that optionally enforces a degree bound.