Type Alias p256::ScalarBits
source · pub type ScalarBits = ScalarBits<NistP256>;
Available on crate feature
bits
only.Expand description
Bit representation of a NIST P-256 scalar field element.
Aliased Type§
struct ScalarBits {
pub _ord: PhantomData<Lsb0>,
pub data: [u64; 4],
}
Fields§
§_ord: PhantomData<Lsb0>
The ordering of bits within an A::Store
element.
data: [u64; 4]
The wrapped data buffer.
Trait Implementations§
source§impl From<&Scalar> for ScalarBits
Available on crate feature arithmetic
only.
impl From<&Scalar> for ScalarBits
Available on crate feature
arithmetic
only.source§fn from(scalar: &Scalar) -> ScalarBits
fn from(scalar: &Scalar) -> ScalarBits
Converts to this type from the input type.