InterpolatedSecretPolynomial

Type Alias InterpolatedSecretPolynomial 

Source
pub type InterpolatedSecretPolynomial = LagrangePolynomial<MaybeScalar, MaybeScalar>;
Expand description

Represents a secret-sharing polynomial interpolated from a set of shares.

Aliased Type§

pub struct InterpolatedSecretPolynomial {
    pub evaluations: Vec<Evaluation<MaybeScalar, MaybeScalar>>,
}

Fields§

§evaluations: Vec<Evaluation<MaybeScalar, MaybeScalar>>

Implementations§

Source§

impl InterpolatedSecretPolynomial

Source

pub fn issue_share(&self, x: MaybeScalar) -> SecretShare

Issue a share at the given input x.

Trait Implementations§

Source§

impl Mul<G> for &InterpolatedSecretPolynomial

Source§

type Output = LagrangePolynomial<MaybeScalar, MaybePoint>

The resulting type after applying the * operator.
Source§

fn mul(self, _: G) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<G> for InterpolatedSecretPolynomial

Source§

type Output = LagrangePolynomial<MaybeScalar, MaybePoint>

The resulting type after applying the * operator.
Source§

fn mul(self, _: G) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Point> for &InterpolatedSecretPolynomial

Source§

type Output = LagrangePolynomial<MaybeScalar, MaybePoint>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Point) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Point> for InterpolatedSecretPolynomial

Source§

type Output = LagrangePolynomial<MaybeScalar, MaybePoint>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Point) -> Self::Output

Performs the * operation. Read more