Trait snarkvm_wasm::data_structures::PCPreparedCommitment[][src]

pub trait PCPreparedCommitment<Unprepared>: Clone where
    Unprepared: PCCommitment
{ fn prepare(commitment: &Unprepared) -> Self; }
Expand description

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

Required methods

fn prepare(commitment: &Unprepared) -> Self[src]

Prepare

Implementors

impl<E> PCPreparedCommitment<Commitment<E>> for snarkvm_wasm::kzg10::PreparedCommitment<E> where
    E: PairingEngine
[src]

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

prepare PreparedCommitment from Commitment

impl<E> PCPreparedCommitment<Commitment<E>> for snarkvm_wasm::marlin_pc::PreparedCommitment<E> where
    E: PairingEngine
[src]

pub fn prepare(commitment: &Commitment<E>) -> PreparedCommitment<E>[src]

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