[][src]Trait group::Curve

pub trait Curve: Group + GroupOps<Self::AffineRepr> + GroupOpsOwned<Self::AffineRepr> {
    type AffineRepr;
    pub fn to_affine(&self) -> Self::AffineRepr;

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

Efficient representation of an elliptic curve point guaranteed.

Associated Types

type AffineRepr[src]

The affine representation for this elliptic curve.

Loading content...

Required methods

pub fn to_affine(&self) -> Self::AffineRepr[src]

Converts this element into its affine representation.

Loading content...

Provided methods

pub fn batch_normalize(p: &[Self], q: &mut [Self::AffineRepr])[src]

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

Loading content...

Implementors

Loading content...