pub struct P256Scalar(pub [u8; 32]);Expand description
P-256 (secp256r1) scalar: an integer modulo the curve order n, as 32 big-endian bytes.
Values crossing the driver boundary are canonical, i.e. in [0, n).
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for P256Scalar
impl Clone for P256Scalar
Source§fn clone(&self) -> P256Scalar
fn clone(&self) -> P256Scalar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for P256Scalar
Source§impl Debug for P256Scalar
impl Debug for P256Scalar
impl Eq for P256Scalar
Source§impl Format for P256Scalar
impl Format for P256Scalar
Source§impl From<Scalar> for P256Scalar
impl From<Scalar> for P256Scalar
Source§impl PartialEq for P256Scalar
impl PartialEq for P256Scalar
impl StructuralPartialEq for P256Scalar
Auto Trait Implementations§
impl Freeze for P256Scalar
impl RefUnwindSafe for P256Scalar
impl Send for P256Scalar
impl Sync for P256Scalar
impl Unpin for P256Scalar
impl UnsafeUnpin for P256Scalar
impl UnwindSafe for P256Scalar
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more