Trait PCCommitterKey

Source
pub trait PCCommitterKey:
    Clone
    + Debug
    + CanonicalSerialize
    + CanonicalDeserialize {
    // Required methods
    fn max_degree(&self) -> usize;
    fn supported_degree(&self) -> usize;
}
Expand description

Defines the minimal interface of committer keys for any polynomial commitment scheme.

Required Methods§

Source

fn max_degree(&self) -> usize

Outputs the maximum degree supported by the universal parameters Self was derived from.

Source

fn supported_degree(&self) -> usize

Outputs the maximum degree supported by the committer key.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E, P> PCCommitterKey for ark_poly_commit::marlin::marlin_pst13_pc::CommitterKey<E, P>
where E: Pairing, P: DenseMVPolynomial<E::ScalarField>, P::Point: Index<usize, Output = E::ScalarField>,

Source§

impl<E: Pairing> PCCommitterKey for ark_poly_commit::marlin::marlin_pc::CommitterKey<E>

Source§

impl<E: Pairing> PCCommitterKey for ark_poly_commit::sonic_pc::CommitterKey<E>

Source§

impl<F, C, H> PCCommitterKey for BrakedownPCParams<F, C, H>
where F: PrimeField, C: Config, H: CRHScheme,

Source§

impl<F, C, H> PCCommitterKey for LigeroPCParams<F, C, H>
where F: PrimeField, C: Config, H: CRHScheme,

Source§

impl<G: AffineRepr> PCCommitterKey for ark_poly_commit::ipa_pc::CommitterKey<G>

Source§

impl<G: AffineRepr> PCCommitterKey for HyraxCommitterKey<G>