Defines the minimal interface of verifier keys for any polynomial commitment scheme.
| 38 | /// Defines the minimal interface of verifier keys for any polynomial |
| 39 | /// commitment scheme. |
| 40 | pub 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. |
nothing calls this directly
no outgoing calls
no test coverage detected