pub type Elem<E> = Elem<Q, E>;
Expand description
A field element, i.e. an element of ℤ/qℤ for the curve’s field modulus q.
Aliased Type§
struct Elem<E> {
pub(super) limbs: [u64; 6],
pub(super) m: PhantomData<Q>,
pub(super) encoding: PhantomData<E>,
}
Fields§
§limbs: [u64; 6]
§m: PhantomData<Q>
The modulus m for the ring ℤ/mℤ for which this element is a value.
encoding: PhantomData<E>
The number of Montgomery factors that need to be canceled out from
value
to get the actual value.