Trait group::Curve

source ·
pub trait Curve: Group + GroupOps<Self::AffineRepr> + GroupOpsOwned<Self::AffineRepr> {
    type AffineRepr;

    fn to_affine(&self) -> Self::AffineRepr;

    fn batch_normalize(p: &[Self], q: &mut [Self::AffineRepr]) { ... }
}
Expand description

Efficient representation of an elliptic curve point guaranteed.

Required Associated Types§

The affine representation for this elliptic curve.

Required Methods§

Converts this element into its affine representation.

Provided Methods§

Converts a batch of projective elements into affine elements. This function will panic if p.len() != q.len().

Implementors§