Trait ethers::core::k256::elliptic_curve::weierstrass::DecompressPoint [−][src]
pub trait DecompressPoint<C> where
C: Curve, {
fn decompress(
x: &GenericArray<u8, <<C as Curve>::UInt as ArrayEncoding>::ByteSize>,
y_is_odd: Choice
) -> CtOption<Self>;
}
Expand description
Attempt to decompress an elliptic curve point from its x-coordinate and a boolean flag indicating whether or not the y-coordinate is odd.
Required methods
fn decompress(
x: &GenericArray<u8, <<C as Curve>::UInt as ArrayEncoding>::ByteSize>,
y_is_odd: Choice
) -> CtOption<Self>
fn decompress(
x: &GenericArray<u8, <<C as Curve>::UInt as ArrayEncoding>::ByteSize>,
y_is_odd: Choice
) -> CtOption<Self>
Attempt to decompress an elliptic curve point.