MCPcopy Create free account
hub / github.com/arkworks-rs/poly-commit / PCUniversalParams

Interface PCUniversalParams

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

Defines the minimal interface for public params for any polynomial commitment scheme.

Source from the content-addressed store, hash-verified

16/// Defines the minimal interface for public params for any polynomial
17/// commitment scheme.
18pub trait PCUniversalParams:
19 Clone + core::fmt::Debug + CanonicalSerialize + CanonicalDeserialize
20{
21 /// Outputs the maximum degree supported by the committer key.
22 fn max_degree(&self) -> usize;
23}
24
25/// Defines the minimal interface of committer keys for any polynomial
26/// commitment scheme.

Callers

nothing calls this directly

Implementers 6

data_structures.rspoly-commit/src/marlin/marlin_pst13_pc
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/kzg10/data_structures.
data_structures.rspoly-commit/src/hyrax/data_structures.

Calls

no outgoing calls

Tested by

no test coverage detected