Skip to main content

CurveKeys

Type Alias CurveKeys 

Source
pub type CurveKeys<C, M> = PairwiseAuthKey<ScalarAsExtension<C>, CurvePoints<C, M>>;
Expand description

PairwiseAuthKey for M curve points.

Aliased Type§

#[repr(C)]
pub struct CurveKeys<C, M> { pub alpha: Arc<FieldElement<<C as Curve>::Scalar>>, pub beta: HeapArray<Point<C>, M>, }

Fields§

§alpha: Arc<FieldElement<<C as Curve>::Scalar>>§beta: HeapArray<Point<C>, M>

Trait Implementations§

Source§

impl<C: Curve, M: Positive> From<PairwiseAuthKey<FieldElement<<C as Curve>::Scalar>, HeapArray<FieldElement<<C as Curve>::Scalar>, M>>> for CurveKeys<C, M>

Source§

fn from(scalar_key: ScalarKeys<C, M>) -> Self

Converts to this type from the input type.