Trait elliptic_curve::Order[][src]

pub trait Order: Curve {
    type Limbs: AsRef<[u64]> + Copy + Debug;

    const ORDER: Self::Limbs;
}

Order of an elliptic curve group.

This trait is available even when the arithmetic feature of the crate is disabled and does not require any additional crate dependencies.

This trait is useful for supporting a baseline level of functionality across curve implementations, even ones which do not provide a field arithmetic backend.

Associated Types

type Limbs: AsRef<[u64]> + Copy + Debug[src]

Type representing the “limbs” of the curves group’s order on 64-bit platforms.

Loading content...

Associated Constants

const ORDER: Self::Limbs[src]

Order constant (a.k.a. N).

Subdivided into either 32-bit or 64-bit “limbs” (depending on the target CPU’s word size), specified from least to most significant.

Loading content...

Implementors

Loading content...