Trait snarkvm_polycommit::data_structures::PCCommitterKey [−][src]
pub trait PCCommitterKey: CanonicalSerialize + CanonicalDeserialize + Clone + Debug { 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
fn max_degree(&self) -> usize
[src]
fn max_degree(&self) -> usize
[src]Outputs the maximum degree supported by the universal parameters
Self
was derived from.
fn supported_degree(&self) -> usize
[src]
fn supported_degree(&self) -> usize
[src]Outputs the maximum degree supported by the committer key.
Implementors
impl<E: PairingEngine> PCCommitterKey for snarkvm_polycommit::marlin_pc::CommitterKey<E>
[src]
impl<E: PairingEngine> PCCommitterKey for snarkvm_polycommit::marlin_pc::CommitterKey<E>
[src]impl<E: PairingEngine> PCCommitterKey for snarkvm_polycommit::sonic_pc::CommitterKey<E>
[src]
impl<E: PairingEngine> PCCommitterKey for snarkvm_polycommit::sonic_pc::CommitterKey<E>
[src]