MCPcopy Index your code
hub / github.com/arkworks-rs/poly-commit / PCCommitterKey

Interface PCCommitterKey

poly-commit/src/data_structures.rs:27–36  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

25/// Defines the minimal interface of committer keys for any polynomial
26/// commitment scheme.
27pub trait PCCommitterKey:
28 Clone + core::fmt::Debug + CanonicalSerialize + CanonicalDeserialize
29{
30 /// Outputs the maximum degree supported by the universal parameters
31 /// `Self` was derived from.
32 fn max_degree(&self) -> usize;
33
34 /// Outputs the maximum degree supported by the committer key.
35 fn supported_degree(&self) -> usize;
36}
37
38/// Defines the minimal interface of verifier keys for any polynomial
39/// commitment scheme.

Callers

nothing calls this directly

Implementers 7

data_structures.rspoly-commit/src/marlin/marlin_pst13_pc
data_structures.rspoly-commit/src/marlin/marlin_pc/data_
ligero.rspoly-commit/src/linear_codes/ligero.rs
brakedown.rspoly-commit/src/linear_codes/brakedown
data_structures.rspoly-commit/src/ipa_pc/data_structures
data_structures.rspoly-commit/src/sonic_pc/data_structur
data_structures.rspoly-commit/src/hyrax/data_structures.

Calls

no outgoing calls

Tested by

no test coverage detected