Trait ethers::core::k256::elliptic_curve::weierstrass::DecompactPoint [−][src]
pub trait DecompactPoint<C> where
C: Curve, {
fn decompact(
x: &GenericArray<u8, <<C as Curve>::UInt as ArrayEncoding>::ByteSize>
) -> CtOption<Self>;
}
Expand description
Attempt to decompact an elliptic curve point from an x-coordinate
Required methods
fn decompact(
x: &GenericArray<u8, <<C as Curve>::UInt as ArrayEncoding>::ByteSize>
) -> CtOption<Self>
fn decompact(
x: &GenericArray<u8, <<C as Curve>::UInt as ArrayEncoding>::ByteSize>
) -> CtOption<Self>
Attempt to decompact an elliptic curve point