pub struct P384Scalar(pub [u8; 48]);Expand description
P-384 (secp384r1) scalar: an integer modulo the curve order n, as 48 big-endian bytes.
Values crossing the driver boundary are canonical, i.e. in [0, n).
Tuple Fields§
§0: [u8; 48]Trait Implementations§
Source§impl Clone for P384Scalar
impl Clone for P384Scalar
Source§fn clone(&self) -> P384Scalar
fn clone(&self) -> P384Scalar
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 P384Scalar
Source§impl Debug for P384Scalar
impl Debug for P384Scalar
impl Eq for P384Scalar
Source§impl Format for P384Scalar
impl Format for P384Scalar
Source§impl From<Scalar> for P384Scalar
impl From<Scalar> for P384Scalar
Source§impl PartialEq for P384Scalar
impl PartialEq for P384Scalar
impl StructuralPartialEq for P384Scalar
Auto Trait Implementations§
impl Freeze for P384Scalar
impl RefUnwindSafe for P384Scalar
impl Send for P384Scalar
impl Sync for P384Scalar
impl Unpin for P384Scalar
impl UnsafeUnpin for P384Scalar
impl UnwindSafe for P384Scalar
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