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§
#[repr(transparent)]pub 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.