Skip to main content

CurveKey

Type Alias CurveKey 

Source
pub type CurveKey<C> = PairwiseAuthKey<ScalarAsExtension<C>, Point<C>>;
Expand description

PairwiseAuthKey for a single curve point.

Aliased Type§

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

Fields§

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

Trait Implementations§

Source§

impl<C: Curve> From<PairwiseAuthKey<FieldElement<<C as Curve>::Scalar>, FieldElement<<C as Curve>::Scalar>>> for CurveKey<C>

Source§

fn from(scalar_key: ScalarKey<C>) -> Self

Converts to this type from the input type.