Trait oberon::inner_types::elliptic_curve::point::DecompactPoint
pub trait DecompactPoint<C>: Sizedwhere
C: Curve,{
// Required method
fn decompact(
x: &GenericArray<u8, <C as Curve>::FieldBytesSize>
) -> CtOption<Self>;
}
Expand description
Decompact an elliptic curve point from an x-coordinate.
Decompaction relies on properties of specially-generated keys but provides a more compact representation than standard point compression.
Required Methods§
fn decompact(
x: &GenericArray<u8, <C as Curve>::FieldBytesSize>
) -> CtOption<Self>
fn decompact( x: &GenericArray<u8, <C as Curve>::FieldBytesSize> ) -> CtOption<Self>
Attempt to decompact an elliptic curve point