Type Alias elliptic_curve::scalar::ScalarBits
source · pub type ScalarBits<C> = FieldBits<<Scalar<C> as PrimeFieldBits>::ReprBits>;
Available on crate feature
bits
only.Expand description
Bit representation of a scalar field element of a given curve.
Aliased Type§
struct ScalarBits<C> {
pub _ord: PhantomData<Lsb0>,
pub data: <<C as CurveArithmetic>::Scalar as PrimeFieldBits>::ReprBits,
}
Fields§
§_ord: PhantomData<Lsb0>
The ordering of bits within an A::Store
element.
data: <<C as CurveArithmetic>::Scalar as PrimeFieldBits>::ReprBits
The wrapped data buffer.