PreparedCommitment

Type Alias PreparedCommitment 

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

PreparedCommitment is the prepared commitment for the KZG10 scheme.

Aliased Type§

pub struct PreparedCommitment<E>(pub Vec<<E as Pairing>::G1Affine>);

Tuple Fields§

§0: Vec<<E as Pairing>::G1Affine>

The commitment is a group element.

Trait Implementations§

Source§

impl<E: Pairing> PCPreparedCommitment<Commitment<E>> for PreparedCommitment<E>

Source§

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

prepare PreparedCommitment from Commitment