Trait elliptic_curve::Order[][src]

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

    const ORDER: Self::Limbs;
}
Expand description

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]

Expand description

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

Associated Constants

const ORDER: Self::Limbs[src]

Expand description

Order constant.

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

Implementors