pub trait AffineCoordinates {
    type FieldRepr: AsRef<[u8]>;

    // Required methods
    fn x(&self) -> Self::FieldRepr;
    fn y_is_odd(&self) -> Choice;
}
Expand description

Access to the affine coordinates of an elliptic curve point.

Required Associated Types§

source

type FieldRepr: AsRef<[u8]>

Field element representation.

Required Methods§

source

fn x(&self) -> Self::FieldRepr

Get the affine x-coordinate as a serialized field element.

source

fn y_is_odd(&self) -> Choice

Is the affine y-coordinate odd?

Implementors§