Skip to main content

PointShare

Type Alias PointShare 

Source
pub type PointShare<C> = PairwiseAuthShare<Point<C>, ScalarAsExtension<C>, Point<C>>;
Expand description

A share of a single point on a curve, with its associated MACs and the keys for all other parties’ shares.

Alias for PairwiseAuthShare<Point<C>, ScalarAsExtension<C>, Point<C>>. See also PointShares<C, M> for the batched variant.

Aliased Type§

pub struct PointShare<C> { /* private fields */ }

Trait Implementations§

Source§

impl<C: Curve> From<PairwiseAuthShare<SubfieldElement<<C as Curve>::Scalar>, FieldElement<<C as Curve>::Scalar>, FieldElement<<C as Curve>::Scalar>>> for PointShare<C>

Source§

fn from(scalar_share: ScalarShare<C>) -> Self

Converts to this type from the input type.