Trait PCVerifierKey

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

Defines the minimal interface of verifier 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 verifier 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: Pairing> PCVerifierKey for ark_poly_commit::marlin::marlin_pc::VerifierKey<E>

Source§

impl<E: Pairing> PCVerifierKey for ark_poly_commit::marlin::marlin_pst13_pc::VerifierKey<E>

Source§

impl<E: Pairing> PCVerifierKey for ark_poly_commit::sonic_pc::VerifierKey<E>

Source§

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

Source§

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

Source§

impl<G: AffineRepr> PCVerifierKey for HyraxVerifierKey<G>

Source§

impl<G: AffineRepr> PCVerifierKey for ark_poly_commit::ipa_pc::VerifierKey<G>