Struct p256::BlindedScalar
source · pub struct BlindedScalar { /* private fields */ }
Expand description
Scalar blinded with a randomly generated masking value.
This provides a randomly blinded impl of Invert
which is useful for
ECDSA ephemeral (k
) scalars.
Implementations§
source§impl BlindedScalar
impl BlindedScalar
Trait Implementations§
source§impl Borrow<Scalar> for BlindedScalar
impl Borrow<Scalar> for BlindedScalar
source§impl Clone for BlindedScalar
impl Clone for BlindedScalar
source§fn clone(&self) -> BlindedScalar
fn clone(&self) -> BlindedScalar
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Drop for BlindedScalar
impl Drop for BlindedScalar
source§impl Invert for BlindedScalar
impl Invert for BlindedScalar
Auto Trait Implementations§
impl RefUnwindSafe for BlindedScalar
impl Send for BlindedScalar
impl Sync for BlindedScalar
impl Unpin for BlindedScalar
impl UnwindSafe for BlindedScalar
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