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

Interface PCVerifierKey

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

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

Source from the content-addressed store, hash-verified

38/// Defines the minimal interface of verifier keys for any polynomial
39/// commitment scheme.
40pub trait PCVerifierKey:
41 Clone + core::fmt::Debug + CanonicalSerialize + CanonicalDeserialize
42{
43 /// Outputs the maximum degree supported by the universal parameters
44 /// `Self` was derived from.
45 fn max_degree(&self) -> usize;
46
47 /// Outputs the maximum degree supported by the verifier key.
48 fn supported_degree(&self) -> usize;
49}
50
51/// Defines the minimal interface of prepared verifier keys for any polynomial
52/// 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