Type Alias SecretSharingPolynomial

Source
pub type SecretSharingPolynomial = StandardFormPolynomial<MaybeScalar>;
Expand description

Represents the secret-sharing polynomial available to the dealer in its original standard form, composed of a set of scalar coefficients.

Aliased Type§

struct SecretSharingPolynomial {
    pub coefficients: Vec<MaybeScalar>,
}

Fields§

§coefficients: Vec<MaybeScalar>

The ordered set of coefficients, starting with the constant term.

Implementations§

Source§

impl SecretSharingPolynomial

Source

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

Issue a share at the given input x.

Trait Implementations§

Source§

impl Mul<G> for &SecretSharingPolynomial

Source§

type Output = StandardFormPolynomial<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 SecretSharingPolynomial

Source§

type Output = StandardFormPolynomial<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 &SecretSharingPolynomial

Source§

type Output = StandardFormPolynomial<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 SecretSharingPolynomial

Source§

type Output = StandardFormPolynomial<MaybePoint>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more