pub trait DecompactPoint<C: Curve>: Sized {
// Required method
fn decompact(x: &FieldBytes<C>) -> 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§
Sourcefn decompact(x: &FieldBytes<C>) -> CtOption<Self>
fn decompact(x: &FieldBytes<C>) -> CtOption<Self>
Attempt to decompact an elliptic curve point
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.