Defines the minimal interface of committer keys for any polynomial commitment scheme.
| 25 | /// Defines the minimal interface of committer keys for any polynomial |
| 26 | /// commitment scheme. |
| 27 | pub 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. |
nothing calls this directly
no outgoing calls
no test coverage detected