Trait rac::Curve[][src]

pub trait Curve where
    Self: LineValid
{ type Scalar: Scalar; type CompressedLength: ArrayLength<u8>; type CoordinateLength: ArrayLength<u8>; const NAME: &'static str; fn base() -> Self;
fn mul_ec(&self, rhs: &Self) -> Self;
fn exp_ec(&self, rhs: &Self::Scalar) -> Self;
fn decompress(packed: &Array<Self::CompressedLength>) -> Result<Self, ()>;
fn compress(&self) -> Array<Self::CompressedLength>;
fn x_coordinate(&self) -> Array<Self::CoordinateLength>; }

Associated Types

Loading content...

Associated Constants

const NAME: &'static str[src]

Loading content...

Required methods

fn base() -> Self[src]

fn mul_ec(&self, rhs: &Self) -> Self[src]

fn exp_ec(&self, rhs: &Self::Scalar) -> Self[src]

fn decompress(packed: &Array<Self::CompressedLength>) -> Result<Self, ()>[src]

fn compress(&self) -> Array<Self::CompressedLength>[src]

fn x_coordinate(&self) -> Array<Self::CoordinateLength>[src]

Loading content...

Implementors

Loading content...