Trait snarkvm_wasm::data_structures::PCCommitment [−][src]
Defines the minimal interface of commitments for any polynomial commitment scheme.
Required methods
pub fn empty() -> Self[src]
Outputs a non-hiding commitment to the zero polynomial.
pub fn has_degree_bound(&self) -> bool[src]
Does this commitment have a degree bound?
pub fn is_in_correct_subgroup_assuming_on_curve(&self) -> bool[src]
Does this commitment’s affine belong to the correct subgroup?
Implementors
impl<E> PCCommitment for snarkvm_wasm::kzg10::Commitment<E> where
E: PairingEngine, [src]
E: PairingEngine,
pub fn empty() -> Commitment<E>[src]
pub fn has_degree_bound(&self) -> bool[src]
pub fn is_in_correct_subgroup_assuming_on_curve(&self) -> bool[src]
impl<E> PCCommitment for snarkvm_wasm::marlin_pc::Commitment<E> where
E: PairingEngine, [src]
E: PairingEngine,