PreparedCommitment

Type Alias PreparedCommitment 

Source
pub type PreparedCommitment<E> = Commitment<E>;
Expand description

Nothing to do to prepare this commitment (for now).

Aliased Type§

pub struct PreparedCommitment<E> {
    pub comm: E,
    pub shifted_comm: Option<E>,
}

Fields§

§comm: E

A Pedersen commitment to the polynomial.

§shifted_comm: Option<E>

A Pedersen commitment to the shifted polynomial. This is none if the committed polynomial does not enforce a strict degree bound.

Trait Implementations§

Source§

impl<G: AffineRepr> PCPreparedCommitment<Commitment<G>> for PreparedCommitment<G>

Source§

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

prepare PreparedCommitment from Commitment