pub type InterpolatedPointPolynomial = LagrangePolynomial<MaybeScalar, MaybePoint>;Expand description
Represents a point-sharing polynomial interpolated from a set of shares.
Aliased Type§
pub struct InterpolatedPointPolynomial {
pub evaluations: Vec<Evaluation<MaybeScalar, MaybePoint>>,
}Fields§
§evaluations: Vec<Evaluation<MaybeScalar, MaybePoint>>Implementations§
Source§impl InterpolatedPointPolynomial
impl InterpolatedPointPolynomial
Issue a share at the given input x.
Source§impl InterpolatedPointPolynomial
impl InterpolatedPointPolynomial
Sourcepub fn derive_secret(&self, x: MaybeScalar) -> [u8; 32]
pub fn derive_secret(&self, x: MaybeScalar) -> [u8; 32]
Derive a secret c by hashing the output point produced by
evaluating the polynomial on x.